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

SourceForge.net noreply at sourceforge.net
Thu Nov 18 14:55:09 CET 2004


Patches item #726552, was opened at 2003-04-23 23:14
Message generated for change (Comment added) made by tonvoon
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=726552&group_id=29880

Category: Bugfix
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Earl Ruby (eruby)
>Assigned to: Ton Voon (tonvoon)
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.


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

>Comment By: Ton Voon (tonvoon)
Date: 2004-11-18 22:54

Message:
Logged In: YES 
user_id=664364

Earl,

Unfortunately, there is no patch attached. Patch 772757 appears to be 
similar. Will close this call for now - if you can provide a patch against a 
more recent check_disk.c version, you can add it to the above patch.

Ton

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

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