[Nagiosplug-devel] Plugin output format

Holger Weiss holger at CIS.FU-Berlin.DE
Tue Jul 24 19:30:09 CEST 2007

* Thomas Guyot-Sionnest <Thomas at zango.com> [2007-07-24 10:11]:
> > > 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?
> >
> > 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.

I don't want the plugin to be --quiet, I want --no-redundant-output ;-)
Well, yes, if people really want the STATUS and/or SERVICE output, I'd
prefer having such an option over not even having it, of course.

> --verbose is already used for debugging, so that would mean we'd need to
> change all --verbose into --debug or something similar.

As I thought that printing out the STATUS _is_ only interesting for
debugging purposes, my idea was to keep it simple and just add the
STATUS to the current (possibly multi-line) --verbose output.  I didn't
really see the need to have the option of printing out a single line
including the STATUS _next_ to the option of printing out the STATUS if
requesting the "--verbose" output.


PGP fingerprint:  F1F0 9071 8084 A426 DD59  9839 59D3 F3A1 B8B5 D3DE

More information about the Devel mailing list