DEV Community

Davide Madrisan
Davide Madrisan

Posted on

Nagios Plugins for Linux v31

What's new in version v31 "Counter-intuitive"

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 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

Top comments (0)