[Pkg-nagios-devel] Bug#863797: monitoring-plugins-basic: unable to use check_disk inside /var/tmp

Emmanuel DECAEN Emmanuel.Decaen at xsalto.com
Wed May 31 10:06:32 UTC 2017


Package: monitoring-plugins-basic
Version: 2.2-3
Severity: important

Dear Maintainer,

After upgrade, check_disk on /var/tmp/mysql is broken.

Status using nrpe (wrong):
DISK CRITICAL - /var/tmp/mysql is not accessible: No such file or directory

Status using bash (works correctly):
$ /usr/lib/nagios/plugins/check_disk -w 20% -c 10% -p /var/tmp/mysql
DISK OK - free space: /var/tmp/mysql 10187 MB (99% inode=99%);|
/var/tmp/mysql=42MB;8184;9207;0;10230

In nrpe, system wide /var/tmp is no more reachable
$ grep "/var/tmp" /proc/11489/mountinfo
115 113 254:2 / /var/tmp/mysql rw,noatime,nodiratime shared:65
master:32- xfs /dev/mapper/v1-tmp rw,attr2,inode64,noquota
121 113 8:5
/tmp/systemd-private-b35c254c031041979d3126e02a0c5c51-nagios-nrpe-server.service-7xjqpw/tmp
/var/tmp rw,relatime shared:66 master:28 - ext4 /dev/sda5 rw,data=ordered

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

Kernel: Linux 4.9.0-3-amd64 (SMP w/12 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages monitoring-plugins-basic depends on:
ii  iputils-ping               3:20161105-1
ii  libc6                      2.24-10
ii  libssl1.1                  1.1.0e-2
ii  monitoring-plugins-common  2.2-3
ii  procps                     2:3.3.12-3
ii  ucf                        3.0036

Versions of packages monitoring-plugins-basic recommends:
ii  libcap2-bin  1:2.25-1

Versions of packages monitoring-plugins-basic suggests:
pn  icinga | icinga2  <none>

-- 

Emmanuel DECAEN



More information about the Pkg-nagios-devel mailing list