Netdata management and configuration cheatsheet
Use our management & configuration cheatsheet to simplify your interactions with Netdata, including configuration, using charts, managing the daemon, and more.
Install Netdataβ
Install Netdataβ
wget -O /tmp/netdata-kickstart.sh https://my-netdata.io/kickstart.sh && sh /tmp/netdata-kickstart.sh
Or, if you have cURL but not wget (such as on macOS):
curl https://my-netdata.io/kickstart.sh > /tmp/netdata-kickstart.sh && sh /tmp/netdata-kickstart.sh
Claim a node to Netdata Cloudβ
To do so, sign in to Netdata Cloud, click the Claim Nodes
button, choose the War Rooms
to add nodes to, then click Copy
to copy the full script to your clipboard. Paste that into your nodeβs terminal and run it.
Metrics collection & retentionβ
You can tweak your settings in the netdata.conf file. π Find your netdata.conf file
Open a new terminal and navigate to the netdata.conf file. Use the edit-config script to make changes: sudo ./edit-config netdata.conf
The most popular settings to change are:
Increase metrics retention (4GiB)β
sudo ./edit-config netdata.conf
[global]
dbengine multihost disk space = 4096
Reduce the collection frequency (every 5 seconds)β
sudo ./edit-config netdata.conf
[global]
update every = 5
Enable/disable plugins (groups of collectors)β
sudo ./edit-config netdata.conf
[plugins]
go.d = yes # enabled
node.d = no # disabled
Enable/disable specific collectorsβ
sudo ./edit-config go.d.conf
Or python.d.conf, node.d.conf, edbpf.conf, and so on
.
modules:
activemq: no # disabled
bind: no # disabled
cockroachdb: yes # enabled
Edit a collector's config (example)β
$ sudo ./edit-config go.d/mysql.conf
$ sudo ./edit-config ebpf.conf
$ sudo ./edit-config python.d/anomalies.conf
Configurationβ
The Netdata config directory: /etc/netdata
β
If you don't have such a directory: π Find your netdata.conf file The cheatsheet assumes youβre running all commands from within the Netdata config directory!
Edit Netdata's main config file: $ sudo ./edit-config netdata.conf
β
Edit Netdata's other config files (examples):β
$ sudo ./edit-config apps_groups.conf
$ sudo ./edit-config ebpf.conf
$ sudo ./edit-config health.d/load.conf
$ sudo ./edit-config go.d/prometheus.conf
View the running Netdata configuration: http://NODE:19999/netdata.conf
β
Replace
NODE
with the IP address or hostname of your node. Oftenlocalhost
.
Alarms & notificationsβ
Add a new alarmβ
sudo touch health.d/example-alarm.conf
sudo ./edit-config health.d/example-alarm.conf
Configure a specific alarmβ
sudo ./edit-config health.d/example-alarm.conf
Silence a specific alarmβ
sudo ./edit-config health.d/example-alarm.conf
to: silent
Disable alarms and notificationsβ
[health]
enabled = no
After any change, reload the Netdata health configuration
netdatacli reload-health
or if that command doesn't work on your installation, use:
killall -USR2 netdata
Manage the daemonβ
Intent | Action |
---|---|
Start Netdata | $ sudo systemctl start netdata |
Stop Netdata | $ sudo systemctl stop netdata |
Restart Netdata | $ sudo systemctl restart netdata |
Reload health configuration | $ sudo netdatacli reload-health $ killall -USR2 netdata |
View error logs | less /var/log/netdata/error.log |
See metrics and dashboardsβ
Netdata Cloud: https://app.netdata.cloud
β
Local dashboard: https://NODE:19999
β
Replace
NODE
with the IP address or hostname of your node. Oftenlocalhost
.
Access the Netdata API: http://NODE:19999/api/v1/info
β
Interact with chartsβ
Intent | Action |
---|---|
Stop a chart from updating | click |
Zoom | Cloud use the zoom in and zoom out buttons on any chart (upper right corner) Agent SHIFT or ALT + mouse scrollwheel SHIFT or ALT + two-finger pinch (touchscreen) SHIFT or ALT + two-finger scroll (touchscreen) |
Zoom to a specific timeframe | Cloud use the select and zoom button on any chart and then do a mouse selection Agent SHIFT + mouse selection |
Pan forward or back in time | click & drag touch & drag (touchpad/touchscreen) |
Select a certain timeframe | ALT + mouse selection WIP need to evaluate this command? + mouse selection (macOS) |
Reset to default auto refreshing state | double click |
Dashboardsβ
Disable the local dashboardβ
Use the edit-config
script to edit the netdata.conf
file.
[web]
mode = none
Change the port Netdata listens to (port 39999)β
[web]
default port = 39999
Opt out from anonymous statisticsβ
sudo touch .opt-out-from-anonymous-statistics
Understanding the dashboardβ
Charts: A visualization displaying one or more collected/calculated metrics in a time series. Charts are generated by collectors.
Dimensions: Any value shown on a chart, which can be raw or calculated values, such as percentages, averages, minimums, maximums, and more.
Families: One instance of a monitored hardware or software resource that needs to be monitored and displayed separately from similar instances. Example, disks named sda, sdb, sdc, and so on.
Contexts: A grouping of charts based on the types of metrics collected and visualized. disk.io, disk.ops, and disk.backlog are all contexts.
Was this page helpful?
Need further help?
Search for an answer in our community forum.
Contribute
- Join our community forum
- Learn how to contribute to Netdata's open-source project
- Submit a feature request