Skip to content

Releases: madrisan/nagios-plugins-linux

Version 34 -= Heatwaves =-

08 Aug 18:50
Compare
Choose a tag to compare

What's new in this release (Aug 8th, 2024)

FIXES

Build
  • Missing header npl_selinux.h in Makefile (noinst_HEADERS).
Libraries
  • lib/container: docker API versions before v1.24 are deprecated, so 1.24 is set as the minimum version required.
  • lib/sysfsparser: fix gcc warning: ‘crit_temp’ may be used uninitialized.
  • lib/sysfsparser: better signature for function sysfsparser_getvalue.
Contrib (Icinga2)
  • Fix Icinga2 config for check_clock by Lorenz Kästle.
    Previously the time reference value was evaluated only during the startup of Icinga 2 and therefore a fixed point in time.
    This change makes it a function which gets evaluated every time the check is executed.

ENHANCEMENTS

Plugin check_ifmount
  • Add the cmdline switch -l|--list to list the mounted filesystems.
    Same output as the 'mount' command executed without options).
Plugin check_selinux
  • New plugin check_selinux that checks if SELinux is enabled.
Package creation
  • Add Linux Alpine 3.20 and drop version 3.17
  • Add Fedora 40, drop Fedora 38
Documentation
  • Fix typo
  • Add a link to discussion #147
  • Add a note on the Debian package nagios-plugins-contrib

Full Changelog: v33...v34

Version 33 -= Śmigus-Dyngus =-

01 Apr 21:06
Compare
Choose a tag to compare

What's new in this release (Apr 1st, 2024)

FIXES

Build

  • configure: do not silently ignore missing libcurl and libvarlink.

Libraries

  • lib/netinfo-private: don't enforce nl_pid.
    Thanks to Yuri Konotopov (nE0sIghT) for reporting and solving this problem in containerised environments.
  • lib/netinfo-private: fix a Clang 17 warning.

Plugin check_users

  • check_users: fix an issue related to the Y2038 Unix bug.
  • check_cpufreq: wrong factor in check_cpufreq for -G.
    Thanks to Grischa Zengel (ggzengel) for the bug report.

Tests

  • fix tests tslibxstrton_sizetollint and tslibpressure on 32-bit architectures.

ENHANCEMENTS / CHANGES

Package creation

  • Add Fedora 39 and drop support for Fedora 36.
  • Add Linux Alpine 3.18 and 3.19 and drop support for Linux Alpine 3.14-3.16.
  • Add Rocky Linux distribution.
  • Fix build of debian packages.

GitHub workflows

  • Enable systemd library requirement in the GitHub workflow.
  • Update Linux releases for tests execution in the GitHub workflows.

Full Changelog: v32...v33

Version 32 -= Gematria =-

25 Jan 20:31
Compare
Choose a tag to compare

What's new in this release (Jan 25th, 2024)

FIXES

Build

  • configure: do not silently ignore missing libcurl and libvarlink.

Libraries

  • lib/netinfo-private: don't enforce nl_pid.
    Thanks to Yuri Konotopov (nE0sIghT) for reporting and solving this problem in containerised environments.
  • lib/netinfo-private: fix a Clang 17 warning.

Plugin check_users

  • check_users: fix an issue related to the Y2038 Unix bug.
  • check_cpufreq: wrong factor in check_cpufreq for -G.
    Thanks to Grischa Zengel (ggzengel) for the bug report.

ENHANCEMENTS / CHANGES

Package creation

  • Add Fedora 39 and drop support for Fedora 36.
  • Add Linux Alpine 3.18 and 3.19 and drop support for Linux Alpine 3.14-3.16.
  • Add Rocky Linux distribution.
  • Fix build of debian packages.

GitHub workflows

  • Enable systemd library requirement in the GitHub workflow.
  • Update Linux releases for tests execution in the GitHub workflows.

Version 31 -= Counter-intuitive =-

28 Aug 13:12
b5264bc
Compare
Choose a tag to compare

What's new in nagios-plugins-linux version 31

FIXES

Libraries

  • lib/container_docker_memory: fix an issue reported by clang-analyzer.
  • Make sure sysfs is mounted in the plugins that require it.

ENHANCEMENTS / CHANGES

Plugin check_filecount

  • New plugin check_filecount that returns the number of files found in one or more directories.

Plugin check_memory

  • check_memory: support new units kiB/MiB/GiB.
    Feature asked by mdicss.
    See the discussion #120.

contrib/icinga2/CheckCommands.conf

  • Contribution from Lorenz RincewindsHat: add icinga2 command configurations.

Build

  • configure: ensure libprocps is v4.0.0 or better if the experimental option --enable-libprocps is passed to configure.

Test framework

  • Add some unit tests for lib/xstrton.
  • New unit tests tslibfiles_{filecount,hiddenfile,size}.

Package creation

  • Add Linux Alpine 3.16 and remove version 3.13.
  • Do not package experimental plugins in the rpm nagios-plugins-linux-all.
  • Add Fedora 36 and drop Fedora 33 support.
  • CentOS 8 died a premature death at the end of 2021. Add packages for CentOS Stream 8 and 9.

