[HOWTO]monitoring the system and network by netdata @pfSense Plus
-
@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.
-
@jriffle73 How did you restore the pfSense version of pkg?
-
@shift disable the freebsd repo again, then pkg-static install -f pkg
-
@jriffle73 Thank you - it is a pity that Netdata cannot be installed under pfSense plus. Or did you made progress?
-
@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.
-
@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... -
@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..
-
@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.
-
@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.
-
Has there been any progress with installing netdata without breaking pfSense?