[Pkg-nagios-devel] Bug#395389: nagios2: complains about disk space in an uncomprehensible way

Filip Van Raemdonck mechanix at debian.org
Thu Oct 26 20:25:30 CEST 2006


Package: nagios2
Version: 2.5-1

Since about an hour ago, I've been getting nagios alerts from a test
setup, telling me that disk space is critical.

I have this in localhost for the "Disk Space" service:
...
check_command                   check_all_disks!20%!10%
...

I went to check the nagios pages, but in the disk space service this is
listed:

DISK CRITICAL - free space: / 81 MB (44% inode=97%): /dev/shm 505 MB (100% inode=100%): /srv 4763 MB (31% inode=99%): /tmp 114 MB (94% inode=100%): /home 357 MB (20% inode=97%): /usr 3018 MB (63% inode=98%): /var 5387 MB (90% inode=100%): /dev 10 MB (99% inode=100%): /srv/scratchbox/users/mechanix/scratchbox 4763 MB (31% inode=9

... neither of which is less than 20% free space, let alone 10%.

It looks like the check output is cut off; whether nagios is complaining
about something in the cut off part or not is unclear by this info.
Actually, it would be unclear in any case because it just list all
partitions in a big and hardly readable blob.

Instead, it should figure out what it's complaining about and present that
in a clean way. And shouldn't cut info off the check output.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-1-686
Locale: LANG=nl_BE at euro, LC_CTYPE=nl_BE at euro (charmap=ISO-8859-15)

Versions of packages nagios2 depends on:
ii  libc6                       2.3.6.ds1-5  GNU C Library: Shared libraries
ii  libgd2-noxpm                2.0.33-4     GD Graphics Library version 2 (wit
ii  libjpeg62                   6b-13        The Independent JPEG Group's JPEG
ii  libperl5.8                  5.8.8-3      Shared Perl library
ii  libpng12-0                  1.2.8rel-5.2 PNG library - runtime
ii  nagios2-common              2.5-1        support files for nagios2
ii  perl                        5.8.8-3      Larry Wall's Practical Extraction
ii  zlib1g                      1:1.2.3-13   compression library - runtime

http://www.sysfs.be/




More information about the Pkg-nagios-devel mailing list