[Nagiosplug-devel] [ nagiosplug-Patches-1121018 ] Fix "check_disk -e" returning "Unable to read output"

SourceForge.net noreply at sourceforge.net
Thu Oct 19 21:03:44 CEST 2006


Patches item #1121018, was opened at 2005-02-11 20:04
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1121018&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: Bugfix
Group: None
>Status: Pending
Resolution: None
Priority: 5
Submitted By: r2c (r2c)
>Assigned to: Ton Voon (tonvoon)
Summary: Fix "check_disk -e" returning "Unable to read output"

Initial Comment:

When running check_disk with -e option and all 
filesystems are OK it returns "Unable to read output".

This is because when every disk_result == STATE_OK and 
the erronly is TRUE, the max_state function at the end of 
the if is never reached. This causes the variable result to 
be STATE_UNKNOW, printing the above error.

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

>Comment By: Ton Voon (tonvoon)
Date: 2006-10-19 20:03

Message:
Logged In: YES 
user_id=664364

Hi r2c,

I think this problem is out of date as there has been many changes to 
check_disk. I will mark the call into pending - please update if this is still a 
problem.

Ton

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

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




More information about the Devel mailing list