Skip to main content

Class library for writing Nagios (Icinga) plugins

Project description

nagiosplugin

Features

nagiosplugin is a class library which helps writing Nagios (or Icinga) compatible plugins easily in Python. It cares for much of the boilerplate code and default logic commonly found in Nagios checks, including:

  • Nagios 3 Plugin API compliant parameters and output formatting

  • Controller to handle the general plugin control flow

  • Full Nagios range syntax support

  • Automatic threshold checking

  • Multiple independend measures and overall state logic

  • Long output and performance data

  • Timeout handling

  • Default options

  • Persistent “cookies” to retain state information between check runs.

Documentation

To get started writing Nagios plugins, see the examples in the examples subdirectory.

More documentation on using this package can be found in the doc directory. There is also an online copy of the docs available.

Feedback and Suggestions

nagiosplugin is primarily written and maintained by Christian Kauhaus <kc@gocept.com>. Feel free to contact the author for bugs, suggestions and patches.

A public issue tracker can be found at http://projects.gocept.com/projects/projects/nagiosplugin/issues.

License

The nagiosplugin package is released the Zope Public License (ZPL), a BSD-style Open Source license.

Release History

0.4.3 (2010-12-17)

  • Change __str__ representation of large numbers to avoid scientific notation.

0.4.2 (2010-10-11)

  • Packaging issues.

0.4.1 (2010-09-21)

  • Fix distribution to install correctly.

  • Documentation: tutorial and topic guides.

0.4 (2010-08-17)

  • Initial public release.

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

nagiosplugin-0.4.3.tar.gz (14.5 kB view details)

Uploaded Source

File details

Details for the file nagiosplugin-0.4.3.tar.gz.

File metadata

  • Download URL: nagiosplugin-0.4.3.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for nagiosplugin-0.4.3.tar.gz
Algorithm Hash digest
SHA256 868c75ca8f9f23ab03f4d13ca506f1fc7e9ffd8e771afd9a53493c89efb02eba
MD5 0fc988eb2748f225d6557a2393db1dec
BLAKE2b-256 cf434704e432b436989af9e890f95ba1f21eb2bfddc0f0a805fae2e59d424067

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page