OPNsense Forum

English Forums => 24.7, 24.10 Legacy Series => Topic started by: ChrisC on November 24, 2024, 10:35:06 PM

Title: Installed netdata plugin and I can't start the service
Post by: ChrisC on November 24, 2024, 10:35:06 PM
Hi everyone, maybe similar to this thread: https://forum.opnsense.org/index.php?topic=43478.msg216296#msg216296
I have upgraded opnsense to 24.7.9 from various previous versions, and never used netdata.

I installed it tonight, and got the following output:

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***


And assume I need to do those commands, which I did.
there is now a line in /etc/rc.conf, saying
netdata_enable="YES"
(there was nothing in that file before), but when I try and start the service, i get the following:

root@OPNsense:/var/log/system # service netdata start
Cannot 'start' netdata. Set netdata_enable to YES in /etc/rc.conf or use 'onestart' instead of 'start'.

Any ideas what I need to do?
Thanks!
Title: Re: Installed netdata plugin and I can't start the service
Post by: ChrisC on November 24, 2024, 10:47:36 PM
Never mind, there's a new section under Services called NetData, and you have to enable it :)
Title: Re: Installed netdata plugin and I can't start the service
Post by: Patrick M. Hausen on November 24, 2024, 11:03:40 PM
See this post of mine:

https://forum.opnsense.org/index.php?topic=43996.msg219308#msg219308

The messages about "sysrc" and "service netdata start" are from the FreeBSD package and completely irrelevant on OPNsense.

HTH,
Patrick