event handlers - remote commands

Subhendu Ghosh sghosh at sghosh.org
Tue Jun 3 18:13:39 CEST 2003


On Tue, 3 Jun 2003 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,
> 

You need to setup ssh (passwordless or keychain) access and then run the 
init script to restart the server.

-- 

-sg



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