[Nagiosplug-devel] "Bug" in plugin check_users
Thomas Guyot-Sionnest
dermoth at aei.ca
Thu Oct 2 16:41:32 CEST 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 02/10/08 10:12 AM, Richard Edward Horner wrote:
>> 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,
>
> Has there been any discussion on this? I'm very interested as I'm not
> a huge fan of the current threshold system spelled out in the
> guidelines but this is the first mention I've heard of this.
> Admittedly, I've only been reading this mailing list for a couple
> months. If there's a thread in the archives or something...
The latest RFC is available there:
http://nagiosplugins.org/rfc/new_threshold_syntax
Although I had comments on them put the thread petered out... Basically
I think:
1. The format should be --thresh={definition} and definition should have
a "metric" parameter (or none, see quoted part of attached email),
instead of --{metric}={definition}. This is longer but IMHO more flexible.
2. There should be a "uprefix" and "unit" parameter to replace "uom",
where uprefix is the SI prefix (K=10^3, Ki=2^10, M=10^6, Mi=2^20, etc.)
and uom is the unit itlelf (B=Byte, b=bit, s=seconds, etc.). If
"uprefix" is ommited there could be "smart" defaults set by the plugin.
SI prefixes:
http://physics.nist.gov/cuu/Units/prefixes.html
http://physics.nist.gov/cuu/Units/binary.html
I attached the last email I sent on the last thread regarding this
subject, but I didn't update the RFC as Ton suggested because I did not
had any comments on that specific part from the community, and what's
currently in the RFC has been throughfully be discussed before. Feel
free to restart a new thread though. :)
- --
Thomas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFI5N2c6dZ+Kt5BchYRAnX3AKCghJVHwy0lN5O5WpeU4zR7agSJlACcDGR7
Os/yjlTj6AAUz3W2W/OUmHE=
=YfhJ
-----END PGP SIGNATURE-----
-------------- next part --------------
An embedded message was scrubbed...
From: Thomas Guyot-Sionnest <dermoth at aei.ca>
Subject: Re: [Nagiosplug-devel] New threshold syntax (New thread)
Date: Mon, 28 Apr 2008 22:12:20 -0400
Size: 4690
URL: <http://nagios-plugins.org/archive/devel/attachments/20081002/ab38c615/attachment.mht>
More information about the Devel
mailing list