calling a java program from nagios

Venugopal S venugopals at aztecsoft.com
Fri Jan 30 06:24:30 CET 2009


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 ?

Venu

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


On Jan 29, 2009, at 7:30 AM, Venugopal S wrote:

> Hi,
>
> For some purpose that was not served by nagios, we have written a 
> java program.
> One of our client requirement is that this java code (if possible) 
> has to be integrated with nagios so that all the purpose is 
> solved(apparently) by nagios framework.

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

This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no  liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.
The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address.

www.aztecsoft.com

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