nethserver-netdata

Basic configuration for netdata. nethserver-cockpit package access netadata on http://localhost:19999 and uses the data to graph system statistics.

Do not change listening port otherwise Cockpit will not be able to access netdata.

Configuration DB

Properties:

  • Bind: bind IP addess, default to localhost
  • Alarms: can be enabled or disabled. Default to disabled to avoid unwanted mail to root user
  • Plugins: a comma-separated list of key and value for standard plugins. Example: tc:yes,charts.d:yes
  • PythonPlugins: a comma-separated list of key and value for python plugins. Example: apache:yes,sensors:no

Please be careful when changing Plugins and PythonPlugins properties, because some plugins are used by Cockpit to create charts inside multiple pages.

Database example:

netdata=service
   Alarms=disabled
   Bind=localhost
   TCPPort=19999
   access=
   Plugins=proc:yes,tc:yes,charts.d:yes,python.d:yes,idlejitter:no,cgroups:no,checks:no,apps:no,node.d:no
   PythonPlugins=apache:yes,sensors:yes
   status=enabled

Access from LAN

To enable the access from LAN, execute the following:

config setprop netdata Bind 0.0.0.0 access green
signal-event nethserver-netdata-update
signal-event firewall-adjust

Access netdata from http://<server_green_ip>:19999.