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

SourceForge.net noreply at sourceforge.net
Fri Feb 11 12:06:12 CET 2005


Patches item #1121018, was opened at 2005-02-11 18:04
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1121018&group_id=29880

Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: rrc (r2c)
Assigned to: Nobody/Anonymous (nobody)
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.

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

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