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

Marc Haber mh+debian-packages at zugschlus.de
Thu Oct 26 20:48:36 CEST 2006


On Thu, Oct 26, 2006 at 08:25:30PM +0200, Filip Van Raemdonck wrote:
> 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%.

What does the actual plugin say when you invoke it manually?

> 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.

Formatting of plugin output is a plugin issue. Do you want me to
reassign or clone to nagios-plugins?

> 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.

Nagios only cares about the result - OK, WARNING or CRITICAL. The rest
of the output is simply passed through for informational reasons.

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 621 72739835




More information about the Pkg-nagios-devel mailing list