Skip to main content

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)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page