Plugin Output Standardization (was JMX plugin thread)

kyle.odonnell at gmail.com kyle.odonnell at gmail.com
Wed Feb 27 13:58:41 CET 2008


My $0.02:

plug-in output isn't completely arbitrary if you plan on processing
performance data.

considering that a single defined command can be turned into multiple
services (assuming you use $ARG$ variables) I don't think printing the
servicename would be helpful.  The servicename is already available in
both the web and notification output too.

-Kyle

On 2/27/08, Hari Sekhon <hpsekhon at googlemail.com> wrote:
> Marc Powell wrote:
> > The plugin output text is completely arbitrary. Nagios only really cares
> > about the exit code and that there's only one line of plugin output,
> > whatever it is
> Yes quite right, but standardization of output is nice for coherence and
> to give a more professional unified feel.
>
> Do you have any preference between the two? There seems to unfortunately
> be a mix between the two styles.
>
> Perhaps the official development guidelines could be adjusted to steel
> people towards one standard output format on this?
>
> I'd vote for the "SERVICENAME SERVICESTATUS: Informational text" format
> like "DISK OK: / is 50% full" ...
>
> -h
>
> --
> Hari Sekhon
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting
> any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list