Linuxfabrik Monitoring Plugins Collection
More than 190 check plugins for Icinga and other Nagios-compatible monitoring applications. Each plugin is a standalone command line tool (written in Python) that provides a specific type of check.
The Linuxfabrik Monitoring Plugins Collection
This Enterprise Class Check Plugin Collection offers a package of more than 180 Python-based, Nagios-compatible check plugins for Icinga, Naemon, Nagios, OP5, Shinken, Sensu and other monitoring applications. Each plugin is a stand-alone command line tool that provides a specific type of check. Typically, your monitoring software will run these check plugins to determine the current status of hosts and services on your network.
The check plugins run on
- Linux - Tested on RHEL 7+, Fedora 30+, Ubuntu Server 16+, Debian 9+, SLES 15+
- Windows - Tested on Windows 10+ and Windows Server 2019+
All plugins are written in Python and licensed under the UNLICENSE, which is a license with no conditions whatsoever that dedicates works to the public domain.
The plugins are fast, reliable and use as few system resources as possible. They uniformly and consistently report the same metrics briefly and precisely on all platforms (for example, always "used" instead of a mixture of "used" and "free"). Automatic detection and Auto-Discovery mechanisms are built-in where possible. Using meaningful default settings, the plugins trigger WARNs and CRITs only where absolutely necessary. In addition they provide information for troubleshooting. We try to avoid dependencies on 3rd party system libraries where possible.
Support & Sponsoring
The source code is published here without support.
If you need Enterprise Support, conclude a Service Contract.
If you simply like to support our work, please consider donating and become a sponsor:
Do you think more people should know about it? Sharing is caring, so feel free to spread the word. We would really appreciate if you share this on any social media, or link this site on any blog or forum.
- Have a look at the INSTALL document for the various options, including SELinux etc.
- For details on installing the plugins in Icinga Director, see ICINGA.
For now, there are two ways:
Check Plugin Poster
See some of our check plugins at a glance on an Icinga server:
If you zoom in, for example on CPU Usage:
Feedback from our Community
Some comments from the community about our monitoring plugins:
> ... thanks for your awesome plugins.
> ... Thanks for your awesome work & have a good day.
> ... the Linux fabrik plugins are excellent.
> ... I can recommend this family of plugins, they are the highest quality I have seen around. ...
> Ich bin vor kurzem (via Video vom Icinga Camp) über Eure Monitoringplugins gestolpert. Ganz herzlichen Dank dafür, großartige Arbeit!!
-- Christian Lox
> ... many thanks for your great collection of monitoring plugins! I've just found them - clean structure and output, cross-platform, Icinga Directory Basket configurations - loving it and currently migrating step by step most of my checks to use them where possible. 😍
-- Bernd Bestel
> Nachdem ich beim Versuch, Nagios-Plugins auf VMwares Photon-OS zum laufen zu kriegen, graue Haare gekriegt habe, haben mir eure Plugins zum Ziel verholfen.
> A well engineered, regularly updated and maintained collection of plugins. Specially focused on Linux servers/VMs and used at large scale by the company developing it.
> Hello, I stumbled across your collection and am thrilled! Especially the extensive documentary and the Director Baskets are a dream.
-- Stefan Beining
Human Readable Numbers
Regarding the check plugin output, this is how we convert and append symbols to large numbers in a human-readable format (according to Wikipedia Names of large numbers, and other).
Since the primary hosting platform is Linux, which uses IEC, the plugins display byte sizes in powers of 2 (KiB, MiB, GiB etc.) - otherwise it would be very confusing to have the monitoring plugins said something different than the command line.
|1000\^2||M||SI Symbol||Number||Million (1), Million (2)|
|1000\^3||G||SI Symbol||Number||Milliard (1), Billion (2)|
|1000\^4||T||SI Symbol||Number||Billion (1), Trillion (2)|
|1000\^5||P||SI Symbol||Number||Billiard (1), Quadrillion (2)|
|1000\^6||E||SI Symbol||Number||Trillion (1), Quintillion (2)|
|1000\^7||Z||SI Symbol||Number||Trilliard (1), Sextillion (2)|
|1000\^8||Y||SI Symbol||Number||Quadrillion (1), Septillion (2)|
|1000\^1||Kbps||Bits per Second||Kilobits|
|1000\^2||Mbps||Bits per Second||Megabits|
|1000\^3||Gbps||Bits per Second||Gigabits|
|1000\^4||Tbps||Bits per Second||Terrabits|
|1000\^5||Pbps||Bits per Second||Petabits|
|1000\^6||Ebps||Bits per Second||Exabits|
|1000\^7||Zbps||Bits per Second||Zetabits|
|1000\^8||Ybps||Bits per Second||Yottabits|
- (1): Traditional European (Peletier, long scale)
- (2): US, Canada and modern British (short scale)
Threshold and Ranges
If a check supports ranges, they can be used as follows:
- Simple value: A range from 0 up to and including the value
- A "Range" is the same as on nagios-plugins.org: ... defined as a start and end point (inclusive) on a numeric scale (possibly negative or positive infinity)., in the format
- Empty value after
:: positive infinity
~: negative infinity
@: if range starts with
@, then alert if inside this range (including endpoints)
|-w, -c||OK if result is||WARN/CRIT if|
|10||in (0..10)||not in (0..10)|
|-10||in (-10..0)||not in (-10..0)|
|10:||in (10..inf)||not in (10..inf)|
|:||in (0..inf)||not in (0..inf)|
|\~:10||in (-inf..10)||not in (-inf..10)|
|10:20||in (10..20)||not in (10..20)|
|\@10:20||not in (10..20)||in 10..20|
|@\~:20||not in (-inf..20)||in (-inf..20)|
|@||not in (0..inf)||in (0..inf)|
Command, Parameters and Arguments
Shell commands like
./file-age --filename='/tmp/*' have two basic parts:
- Command name of the program to run (
./file-age). May be followed by one or more options, which adjust the behavior of the command or what it will do.
- Options/Parameters normally start with one or two dashes to distinguish them from arguments (parameter
'/tmp/*'). They adjust the behavior of the command. Parameters may be short (
-w) or long (
--warning). We prefer and often offer only the long version.
Many shell commands may also be followed by one or more arguments, which often indicate a target that the command should operate upon (
useradd linus for example) . This does not apply to the check-plugins.
To avoid problems when passing parameter values that start with a
-, the command line call must look like this:
- Long parameters:
- Short parameters:
./file-age -w-60:3600(so simply not putting any space nor escaping it in any special way).
Directory Layout explained
└── plugin-name ├── assets Additional ressources, for example helper scripts like monitoring.php ├── grafana Grafana dashboard definition ├── icingaweb2-module-director Icinga Director basket definition ├── icingaweb2-module-grafana Grafana panel definition for Icinga's Grafana module ├── lib Link to the Linuxfabrik Python libraries ├── unit-test File for unit tests │ ├── retc Files for simulating return codes │ ├── stdin Files for simulating output to STDOUT │ ├── stdout Files for simulating output to STDERR │ └── run The unit test └── plugin-name The monitoring plugin
When running from source, almost all check plugins are happy with at least Python 3.6. All plugins define the
#!/usr/bin/env python3 shebang.
You can download all check plugin icons from download.linuxfabrik.ch. For Icinga, put them in
Tips & Tricks
- Q: How can I remove the performance data after the
|from the check output?
A: In Bash use
/usr/lib64/nagios/plugins/check-command | cut -f1 -d'|'