[Pkg-nagios-devel] Bug#886564: nagios-plugins-contrib: Missing dependency for check_lm_sensors in Stretch

Daniel Bareiro dbareiro at opcion-libre.com.ar
Sun Jan 7 17:10:41 UTC 2018

Package: nagios-plugins-contrib
Version: 21.20170222
Severity: normal

Dear Maintainer,

Apparently a dependency is missing to be able to use check_lm_sensors:

root at alderamin:/etc/nagios# /usr/lib/nagios/plugins/check_lm_sensors
Can't locate List/MoreUtils.pm in @INC (you may need to install the List::MoreUtils module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.24.1 /usr$
BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/check_lm_sensors line 25.

So I try installing the following package:

root at alderamin:/etc/nagios# aptitude install liblist-moreutils-perl
Se instalarán los siguiente paquetes NUEVOS:
  libexporter-tiny-perl{a} liblist-moreutils-perl
0 paquetes actualizados, 2 nuevos instalados, 0 para eliminar y 0 sin actualizar.
Necesito descargar 0 B/95,4 kB de ficheros. Después de desempaquetar se usarán 253 kB.
¿Quiere continuar? [Y/n/?] Y

After that, the plugin seems to work:

root at alderamin:/etc/nagios# /usr/lib/nagios/plugins/check_lm_sensors
LM_SENSORS UNKNOWN - at least one check has to be specified

Thanks and kind regards,

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

Kernel: Linux 4.9.0-5-amd64 (SMP w/1 CPU core)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), LANGUAGE=es_AR:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

nagios-plugins-contrib depends on no packages.

Versions of packages nagios-plugins-contrib recommends:
ii  bind9-host                        1:9.10.3.dfsg.P4-12.3+deb9u3
ii  binutils                          2.28-5
ii  freeipmi-tools                    1.4.11-1.1+b1
ii  libc6                             2.24-11+deb9u1
ii  libdata-validate-domain-perl      0.10-1
ii  libdata-validate-ip-perl          0.27-1
ii  libdate-manip-perl                6.57-1
ii  libdbd-mysql-perl                 4.041-2
ii  libio-socket-ssl-perl             2.044-1
ii  libipc-run-perl                   0.94-1
ii  liblocale-gettext-perl            1.07-3+b1
ii  liblwp-useragent-determined-perl  1.07-1
ii  libmail-imapclient-perl           3.38-1
ii  libmemcached11                    1.0.18-4.1
ii  libmemcachedutil2                 1.0.18-4.1
ii  libmonitoring-plugin-perl         0.39-1
ii  libnet-cups-perl                  0.63-1
ii  libnet-dns-perl                   1.07-1
ii  libnet-dns-sec-perl               1.03-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-2
ii  libnet-ssleay-perl                1.80-1
ii  libreadonly-perl                  2.050-1
ii  libredis-perl                     2:1.9910-1
ii  libtimedate-perl                  2.3000-2
ii  libvarnishapi1                    5.0.0-7+deb9u2
ii  libwebinject-perl                 1.92-1
ii  libxml-simple-perl                2.22-1
ii  libyaml-syck-perl                 1.29-1+b2
ii  lsof                              4.89+dfsg-0.1
ii  nagios-plugins-basic              2.2-3
ii  openssl                           1.1.0f-3+deb9u1
ii  perl                              5.24.1-3+deb9u2
ii  perl-base [libsocket-perl]        5.24.1-3+deb9u2
ii  python                            2.7.13-2
ii  python-pymongo                    3.4.0-1
ii  ruby                              1:2.3.3
ii  snmp                              5.7.3+dfsg-1.7
ii  whois                             5.2.17~deb9u1

Versions of packages nagios-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>
ii  python2.7                  2.7.13-2+deb9u2
pn  smstools                   <none>

-- no debconf information

More information about the Pkg-nagios-devel mailing list