Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    [HOWTO]monitoring the system and network by netdata @pfSense Plus

    Scheduled Pinned Locked Moved Traffic Monitoring
    12 Posts 5 Posters 3.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • insmodI
      insmod
      last edited by insmod

      Now,pfSense 2.7 based FreeBSD 14,so we can install netdata in 2.7 too.
      I use the new way to install netdata bypass the version number problem.

      1.enable the FreeBSD pkg

      perl -p -i -e 's/no/yes/g' /usr/local/etc/pkg/repos/FreeBSD.conf
      perl -p -i -e 's/no/yes/g'  /usr/local/etc/pkg/repos/pfSense.conf 
      

      2.install netdata from FreeBSD pkg

      echo y | pkg install netdata netdata-go
      
      
      1 Reply Last reply Reply Quote 0
      • J
        jriffle73 @insmod
        last edited by

        @insmod Any chance there are updated instructions for the current 23.05.1 pfsense. these instructions break something in 'pkg' and caused this error for me.

        ld-elf.so.1: Shared object "libssl.so.30" not found, required by "pkg"

        I was able to restore the pfsense version of pkg and no longer get the error.

        S 1 Reply Last reply Reply Quote 0
        • S
          shift @jriffle73
          last edited by

          @jriffle73 How did you restore the pfSense version of pkg?

          J 1 Reply Last reply Reply Quote 0
          • J
            jriffle73 @shift
            last edited by

            @shift disable the freebsd repo again, then pkg-static install -f pkg

            S 1 Reply Last reply Reply Quote 0
            • S
              shift @jriffle73
              last edited by

              @jriffle73 Thank you - it is a pity that Netdata cannot be installed under pfSense plus. Or did you made progress?

              johnpozJ 1 Reply Last reply Reply Quote 0
              • johnpozJ
                johnpoz LAYER 8 Global Moderator @shift
                last edited by johnpoz

                @shift that version of pkg prob needs openssl 3, but pfsense is currently only using

                [23.05.1-RELEASE][admin@sg4860.local.lan]/root: openssl version
                OpenSSL 1.1.1t-freebsd  7 Feb 2023
                

                edit: just fired up 2.7 vm and it shows same.. Why are you updating the actual pkg package?

                Not really a fan of adding non approved pfsense packages direct from freebsd.. But it should work - I see nothing in the netdata info about updating the pkg package.

                https://learn.netdata.cloud/docs/installing/pfsense

                Per this

                https://forum.netgate.com/post/1127124

                I would pull the specific individual packages vs adding the freebsd repo

                edit2: if I get a chance today I will fire up a 23.05.01 vm and test..

                edit3: ok tried this - I wouldn't go down this path.. Ran into issue with py39-certifi-2023.5.7, there is a newer version 2023.7.22, and couldn't find it to just manually download (i didn't look real hard) - and once you enable the freebsd repo it wants to update the pkg package..

                If there is some one off sort of package you want to install, sure ok - but this has so many requirements to get going. Its quite possible you could break pfsense normal pkg management, etc.. I wouldn't suggest you install this on 2.7 or plus.. And if you were going to jump through the hoops to get it installed - sure wouldn't do it on any sort of production pfsense. Playing with it on some lab install have fun.. But if you actually use your pfsense for your normal connection, I wouldn't do it.

                An intelligent man is sometimes forced to be drunk to spend time with his fools
                If you get confused: Listen to the Music Play
                Please don't Chat/PM me for help, unless mod related
                SG-4860 24.11 | Lab VMs 2.8, 24.11

                S 1 Reply Last reply Reply Quote 0
                • S
                  shift @johnpoz
                  last edited by

                  @johnpoz We are using pfSense plus from the Azure Marketplace. If I activate the Freebsd repos any pkg install first wants to update pkg itself. And if I do this pkg command for pfSense is broken. All other instructions to install netdata runs into this. Maybe a pkg-static would help...

                  johnpozJ S 2 Replies Last reply Reply Quote 0
                  • johnpozJ
                    johnpoz LAYER 8 Global Moderator @shift
                    last edited by

                    @shift said in [HOWTO]monitoring the system and network by netdata @pfSense Plus:

                    And if I do this pkg command for pfSense is broken.

                    Exactly - which is why I wouldn't do it ;)

                    I was able to install the first package on the list just directly, json-c-0.15_1, well the newer version json-c-0.16

                    Like I said if you had a one off sort of package to install - prob not that big of a deal. But there are so many requirements for this netdata to work.. I would not suggest trying to get it to work on anything other than some lab version of pfsense, that you don't care if you break..

                    An intelligent man is sometimes forced to be drunk to spend time with his fools
                    If you get confused: Listen to the Music Play
                    Please don't Chat/PM me for help, unless mod related
                    SG-4860 24.11 | Lab VMs 2.8, 24.11

                    1 Reply Last reply Reply Quote 0
                    • S
                      shift @shift
                      last edited by

                      @shift Yes, thank you. We have a Zabbix Agent running on our pfSense box which provides a monitoring which is satisfying. Currently evaluate Netdata which seems to have a more modern approach. Maybe we run with both for the time being.

                      johnpozJ 1 Reply Last reply Reply Quote 0
                      • johnpozJ
                        johnpoz LAYER 8 Global Moderator @shift
                        last edited by

                        @shift don't get me wrong the netdata is pretty slick, I have played with it before on just linux boxes.. But until such time that is approved by the pfsense developers and added to the pfsense repo/packages to just install I would be leery of installing it by hand. I could for sure break pfsense pkg management, and "worse case" open up some security issue.

                        Installing anything on your pfsense box that is not part of the pfsense pkg management system comes with risks of breaking something.

                        An intelligent man is sometimes forced to be drunk to spend time with his fools
                        If you get confused: Listen to the Music Play
                        Please don't Chat/PM me for help, unless mod related
                        SG-4860 24.11 | Lab VMs 2.8, 24.11

                        1 Reply Last reply Reply Quote 2
                        • R
                          raidflex
                          last edited by

                          Has there been any progress with installing netdata without breaking pfSense?

                          1 Reply Last reply Reply Quote 0
                          • First post
                            Last post
                          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.