calling a java program from nagios

ankit.mehrotra at tcs.com ankit.mehrotra at tcs.com
Thu Jan 29 15:23:07 CET 2009


For doing this, you have to describe an appropriate command in 
commands.cfg file, which will have this java program as an entry in 
command_line.
This command can be called from a service for any machine.

Personally, I dont think that executing a Java program through  nagios is 
a good option. As every time this command is called, a jvm will be 
initiated which will consume pretty substantial system resources.


 -- Ankit 




"Venugopal S" <venugopals at aztecsoft.com> 
01/29/2009 07:00 PM

To
<nagios-users at lists.sourceforge.net>
cc

Subject
[Nagios-users] calling a java program from nagios






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.
 
Any input is appreciated.
 
Thanks
Venu

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
ForwardSourceID:NT00030E8A 
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20090129/83851a29/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
-------------- next part --------------
_______________________________________________
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