[Nagiosplug-devel] [ nagiosplug-Patches-726552 ] Fixed check_disk to AND % and KB values

SourceForge.net noreply at sourceforge.net
Wed Apr 23 15:15:10 CEST 2003


Patches item #726552, was opened at 2003-04-23 15:14
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=726552&group_id=29880

Category: Bugfix
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Earl Ruby (eruby)
Assigned to: Nobody/Anonymous (nobody)
Summary: Fixed check_disk to AND % and KB values

Initial Comment:
Fixed the parameter parsing to work regardless of the
order of the values -- now either "%,KB" or "KB,%" work
for -w and -c parameters. 

When both % and KB are specified, the results of the
tests are now logically AND-ed together, rather than
OR-ed, so a disk check with -c 5%,1000000 specified
would fail if a disk volume had BOTH less than 5% free
space AND less than 1GB free.


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

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




More information about the Devel mailing list