[Pkg-nagios-devel] check_disk_smb_* Problems?

sean finney seanius at debian.org
Mon Jan 8 04:50:41 CET 2007


hey jan,

On Fri, 2007-01-05 at 16:24 +0100, Jan Wagner wrote:
> I get the following Status Information: "Invalid warning threshold: -H"
> 
> So anything is strange there. Looking at the "Usage", -w and -c is required, 
> but lower there are defaults quoted.
> 
> Does anybody also notice this? Should we add "-w" and "-c" to the default 
> templates of check_disk_smb* ?

yeah, i've had similar problems in the past with some form of the smb
plugin config.  the problem is basically that the actual plugin really
sucks.  i'd love to rewrite the plugin against some API instead of
interpreting the output of smbclient, but unfortunately there isn't
an API that will let us do this afaict[1].

so if you're looking to waste some time, take a look into the argument
processing/handling section of the plugin, and there's probably
something somewhere where some option is being unconditionally used or
set or somehow overriding another unrelated option or something. (that's
really specific, isn't it? :)


	sean


[1] libsmbclient only lets us deal with files/directories, but doesn't
let us do anything useful like poll disk space status.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-nagios-devel/attachments/20070107/39f64408/attachment.pgp


More information about the Pkg-nagios-devel mailing list