[Nagiosplug-devel] New Threshold Syntax

Páll Guðjón Sigurðsson palli at ok.is
Tue Sep 3 15:55:20 CEST 2013

The plugin guidelines are like a bible over here. You will not believe how much work i have saved by following the guidelines instead of inventing the wheel by myself. They are in fact terrific.

Its the kinks in extra-opts that is my current source of under enthusiasm.


1) By observing the examples it seems the following is allowed:
# ./check_stuff --extra-opts=@/etc/myconfig.ini
# ./check_stuff --extra-opts -jk --some-other-opt

The latter one causes confusing ambiguity and its not supported by python's OptionParser. I'd prefer to see it removed from the spec. and replaced with --extra-opts='' to achieve the same end result.

----- Original Message -----
From: "Holger Weiß" <holger at cis.fu-berlin.de>
To: "Nagios Plugins Development" <nagiosplug-devel at lists.sourceforge.net>
Sent: Tuesday, September 3, 2013 12:13:23 PM
Subject: Re: [Nagiosplug-devel] New Threshold Syntax

* Páll Guðjón Sigurðsson <palli at ok.is> [2013-09-03 11:43]:
> I would personally like to see the new threshold syntax move forward
> once someone is willing to spend the proper resources on it. In the
> meantime you guys can help out a lot and give this alternative syntax a
> better name than "the new threshold syntax". We claim to support it in
> pynag, but 10 years from now my code will look really silly if it
> references "the new threshold syntax" everywhere.

I see you point, but *I* am incredibly bad at naming things, so someone
else will have to jump in.

> On those notes, we try to follow very closely the guidelines that you
> guys give us, namely plugin developer guidelines and extra-opts
> guidelines, no matter what we think of them

Hehe, I don't know why, but for some reason I get the feeling your're
not completely brimmed over with enthusiasm for these terrific

> but one thing that would help us a lot if you can put a version number
> (or even just a date) on the guidelines that you post.

Good point, will do.


Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
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

More information about the Devel mailing list