[Nagiosplug-devel] Plugin output format
Thomas Guyot-Sionnest
Thomas at zango.com
Tue Jul 24 19:11:08 CEST 2007
> -----Original Message-----
> From: nagiosplug-devel-bounces at lists.sourceforge.net [mailto:nagiosplug-
> devel-bounces at lists.sourceforge.net] On Behalf Of Matthias Eble
> Sent: July 24, 2007 12:48
> To: Nagios Plugins Development
> Subject: Re: [Nagiosplug-devel] Plugin output format
>
>
> > So, my suggestion would be to change the standard plugin output to print
> > only the "Information text" and to print "STATUS: Information text" when
> > the plugin was called with "--verbose". Opinions?
>
> Hi again,
>
> long mail, short answer from my side:
> I agree. But somehow I like the status string even though I can't find
> an argument for that. Yet I'd cast my vote to remove both and declare
> them optional in the guidelines.
I like the status line too :)
Why not do the opposite and add a --quiet option. --verbose is already used
for debugging, so that would mean we'd need to change all --verbose into
--debug or something similar.
Also since we'll likely want the sort option too, it might be worth checking
how many plugins use -q, -Q, -d and -D...
Alternatively we could just start a new tree and commit all changes that
break compatibility for an eventual NP 2.0, making it clear that it's not
backwards-compatible.
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3076 bytes
Desc: not available
URL: <http://nagios-plugins.org/archive/devel/attachments/20070724/5e49d6b8/attachment.bin>
More information about the Devel
mailing list