gwcelery.tools.nagios module¶
A Nagios plugin for monitoring GWCelery.
See https://nagios-plugins.org/doc/guidelines.html.
- class gwcelery.tools.nagios.NagiosPluginStatus(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)[source]¶
Bases:
IntEnum
Nagios plugin status codes.
- OK = 0¶
- WARNING = 1¶
- CRITICAL = 2¶
- UNKNOWN = 3¶
- exception gwcelery.tools.nagios.NagiosCriticalError[source]¶
Bases:
Exception
An exception that maps to a Nagios status of CRITICAL.