Closed william-vn closed 1 year ago
This is unfortunately a known limitation of the packages provided by FreeBSD and pfSense.
If you can run either a Docker container or a Linux system (or possibly set up a FreeBSD Jail with their Linux compatibility layer), you may be able to work around this limitation by streaming from the pfSense node and connecting the parent node to the Cloud. I’m not 100% certain if this will work or not though.
Thanks @Ferroin . I also have another workaround for this problem: Install Freebsd on another machine (use version of freebsd same as the OS that pfsense running) --> compile netdata from source code --> copy compiled netdata (/opt/netdata) to pfsense --> list all of necessary libraries for netdata, using this command: ldd /opt/netdata/usr/sbin/netdata --> copy listed libraries to pfsense --> copy the service script of netdata ( /usr/local/etc/rc.d/netdata)to pfsense --> start netdata service on pfsense --> finally, config netdata register to cloud.
I've tried to this workaround successfully , now I am able to connect netdata cloud from agent. But I am not sure it work well later or not.
The netdata package on FreeBSD has recently been updated to include the cloud option by default - noting that this still needs to be manually enabled using the netdata-claim.sh script after install. The new packages should be available online with this in a few days.
https://cgit.freebsd.org/ports/commit/net-mgmt/netdata?id=b02e58aec16fdae73cb59554d37d592ec36100bb
https://cgit.freebsd.org/ports/commit/net-mgmt/netdata?id=14e7c1f66098b410e01eab023859a81dee673e6f
@woodsb02 thank you for this! Much appreciated.
@william-vn willing to test what @woodsb02 posted and let us know?
Thanks!
good news. thanks @woodsb02 . I will test and let you know.
Any idea what it would take to work with netgate and have this available in the PFSense's Built in Package Manager? I see competitor Zabbix has a variety of packages...
Any idea what it would take to work with netgate and have this available in the PFSense's Built in Package Manager? I see competitor Zabbix has a variety of packages...
PfSense already uses the FreeBSD ports tree to build their packages, so the main effort that would be required would be to develop the PHP code to integrate configuration, service management, status monitoring and log viewing into the Pfsense web gui.
Equivalent code for the pfsense-zabbix-agent package can be found in the “files” directory here
Hi @woodsb02 @MrZammler , I've installed netdata agent (with cloud functionality) on Pfsense successfully. now cloud feature of pfsense was enabled on pfsense.
Thank you very much !!!
Bug description
I've just installed netdata on pfsense, the installation was successful. I install using "pkg install netdata" I am abe to access local dashboard:
but, I don't see any option/feature to connect to cloud from Dashboard. Seemingly, cloud functionality was get disabled during installation automatically.
Expected behavior
Want netdata agent connect to cloud
Steps to reproduce
Installation method
other
System info
Netdata build info
Additional info
error.log access.log