[Nagiosplug-help] convert java code to plugin ???
Peter Krzystofiak
pkrzystofiak at endeavors.com
Tue Jan 7 08:33:06 CET 2003
Hello Pascal,
Thank you for your response.
Peter
-----Original Message-----
From: Pascal Miquet [mailto:p.miquet at hafiba.fr]
Sent: Tuesday, January 07, 2003 5:17 AM
To: Peter Krzystofiak
Cc: Nagios Plugin Help
Subject: Re: [Nagiosplug-help] convert java code to plugin ???
you may use a script to encapsulate your call. This is may be not the
best solution...
Also note that you might implement some critical and warning return
state.
Several perl script exist into the plugin directory, you may have a
look.
There is also a documentation on HOW coding plugins for nagios. Checks
on the web site, into the FAQ you may found it.
Regards
Pascal Miquet
Le mar 07/01/2003 à 02:41, Peter Krzystofiak a écrit :
> I have code that when it is executed, it prints one line
>
> example:
>
> java -cp x.jar RunX ====> System.out.println will print a
>
> "GOOD" or "BAD" depending on status of the thing that is being monitored.
>
>
> how to i go about turning this into a nagios plugin?
> i've dug deep through tons of documentation and have
> no idea how to convert this code into a plugin. (I know that
> there exists a mailing list for plugins)
>
> Input is welcomed
>
> Thank You,
>
> Peter
> pkrzystofiak at endeavors.com
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> Nagiosplug-help mailing list
> Nagiosplug-help at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagiosplug-help
More information about the Help
mailing list