Poke around in the "Event Manager" link on the left. Click on the "Event Commands" tab. This is where you set up the commands you wish to run as a result of an event occuring.

Please note that there's a nasty bug in 1.1.x related to the eventClass filter. If you want to run commands using the eventClass as a filter you'll need to go into Zope and change a property by hand. The bug is fixed in 2.0.


-c

On May 4, 2007, at 1:22 AM, Bob Jensen wrote:

Hi Carl,

If the PDU supports telnet, you could do an expect script and run it from Zenoss to reset power on a down server.

There are good expect script examples out on the web.

BobJ
[EMAIL PROTECTED]

On 4/27/07, mrcarl81 <[EMAIL PROTECTED]> wrote:
Alright, I've moved onto making events do things. Although I see very clearly how to run a command on a node during an event, what about the situation where a machine goes down and you want Zenoss to do something?

For example:

In the event that a machine goes down, I want to run a script to reboot the machine by telneting to a PDU and sending commands to "reset" the power.

Basically, I will need to run that script on the localhost or some other host that is still running. Is there a way for Zenoss to do this?

------------------------
Carl Van Arsdall




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

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

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



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

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

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

Reply via email to