Package: monitoring-plugins-contrib Version: 35.20210511 Severity: normal Dear Maintainer,
the semantic of check_memory's -w and -c arguments changes between version 35.20210511 and 37.20211217~bpo11+1. In version 35 check_memory is a Perl script and the arguments are the low-water mark of *free* memory, after which an warning or critical result will be reported. In version 37 check_memory is an ELF and the arguments are the high-water mark of *used* memory after which a warning or critical result will be reported. With https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/commit/44c2d266922615928745c2adf18a7f9635332e6b the version of check_memory written in C from madrisan's nagios-plugins-linux was added to the source package, with https://salsa.debian.org/nagios-team/pkg-nagios-plugins-contrib/-/commit/eadc78562fbc869b6602b1d4bec0dfd63f563e77 the Perl version of check_memory was retired. Hence invoking, e.g., /usr/lib/nagios/plugins/check_memory -w 10% -c 5% will yield different results depending on the installed version. This is clearly not desirable and would require that users need to adjust their monitoring setup to work around the behavior change. May I suggest that the semantic of the new check_memory is adjusted to the existing one in the next Debian release? -- System Information: Debian Release: 11.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable'), (400, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 5.10.0-10-amd64 (SMP w/32 CPU threads) Kernel taint flags: TAINT_FIRMWARE_WORKAROUND Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US:en Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) monitoring-plugins-contrib depends on no packages. Versions of packages monitoring-plugins-contrib recommends: ii bind9-host 1:9.16.22-1~deb11u1 ii binutils 2.35.2-2 ii curl 7.74.0-1.3+deb11u1 pn debsecan <none> ii file 1:5.39-3 ii freeipmi-tools 1.6.6-4+deb11u1 ii libc6 2.31-13+deb11u2 pn libdata-validate-domain-perl <none> pn libdata-validate-ip-perl <none> pn libdate-manip-perl <none> pn libdbd-mysql-perl <none> ii libio-socket-ssl-perl 2.069-1 ii libipc-run-perl 20200505.0-1 ii liblocale-gettext-perl 1.07-4+b1 pn liblwp-useragent-determined-perl <none> pn libmail-imapclient-perl <none> pn libmemcached11 <none> ii libmonitoring-plugin-perl 0.40-1 pn libnet-cups-perl <none> pn libnet-dns-perl <none> pn libnet-dns-sec-perl <none> ii libnet-smtp-ssl-perl 1.04-1 pn libnet-smtp-tls-perl <none> pn libnet-smtpauth-perl <none> pn libnet-snmp-perl <none> ii libnet-ssleay-perl 1.88-3+b1 ii libreadonly-perl 2.050-3 pn libredis-perl <none> ii libtimedate-perl 2.3300-2 pn libwebinject-perl <none> ii libxml-simple-perl 2.25-1 pn lz4 <none> pn lzop <none> ii monitoring-plugins-basic [nagios-plugins-basic] 2.3.1-1 ii openssl 1.1.1k-1+deb11u1 ii perl 5.32.1-4+deb11u2 ii perl-base [libsocket-perl] 5.32.1-4+deb11u2 ii python3 3.9.2-3 pn python3-pymongo <none> ii ruby 1:2.7+2 pn snmp <none> ii whois 5.5.10 Versions of packages monitoring-plugins-contrib suggests: pn backuppc <none> pn cciss-vol-status <none> pn expect <none> pn libsys-virt-perl <none> ii moreutils 0.65-1 pn mpt-status <none> pn nagios-plugin-check-multi <none> pn percona-toolkit <none> ii perl-doc 5.32.1-4+deb11u2 pn python3-boto <none> pn smstools <none> -- no debconf information