GitHub workflows

  • Build the Nagios Plugins Linux on the LTS Ubuntu versions only. The version 21 seems dead.
  • Add build tests for all the supported oses.
  • Update the os versions used in tests.
  • CentOS 8 died a premature death at the end of 2021. Remove it from the list of test oses.
  • Add CodeQL analysis

Version 30 -= Low Pressure =-

26 Jan 09:41
2e2dc82
Compare
Choose a tag to compare

What's new in this release

FIXES

Plugin check_pressure
  • Display values per second regardless of the delay, and ensure the delta of "some" is calculated correctly.
  • Thanks to Christian Bryn (epleterte) for reporting and fixing a typo in the git clone command.
Package creation
  • Fix Debian packages creation.

ENHANCEMENTS / CHANGES

Libraries
  • lib/netinfo: fix a LGTM static analyzer alert.
Packages

Release updates:

  • Add Debian 11 and drop Debian 8,
  • Add Fedora 35 and drop Fedora 32,
  • Add Linux Alpine 3.15 and drop version 3.12.

Version 29 -= High Temperatures =-

20 Jul 09:21
Compare
Choose a tag to compare

What's new in this release

FIXES

Plugin check_temperature
  • Do not display thermal ranges if -t|--thermal_zone in not set at command-line.

ENHANCEMENTS

Plugin check_temperature
  • Improve the output message by adding the thermal device when available;
  • List also the devices that display a temperature of 0°C to be more consistent with the tool 'sensors';
  • Improve the help message;
  • New command-line option -l|--list for displyaing the all the thermal sensors reported by the kernel.
Package creation
  • Update the list of supported platforms by adding Alpine 3.13 and 3.14 and Fedora 34;
  • Several improvements to the Debian packaging (thanks to Vincent Olivert-Riera for the PR);
  • Build Debian multi-packages instead of a single package providing all binary plugins.
    This will permit these plugins to cohexist with the Nagios native ones.
Test framework
  • Switch to the latest stable OSes in GitHub workflow.
Documentation
  • Update the documentation for linking against procps-ng newlib;
  • Thanks to Christian Bryn (epleterte) for reporting and fixing a typo in the git clone command.

Version 28 -= Alpine Hike =-

12 Dec 13:10
Compare
Choose a tag to compare

What's new in this release

FIXES

A few Clang and GCC warnings have been fixed.

ENHANCEMENTS

Plugin check_pressure

New plugin check_pressure that reports the Linux Pressure Stall Information (PSI) exported by Linux kernels 4.20+ (in the /proc/pressure/ folder).

check_pressure --cpu      return the cpu pressure metrics
check_pressure --io       return the io (block layer/filesystems) pressure metrics
check_pressure --memory   return the memory pressure metrics
Build system

Here are some notable news:

  • Integrate Nagios Plugins for Linux with GitHub Workflow tests;
  • Add Linux Alpine and Ubuntu
    to the list of supported and automatically tested Linux distributions;
  • Update the list of supported platforms by adding Alpine 3.12 and Fedora 33;
  • Make the packages/docker-shell-helpers folder a git submodule.
Package creation

Create also the native package for Alpine 3.12.

Version 27 -= Polish Landscapes =-

08 Aug 16:13
Compare
Choose a tag to compare

What's new in this release

FIXES

  • check_multipath: free memory allocated to the pattern buffer by the function regcomp;
  • lib/meminfo_procps, lib/vminfo_procps: fix the libprocps-ng:newlib detection at build time (this is an experimental feature because a stable libprocps-ng newlib library has not been released yet).

ENHANCEMENTS

  • check_network: highly improved by adding a bunch of new command-line options;
  • check_network: support WireGuard interfaces;
  • lib/netinfo (check_network): switch from getifaddrs glib call to linux rtnetlink to be able to address more network interface types;
  • lib/netinfo-private: switch to ETHTOOL_GLINKSETTINGS when possible (requires Linux kernel 4.9+), revert to the obsolete ETHTOOL_GSET otherwise.

For more details, you can look at the file NEWS.

Version 26 -= Lockdown release =-

05 May 17:01
Compare
Choose a tag to compare

What's new in this release

Enhancements

  • New (beta) plugin check_podman for checking some runtime metrics of podman running containers. This plugin requires the varlink library and its corresponding development package.
  • Add Fedora 32 and CentOS 8 to the supported distributions (rpm package creation).

Fixes

  • Fix build with musl by including limits.h when PATH_MAX is used.
  • Fix build when '-fno-common' is added to CFLAGS (gcc 10)

For more details, you can look at the file NEWS in the root directory.

Version 25 -= Gentoo release =-

23 Aug 09:48
Compare
Choose a tag to compare

What's new in this release

Security Fixes

Fix two security issues reported by lgtm analyzer, an issue reported by the clang static analyser v8, and some issues reported by Codacy.

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.