module to develop plugin for nagios, icinga
Project description
Module to help you build a plugin for nagios or icinga simpler.
Install
>>> pip install nagios
Documentation
To use:
PerformanceData
For each attribute to measure you must create a new PerformanceData instance.
Init function:
- param name:
name of the performance data
- param value:
value
- param warning:
warning value
- param critical:
critical value
- param max_value:
max value to visualise
- param min_value:
min value to visualise
- param unit:
unit of the value
- param no_check:
True for ignore the result of this performance data
NagiosPlugin
Plugin object: you must add the performance data in this plugin. For checking of the plugin, will he check all added performance data and return the nagios result
Init function
- param name:
name of the plugin
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nagios-0.0.1.tar.gz
(2.4 kB
view hashes)