event handlers - remote commands

Dominik L. Borkowski dom at VBI.VT.EDU
Tue Jun 3 16:12:11 CEST 2003


On Tuesday 03 June 2003 09:16 am, frank at vault.com wrote:
> Hello all,
> I am trying to configure an event handler for a tomcat process on a remote
> server.  Basically, if the state changes to critical I want a custom script
> to run and restart the service.  Sounds easy and maybe it is, but I am not
> sure how to invoke a custom command on a remote server. Thanks,
>
> -Frank

I know this is off-topic, but a bit similar. I am almost finished with a small 
plugin to check for tomcat services remotely, if anybody is interested, I'll 
post the code somewhere. It's a rip-off from one of the perl plugins that 
comes with nagios, and uses SOAP::Lite.


-- 
Dominik L. Borkowski - Systems Administrator
Virginia Bioinformatics Institute - www.vbi.vt.edu



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
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