Hi,
I've installed netdata and followed the on screen instructions but they do not seem to work.
I've tried things in other posts to no avail, but they were for versions older than 23.7.3.
I've also set netdata_enable="YES" in /etc/rc.conf.d/netdata and that results in it starting but it does not survive a reboot.
I'm not quite sure what other info I can give that will help you help me but here's some output with the instructions I've followed,
Quick start for local-only use:
1. sysrc netdata_enable="YES"
2. service netdata start
3. Go to http://localhost:19999/
4. <Optional> Connect to Netdata Cloud using the netdata-claim.sh script:
https://learn.netdata.cloud/docs/agent/claim#claiming-script
# sysrc netdata_enable="YES"
netdata_enable: -> YES
# service netdata start
Cannot 'start' netdata. Set netdata_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.
# vi /etc/rc.conf.d/netdata
# service netdata start
Starting netdata.
# service netdata status
netdata is running as pid 65602 65766.
Thank you,
Jiffy
Did you install the os-netdata plugin through the UI (System > Firmware > Plugins) or did you use pkg install? OPNsense is not a standard FreeBSD and specifically the rc system does not work the way you expect it to.
I've installed it both ways with the same results.
1. Install via System > Firmware > Plugins.
2. Ignore the package message - it does not apply to OPNsense, it's just the standard message as created by the FreeBSD package maintainer.
3. Refresh the UI page in your browser.
4. Navigate to Services > Netdata, set the listen address to 0.0.0.0 and enable the service.
5. Navigate to http://<ip of your OPNsense on LAN>:19999
HTH,
Patrick
P.S. The plugin install screen quite explicitly states:
QuoteOutput shown here for diagnostic purposes. There is no general need for manual system intervention.
Well, that was it, thank you!
I followed the directions in the web browser about doing this and never thought to look under services.
Message from netdata-1.40.1_1:
--
Quick start for local-only use:
1. sysrc netdata_enable="YES"
2. service netdata start
3. Go to http://localhost:19999/
4. <Optional> Connect to Netdata Cloud using the netdata-claim.sh script:
https://learn.netdata.cloud/docs/agent/claim#claiming-script
Checking integrity... done (0 conflicting)
Nothing to do.
***DONE***
Working now, thank you very much.
Jiffy