I understand how to create an event command based on the "echo" example in the 
documentation. I get how to filter for an event to trigger the command. Can 
someone explain how I'd create a command to restart apache on a Remote server? 
All of the commands I'd want to trigger will need to run on remote servers and 
restart services like mysql, apache, smtp and some of our own custom apps. 
These are all Linux servers, so I'd just like to be able run (for example) 
/etc/rc.d/init.d/httpd  restart graceful on the remote linux box when my port 
check on port 80 goes down. Or I could write a script that contains the 
command, store it on the linux box and have zenoss execute it as myscript.sh. 
An example would be helpful. 

Many thanks!




-------------------- m2f --------------------

Read this topic online here:
http://community.zenoss.com/forums/viewtopic.php?p=19410#19410

-------------------- m2f --------------------



_______________________________________________
zenoss-users mailing list
[email protected]
http://lists.zenoss.org/mailman/listinfo/zenoss-users

Reply via email to