I would abstract the actual command into a python or bash script to keep the 
password hidden.  If the event command fails it will generate an event with the 
entire path and all arguments to the command...and you probably don't want your 
password displayed in plaintext in an event.

As for how to get the service name...I would check into just what all 
information you can get out of the evt object.  You may be able to pull the 
service name from the evt object.

You probably want to take a look at the zenoss admin guide; it's got a few nice 
tables in the back that tell you what all variables there are to muck with and 
how to do custom commands and such.

--seth




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

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

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



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

Reply via email to