[Nagiosplug-devel] [ nagiosplug-Bugs-1326050 ] check_disk incorrect output when checking non-existant disk.

SourceForge.net noreply at sourceforge.net
Thu Oct 13 10:55:36 CEST 2005


Bugs item #1326050, was opened at 2005-10-13 13:54
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1326050&group_id=29880

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General plugin execution
Group: Release (specify)
Status: Open
Resolution: None
Priority: 5
Submitted By: John Rouillard (rouilj)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_disk incorrect output when checking non-existant disk.

Initial Comment:
Fedora core 3 system - plugin release 1.4.2.

When running check_disk on a non-existent disk the
output is not helpful:

/usr/lib/nagios/plugins/check_disk       -c 20 -w 30  -p /boot -p /dev/shm -p /home -p /foo

where /foo doesn't exist produces (split for readability):

DISK CRITICAL - free space: /boot 168 MB (88%);   /dev/shm 1014 MB (100%); /home 6590 MB (67%);   |  /boot=22MB;159;169;0;189     /dev/shm=0MB;983;993;0;1013
   /home=3268MB;9828;9838;0;9858    [/foo not found]

The [/foo not found] error occurs in the performance
output part of the plugin and not the user output.
BTW this command produces an ok status if run without
the /foo.

This should be changed so that the error is put (first)
in the
regular output.

-- rouilj


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=1326050&group_id=29880




More information about the Devel mailing list