Class library for writing Nagios (Icinga) plugins
Project description
About
mplugin is a Python 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
Full Nagios range syntax support
Automatic threshold checking
Multiple independend measures
Custom status line to communicate the main point quickly
Long output and performance data
Timeout handling
Persistent “cookies” to retain state information between check runs
Resume log file processing at the point where the last run left
No dependencies beyond the Python standard library (except for Python 2.6).
mplugin runs on POSIX and Windows systems. It is compatible with and Python 3.9 and later.
Feedback and Suggestions
mplugin is currently maintained by Josef Friedrich <josef@friedrich.rocks>. A public issue tracker can be found at <https://github.com/Josef-Friedrich/mplugin/issues> for bugs, suggestions, and patches.
License
The mplugin package is released under the Zope Public License 2.1 (ZPL), a BSD-style Open Source license.
Documentation
Comprehensive documentation is available online. The examples mentioned in the tutorials can also be found in the mplugin/examples directory of the source distribution.
Acknowledgements
mplugin was originally written and maintained by Christian Kauhaus <kc@flyingcircus.io>. Additional contributions from the community are acknowledged in the file CONTRIBUTORS.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mplugin-2.0.0a0.tar.gz.
File metadata
- Download URL: mplugin-2.0.0a0.tar.gz
- Upload date:
- Size: 23.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1478be202b73dc155de2ea31916c1c8b73d94ef496366bc6f5af2a13c594a884
|
|
| MD5 |
d2324e57ebbcecb9007b500de470a53c
|
|
| BLAKE2b-256 |
8a1251005c3c543ed3420c87d40c67cb87fb4edabcc4444e2c367752c5b31012
|
File details
Details for the file mplugin-2.0.0a0-py3-none-any.whl.
File metadata
- Download URL: mplugin-2.0.0a0-py3-none-any.whl
- Upload date:
- Size: 32.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.2 {"installer":{"name":"uv","version":"0.10.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2b2fa86a7a1a111f2f3c5b9cf6556755a417b7929f02f2f5eab79c856233c4cd
|
|
| MD5 |
0b6ce8b99051247a97b838b47eb9c1e6
|
|
| BLAKE2b-256 |
bfa60e9ed9b000973963ee85a44a14dd9bb8e874539f0d6cdec61ea802e5fb28
|