[Nagiosplug-devel] New threshold syntax - changes

Richard Edward Horner rich at richhorner.com
Tue Oct 13 22:11:40 CEST 2009

I understand your point but I disagree. I don't think "force" and
"intuitive" really go together. If I had written that sentence, I
would've used "consistent" and while I value consistency very highly
as a developer and systems administrator, the situation becomes less
clear when the proposed solution is less intuitive (this is purely an
opinion I realize) and users are already accustomed to the more
intuitive manner.

Maybe include a switch to use the old style?


On Tue, Oct 13, 2009 at 7:54 PM, Thomas Guyot-Sionnest <dermoth at aei.ca> wrote:
> Hash: SHA1
> Richard Edward Horner wrote:
>> OK, well, reading that page, I think it's an improvement over the
>> current spec but I want to stress that ranges are not conceptually
>> appropriate for a lot of situations and I doubt end users will want to
>> think of their check_users call as either the OK range being 0 to 10
>> or the critical range being 11 to infinity. I think making the end of
>> the range like you mentioned helps with this but you're still left
>> with the problem of you can't do:
> I have to disagree with this. Most f the time we want to alert when the
> value is over or under a certain threshold these two ranges do exactly that:
> crit=10..inf
> crit=inf..10
> Advanced range specifications can usw an "outside range", for example
> not in range 0..10:
> crit=!0..10
> It's also possible to specify is the values should be inclusive or
> exclusive.
>> check_users --critical=10
>> and
>> check_disk --critical=10
>> and have them both behave as expected. One of them will require some
>> "range" specific syntax when all I want to do is specify a level (and
>> it's obvious which way it should go) and not a range. Even if the
>> program itself is going to internally convert it into a range to do
>> it's check, how the thing is programmed shouldn't dictate how the user
>> has to interact with it.
> The current thresholds used to support only one of these cases, and is
> was confusing because users saw them as a "value" rather than a "range".
> In this proposal we want to force the use of range so it's much more
> intuitive to users. The first two examples above is all most users will
> have to understand to define simple thresholds on any plugin.
> - --
> Thomas
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> pJoAn1djVP586GdW4skPY8H/FyMl73iE
> =ghAN
> ------------------------------------------------------------------------------
> Come build with us! The BlackBerry(R) Developer Conference in SF, CA
> is the only developer event you need to attend this year. Jumpstart your
> developing skills, take BlackBerry mobile applications to market and stay
> ahead of the curve. Join us from November 9 - 12, 2009. Register now!
> http://p.sf.net/sfu/devconference
> _______________________________________________________
> Nagios Plugin Development Mailing List Nagiosplug-devel at lists.sourceforge.net
> Unsubscribe at https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> ::: Please include plugins version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null

Richard Edward Horner
Engineer / Composer / Electric Guitar Virtuoso
richhorner.com | rhosts.net | sabayonlinux.org

More information about the Devel mailing list