Subject: monitoring-plugins-contrib: check_nfsmounts formats perfdata wrong

From: Grischa Zengel <[email-masked]>
Date: Mon, 24 Mar 2025 00:35:18 +0000

Package: monitoring-plugins-contrib
Version: 37.20211217~bpo10+1
Severity: important

Dear Maintainer,

https://icinga.com/docs/icinga-2/latest/doc/05-service-monitoring/#multiple-performance-data-values
> Multiple performance data values must be joined with a space character

-  my $perfdata=sprintf("maxtime=%9.7f;avgtime=%9.7f;mountpoints=$x",$maxage,$avgage); 
+  my $perfdata=sprintf(" maxtime=%9.7f; avgtime=%9.7f; mountpoints=$x",$maxage,$avgage);

Regards
Grischa

-- System Information:
Debian Release: 10.4
  APT prefers oldoldstable-updates
  APT policy: (500, 'oldoldstable-updates'), (500, 'oldoldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.34-1-pve (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

monitoring-plugins-contrib depends on no packages.

Versions of packages monitoring-plugins-contrib recommends:
ii  bind9-host                                       1:9.11.5.P4+dfsg-5.1
ii  binutils                                         2.31.1-16
ii  curl                                             7.64.0-4+deb10u1
pn  debsecan                                         <none>
ii  file                                             1:5.35-4+deb10u1
ii  freeipmi-tools                                   1.6.3-1.1
ii  libc6                                            2.28-10
ii  libdata-validate-domain-perl                     0.10-1
ii  libdata-validate-ip-perl                         0.27-1
ii  libdate-manip-perl                               6.76-1
ii  libdbd-mysql-perl                                4.050-2
ii  libio-socket-ssl-perl                            2.060-3
ii  libipc-run-perl                                  20180523.0-1
ii  liblocale-gettext-perl                           1.07-3+b4
ii  liblwp-useragent-determined-perl                 1.07-1
ii  libmail-imapclient-perl                          3.42-1
ii  libmemcached11                                   1.0.18-4.2
ii  libmemcachedutil2                                1.0.18-4.2
ii  libmonitoring-plugin-perl                        0.40-1
ii  libnet-cups-perl                                 0.64-1+b1
ii  libnet-dns-perl                                  1.19-1
ii  libnet-dns-sec-perl                              1.11-1
ii  libnet-smtp-ssl-perl                             1.04-1
ii  libnet-smtp-tls-perl                             0.12-3
ii  libnet-smtpauth-perl                             0.08-4
ii  libnet-snmp-perl                                 6.0.1-5
ii  libnet-ssleay-perl                               1.85-2+b1
ii  libreadonly-perl                                 2.050-1
ii  libredis-perl                                    2:1.9910-2
ii  libtimedate-perl                                 2.3000-2+deb10u1
ii  libwebinject-perl                                1.94-1
ii  libxml-simple-perl                               2.25-1
ii  lz4                                              1.8.3-1+deb10u1
ii  lzop                                             1.03-4+b1
ii  monitoring-plugins-basic [nagios-plugins-basic]  2.2-6
ii  openssl                                          1.1.1d-0+deb10u3
ii  perl                                             5.28.1-6
ii  perl-base [libsocket-perl]                       5.28.1-6
ii  python3                                          3.7.3-1
ii  python3-pymongo                                  3.7.1-1.1
ii  ruby                                             1:2.5.1
ii  snmp                                             5.7.3+dfsg-5
ii  whois                                            5.4.3

Versions of packages monitoring-plugins-contrib suggests:
pn  backuppc                   <none>
pn  cciss-vol-status           <none>
ii  dnsutils                   1:9.11.5.P4+dfsg-5.1
pn  expect                     <none>
ii  iproute2                   4.20.0-2
pn  libsys-virt-perl           <none>
pn  moreutils                  <none>
pn  mpt-status                 <none>
pn  nagios-plugin-check-multi  <none>
pn  percona-toolkit            <none>
pn  perl-doc                   <none>
pn  python3-boto               <none>
pn  smstools                   <none>

-- no debconf information