[Pkg-nagios-devel] Bug#985294: check_memory plugin not working when default locale is not English

Jerome Charaoui jerome at riseup.net
Mon Mar 15 13:29:05 GMT 2021


Package: monitoring-plugins-contrib
Version: 31.20210225
Severity: normal
Tags: upstream patch

Dear Maintainer,

The check_memory plugin doesn't work since upgrading to bullseye because 
it appears the procps package has adopted some new translations for 
/usr/bin/free but the plugin expects English output. Setting LANG=C as 
part of the command avoids the parsing error.

A merge request has been submitted to Salsa at this URL:
https://salsa.debian.org/lavamind/pkg-nagios-plugins-contrib/-/merge_requests/1

Thank you!

-- System Information:
Debian Release: bullseye/sid
   APT prefers testing
   APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-4-amd64 (SMP w/12 CPU threads)
Locale: LANG=fr_CA.UTF-8, LC_CTYPE=fr_CA.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_CA:fr
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.16.12-1
ii  binutils                                         2.35.2-2
ii  curl                                             7.74.0-1.1
ii  debsecan                                         0.4.20.1
ii  file                                             1:5.39-3
ii  freeipmi-tools                                   1.6.6-3
ii  libc6                                            2.31-9
ii  libdata-validate-domain-perl                     0.10-1.1
ii  libdata-validate-ip-perl                         0.27-1
ii  libdate-manip-perl                               6.83-1
ii  libdbd-mysql-perl                                4.050-3+b1
ii  libio-socket-ssl-perl                            2.069-1
ii  libipc-run-perl                                  20200505.0-1
ii  liblocale-gettext-perl                           1.07-4+b1
ii  liblwp-useragent-determined-perl                 1.07-1.1
ii  libmail-imapclient-perl                          3.42-1
ii  libmemcached11                                   1.0.18-4.2
ii  libmonitoring-plugin-perl                        0.40-1
ii  libnet-cups-perl                                 0.64-1+b3
ii  libnet-dns-perl                                  1.29-1
ii  libnet-dns-sec-perl                              1.18-1+b1
ii  libnet-smtp-ssl-perl                             1.04-1
ii  libnet-smtp-tls-perl                             0.12-3
ii  libnet-smtpauth-perl                             0.08-4.1
ii  libnet-snmp-perl                                 6.0.1-6
ii  libnet-ssleay-perl                               1.88-3+b1
ii  libreadonly-perl                                 2.050-3
ii  libredis-perl                                    2:1.9980-2
ii  libtimedate-perl                                 2.3300-2
ii  libwebinject-perl                                1.94-1
ii  libxml-simple-perl                               2.25-1
ii  monitoring-plugins-basic [nagios-plugins-basic]  2.3-1
ii  openssl                                          1.1.1j-1
ii  perl                                             5.32.1-3
ii  perl-base [libsocket-perl]                       5.32.1-3
ii  python3                                          3.9.1-1
ii  python3-pymongo                                  3.11.0-1+b1
ii  ruby                                             1:2.7+2
ii  snmp                                             5.9+dfsg-3+b1
ii  whois                                            5.5.8

Versions of packages monitoring-plugins-contrib suggests:
pn  backuppc                   <none>
pn  cciss-vol-status           <none>
pn  expect                     <none>
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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-devel/attachments/20210315/4f090f19/attachment.sig>


More information about the Pkg-nagios-devel mailing list