[Nagiosplug-devel] comparisons of -w and -c

sean finney seanius at seanius.net
Thu May 5 13:25:24 CEST 2005


hi,

On Thu, May 05, 2005 at 10:09:17PM +0200, Andreas Ericsson wrote:
> Josh wrote:
> >The check_disk and check_swap plugins error if -w is *less* than -c - it 
> >should
> >be the other way around. (this still is true in the most recent CVS)
> >
> 
> No it should not, since they report (and warn) on how much space (in 
> percent) that is free. It's a common misconception.

and this behaviour has changed *at least* once in the past, if not more.

honestly, for the sake of stability and consistancy i'd suggest leaving
it as it is.  it might be nice to have a flag that let you select what
you'd like to check (% left/used and Gb/Mb left/used, like the -T in
check_snmp_storage), but otherwise i think it's fine the way it is.


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://nagios-plugins.org/archive/devel/attachments/20050505/6b5abd52/attachment.sig>


More information about the Devel mailing list