nagios-plugins-for-linux

:penguin: Nagios-compatible Plugins for Linux

Release Version 23 -= Korbielow.pl 2018 release -=

What's new in this release

Enhancements

Plugins

New plugin check_docker for:

  • checking the total number of running docker containers or the containers of a given type
  • checking the memory usage (alpha!)

Build system

The sources will now be built with the available compiler's hardening flags. The following compiler flags are tested/added when available:

-D_FORTIFY_SOURCE=2 (Buffer overflow checks)
-fstack-protector-strong or -fstack-protector-all
-fpie -fPIE (Position Independent Executable support)
-Wstack-protector
-Wl,-z,relro (RELRO (read-only relocation))
-Wl,-z,now

The option --disable-hardening disable the attempt to harden the resulting executables.

./configure now displays a summary of the build options at the end.

You can add the option --enable-werror to make all warnings as errors at buit time. This option is disabled by default.

Packages creation

Fedora 27 and Fedora 28 are now supported distributions.

Test framework

Some new unit tests have been added:

  • lib/container
  • lib/url_encode
  • tests/testutils

Fixes

Fix some issues reported by Codacy, Coverity, and LGTM.

Experimental

The command line option --enable-libprocps has been added for linking the binaries with the library libprocps newlib instead of using the internal libraries.

nagios-plugins-linux-v23.tar.gz

Release tarball
application/gzip 2018-08-05 Download from Github

nagios-plugins-linux-23.tar.bz2

application/x-bzip 2018-08-05 Download from Github

nagios-plugins-linux-23.tar.xz

application/x-xz 2018-08-05 Download from Github

Release Version 22 - commit #600

What's new in this release

Fixes

vminfo lib: add the following items to the /proc/vmstat parser:

  • vm_pgalloc_dma32
  • vm_pgrefill_dma32
  • vm_pgscan_direct_dma32
  • vm_pgscan_kswapd_dma32
  • vm_pgsteal_dma32
  • vm_pgsteal_direct_dma
  • vm_pgsteal_direct_dma32

The DMA32 memory zone is only available on 64-bit linux (low ~4GBytes of memory). This patch can slightly modify the value of the memory counters reported by check_memory.

Enhancements

  • Fix several warnings reported by Codacy and Codeclimate.

nagios-plugins-linux-v22.tar.gz

Release tarball
application/gzip 2017-09-20 Download from Github

nagios-plugins-linux-22.tar.xz

application/x-xz 2017-09-20 Download from Github

Release Version 21

What's new in this release

Enhancements

check_paging: the command-line option --swapping-only has been added for displaying only the swap reads and writes. The help message has been updated and improved by added some lines that explain which kernel variable(s) are selected when a user specify the warning and/or critical thresholds.

The Docker-based framework for packaging the Nagios Plugins for Linux (test-build) supports two new extra distributions:

  • Debian 9 (Stretch)
  • Fedora 26

The test framework (make check) has been reworked and enriched in new modules:

tests/tsclock_thresholds
tests/tscswch
tests/tsintr
tests/tslibmeminfo_conversions
tests/tslibmeminfo_interface
tests/tslibmeminfo_procparser
tests/tslibmessages
tests/tslibvminfo
tests/tsload_normalize
tests/tsload_thresholds
tests/tspaging
tests/tstemperature
tests/tsuptime

The result of each text execution is now displayed with colors.

The code of several plugins has been polished and modularized to allow testing.

The glibc function secure_getenv() (or __secure_getenv() on Ubuntu, and maybe other distributions) is now used, instead of getenv(), in the test code to improve security.

nagios-plugins-linux-v21.tar.gz

Release tarball
application/gzip 2017-08-06 Download from Github

nagios-plugins-linux-21.tar.xz

application/x-xz 2017-08-06 Download from Github