HowToWritePlugins > fieldnames > critical


{fieldname}.critical defines low and/or high thresholds that will be used by munin-limits to send a critical alert to external systems like Nagios if the read value is outside the given range.


Attribute name{fieldname}.critical
Valuemin:max, min: or :max
Allowed characters[0-9:]
Spaces allowedNo
ContextDatasource-specific plugin attributes
Default valueNone


In the example below, munin-limits will send an alert with "critical" level if the number of pending packages is higher than (or, although improbable, lower than) 0 packages.

# munin-run apt config
graph_title Pending packages
graph no
pending.label pending
pending.critical 0:0
hold.label hold

See also


Last modified at 2012-12-09T22:58:55+01:00 Last modified on 2012-12-09T22:58:55+01:00