[Nagiosplug-devel] "Bug" in plugin check_users

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Oct 2 13:51:20 CEST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/10/08 02:02 AM, Andreas Wehrmann wrote:
> Dear friends,
> 
> I noticed a possible error in the check_users plugin.
> According to the developer guideline, when I say "check_users -w 5"
> a warning should be generated if there are MORE than five users logged
> in but in fact it generates a warning when there are 5 or more users
> logged in!
> Just wanted to let you know that because this observation is in
> contradiction with what the developer guideline says.

If the --help output of the plugin specify the thresholds format it is
this format that should be used, and not the one described in the
developers guidelines.

Unfortunately many plugins still use their own thresholds... It would at
the very least require a major release to fix it as this would break
compatibility.

On the bright side there's plans for a new thresholds system that would
put back all plugins on the same ground (and provide much more
flexibility), but development of this new feature hasn't yet started.

- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFI5LW36dZ+Kt5BchYRAq8XAKCNo4QlUBsWZYJczz0Md1L5KNMhcQCg9ahJ
O/7rkel1NF7SC91ru+47loI=
=RL0A
-----END PGP SIGNATURE-----




More information about the Devel mailing list