calling a java program from nagios

Marc Powell marc at ena.com
Fri Jan 30 07:29:03 CET 2009


On Jan 29, 2009, at 11:24 PM, Venugopal S wrote:

>
> Hi Marc,
>
> The program can be run from commandline with one argument (which is
> critical for the java code to work).
>
> For example : "java -classpath Notify.jar <argument>" is the format.  
> How
> to achieve this is nagios ?

See the rest of my questions below. You have not yet stated your  
intent so we can't answer how to do it. Be _very_ clear about what  
you're trying to accomplish.

> -----Original Message-----
> From: Marc Powell [mailto:marc at ena.com]
> Sent: Thursday, January 29, 2009 9:21 PM
> To: nagios-users ML
> Subject: Re: [Nagios-users] calling a java program from nagios


>
> Your post and purpose is unclear. Is this java program a check plugin,
> an event handler, a notification program, etc? If you can manually run
> it from the command line, nagios should be able to do so.
>
> --
> Marc


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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