[Pkg-nagios-devel] Bug#479045: nagios-plugins: check_disk wrongly treats devices as being NFS shares

Stephane Chazelas stephane at artesyncp.com
Fri May 2 12:47:01 UTC 2008

Package: nagios-plugins
Version: 1.4.11-2
Severity: normal


check_disk -l or -L

is meant to check only the local file systems, so it excludes
the NFS mounted ones.

But to do so, it checks whether the "mount device" contains a
":" instead of checking the filesystem type.

For instance, that means that it won't check filesystems on
local devices that have ":" in their path. Example:

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux
Locale: LANG=en_GB.ISO-8859-15, LC_CTYPE=en_GB.ISO-8859-15 (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/bash

Versions of packages nagios-plugins depends on:
ii  nagios-plugins-basic          1.4.11-2   Plugins for the nagios network mon
ii  nagios-plugins-standard       1.4.11-2   Plugins for the nagios network mon

nagios-plugins recommends no packages.

-- no debconf information

More information about the Pkg-nagios-devel mailing list