Nagios Plugins for Linux v25

Nagios Plugins for Linux v25 (Gentoo Release)

The version 25 of the Nagios Plugins for Linux is available for download.

The Nagios Plugins for Linux is a free and open source (license) set of plugins for monitoring the major system parameters of the Linux servers.

The complete source code is available at GitHub (nagios-plugins-linux-25.tar.xz). You can find the full documentation on https://github.com/madrisan/nagios-plugins-linux.

What’s new in this release

Fixes

  • Fix compilation when libcurl headers are not installed.
  • Fix warning message about obsolete AC_PROG_RANLIB macro usage.
  • sysfsparser library: fix debug messages in sysfsparser_thermal_get_temperature().
  • check_memory plugin: minor code cleanup and typo fixes.

Enhancements

  • Add perfdata to mem_available and mem_used (feature asked by @sbraz).
  • Add a build option to disable the linking of libcurl (necessary to build check_docker): --disable-libcurl (feature asked by @sbraz).
  • Packages: add support for Fedora 30 and Debian 10 (Buster).

Changes

  • Update the external jsmn library.
  • Move some functions to the new library perfdata.
  • Drop support for building Fedora 24-27 and Debian 6 (Squeeze) packages.

Test framework

New unit test for lib/perfdata.c.

Gentoo Package

The plugins are now available in the Gentoo tree. They can be installed by running:

emerge -av net-analyzer/nagios-plugins-linux-madrisan

The curl USE flag is required to build check_docker.

Nagios Plugins for Linux v22

I’m delighted to announce the immediate, free availability of the version 22 of the the Nagios Plugins for Linux. The Nagios Plugins for Linux is a free and open source (license) set of plugins for monitoring the major system parameters of the Linux servers.

As usual the complete source code is available at GitHub (nagios-plugins-linux-22.tar.xz). You can find the full documentation on https://github.com/madrisan/nagios-plugins-linux.

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 for Linux v21

The Nagios Plugins for Linux version 21 is now available.
The source is available at GitHub: nagios-plugins-linux-21.tar.xz

You can find documentation on https://github.com/madrisan/nagios-plugins-linux

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 supports two new extra distributions:
    • Debian 9 (Stretch)
    • Fedora 26
  • The test framework 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.

PyXymon

A Python module for writing Xymon external scripts

I’m very happy to announce the immediate availability of PyXymon, release 3.

PyXymon is a simple helper Python module that can help you write Xymon external scripts in Python. PyXymon provides some methods for rendering the messages you want to display in the Xymon web page and for sending them to the Xymon server.

PyXymon reads the required information from the Xymon environment variables, so you do not need to add any extra configuration file.

This project is hosted at GitHub.

Nagios Plugins for Linux v20

I’m pleased to announce the immediate, free availability of the Nagios Plugins for Linux version 20.
Full details about what’s included can be found in the release notes.
As usual, you can download the sources from GitHub.
Bug reports, feature requests, and ideas for improvements are welcome!

Security fixes

Some insecure data handling issues discovered by Coverity in the new test framework have been fixed.

Enhancements

The Clang Static Analyser can now be executed by running the command

make -C tests check-clang-checker

in the project root directory. All the warnings spotted by this code analyser have been fixed.

A new Docker-based framework for packaging the Nagios Plugins for Linux (rpm and deb packages) is now available. The supported Linux distributions follow:

CentOS/RHEL 5, 6, 7
Debian 6, 7, 8
Fedora 24/25/rawhide.

The messages displayed in case of a too large “count” or “delay” error have been improved.

Nagios Plugins for Linux 18 released

Here is it, version 18 of the Nagios Plugins for Linux.

It’s manly a bugfix release with a fix for an issue recently pointed out by Paul Dunkler: some of the plugins did not terminate with the correct return code when reaching a warning or critical threshold.

The check_memory plugin no more reports as cached memory the unreclaimable slab values, which cannot be reclaimed even under memory pressure.

The check_cpu plugin executed with the ‘-i | —cpuinfo‘ switch, now correctly detect on 64-bit architectures the CPU 64-bit op-mode.

A minor memory resource leak reported by the Coverity Scan tool has also been fixed.

You can download the source code (.xz compressed tarball) here and visit the GitHub project web page for more information.

As usual, bug reports, feature requests, and ideas for improvements are welcome!