Alarms
This collector creates an 'Alarms' menu with one line plot showing alarm states over time. Alarm states are mapped to integer values according to the below default mapping. Any alarm status types not in this mapping will be ignored (Note: This mapping can be changed by editing the status_map
in the alarms.conf
file). If you would like to learn more about the different alarm statuses check out the docs here.
#
ChartsBelow is an example of the chart produced when running stress-ng --all 2
for a few minutes. You can see the various warning and critical alarms raised.
#
ConfigurationEnable the collector and restart Netdata.
If needed, edit the python.d/alarms.conf
configuration file using edit-config
from the your agent's config
directory, which is usually at /etc/netdata
.
The alarms
specific part of the alarms.conf
file should look like this:
It will default to pulling all alarms at each time step from the Netdata rest api at http://127.0.0.1:19999/api/v1/alarms?all