Nathan Vonnahme gives a great presentation on how to write custom Nagios plugins. The presentation was given at the 2012 Nagios World Conference.
The nagios-plugins.org website is currently undergoing a site redesign. Please bear with us while we update the site.
The Nagios Plugins Development Team is proud to announce version 1.5 of the Nagios Plugins! This release comes with the new
check_dbi plugin written by Sebastian Harl, and includes lots of enhancements and fixes provided by more than forty contributors. Many thanks to all of you!
Special kudos go to Sven Nierlein for fixing numerous bugs, reviewing many pull requests, bringing our test suite back into shape, and setting up automated tests on a variety of platforms. This helped us spotting lots of bugs before the release. Let me also thank Ton Voon for doing the unenviable work of updating the bundled Perl modules; and our newest team member Jan Wagner for all his help with patch review.
See below for a list of major changes. Note that the new
check_http version introduces two minor backwards incompatibilities mentioned at the end of that list, so please be sure to check whether they might affect you.
You can get the tarball from our download page.
check_dbiplugin for checking an (SQL) database using DBI
- Let OpenSSL load its configuration file (see the
- Add performance data to
- Add performance data to
--connectoption to perform real login
-toption to override the default timeout
--freespace-ignore-reservedoption to ignore space reserved for root
--include-typeoption to limit the filesystem types to check
- Allow for building the plugins in parallel
- Made Verbose output of
- New switch
check_httpto print additional performance data
-doption to specify a string to expect within the response headers
-Koptions for client certificate authentication support
- Add support for executing queries to
check_pgsqlaccept a UNIX socket directory as hostname
-ooption to specify additional connection parameters
-Soption to specify the source IP address
-Ioption to specify the interface to bind to
-koption to ignore kernel threads (on Linux)
/proc/<PID>/exe(if available) instead of
check_mysqladd perfromance metrics for all checks
-foption to specify a client options file
-goption to specify a client options group
--offsetoption to allow for adding/substracting an offset value to sensor data
check_snmpsupport an arbitrary number of OIDs
- Change the MAIL FROM command generated by
check_smtpto be RFC compliant
- Fix compilation of
check_httpwithout SSL support
check_snmpreversed threshold ranges (backward-compatibility)
check_snmpmemory violation when using more than 8 OIDs
check_aptsecurity regular expression
check_httphandling extra header (
-k) containing semicolons
check_apthandling unknown exit codes from apt-get
- Fix deprecated imports of
--headerchanged since it does not separate multiple headers by semicolons anymore. Use multiple
--proxy_authorizationoption is now called
--proxy-authorization(it was always documented this way)
- The contrib directory has been removed. These days, sites such as Nagios Exchange serve as much better places for publishing plugins not maintained by the Nagios Plugins Development Team.