JMX plugin

Marc Powell marc at ena.com
Tue Feb 26 20:13:29 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon
> Sent: Tuesday, February 26, 2008 12:09 PM
> To: Oliver Welter
> Cc: nagios-users at lists.sourceforge.net
> Subject: Re: [Nagios-users] JMX plugin
> 
> Oliver Welter wrote:
> >> which outputs:
> >>
> >> JMX OK - HeapMemoryUsage.used is
> >>
>
78707376,committed=1063321600;init=1073741824;max=1063321600;used=787073
76
> >>
> > IIRC, your output must start with the status keyword, so you have to
> > remove the "JMX" in front of the ok
> Really? I never got that from the Nagios development guidelines,
perhaps
> 
> SERVICE STATUS: Information text
> 
> is slightly ambiguous as it could mean "SERVICENAME then STATUS then
> Information text" or just "STATUS then Information text".

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.

--
Marc

-------------------------------------------------------------------------
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