netdata was recently updated to 1.42.2 in the FreeBSD ports collection. The sample configuration file needs some adjustment.

Remember to add

run as user = netdata

to the [global] section. Otherwise, netdata will run as the user nobody, which hasn’t been given the necessary permissions.

If you want to monitor ipfw(4), you must run netdata as root

run as user = root

It might be wise to keep netdata_user in /etc/rc.conf in sync with the main configuration file.

Also, you need to add /v1 after the port number in the URL to get the old dashboard.

Here’s my FreeBSD specific customization:

[plugins]
	freebsd = yes

[plugin:freebsd:getifaddrs]
	disable by default interfaces matching =
	set physical interfaces for system.net = ae* age* alc* ale* axp* bce* bfe* bge* bnxt* bxe* cas* cc* cxgb* cxgbe* cxl* dc* em* et* fxp* gem* iavf* ice* igb* igc* ix* ixgbe* ixl* ixlv* ixv* jme* le* lge* lio* msk* mlx5en* msk* my* nfe* nge* oce* ql* re* rl* sge* sk* ste* stge* ti* vge* mx* vr* vte* vtnet* wlan* xl* xn*

[plugin:freebsd:getifaddrs:lo0]
	enabled = yes

I noticed the swap metric is no longer shown at the top left of System Overview.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>