It appears that you can have events trigger remote commands on windows boxes by using winexe and passing it the relevant TAILS expressions. So, if you are monitoring IIS process on a windows server, and it fails, you can have the 'IIS is Down' event trigger a command which uses winexe to stop and start IIS.
I do not know if you can do the same on a remote linux machine. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton Sent: Wednesday, January 24, 2007 6:47 PM To: General discussion of using zenoss system Subject: Re: [zenoss-users] Event Commands Hi Brandon, First we have someone using 1.1 before the official release _and_ reading the documentation. I expect the four horseman of the apocalypse any second.\ Yes, the new event actions do _not_ utilize the ssh connections that may be in use to run the zencommands. For the record, event actions are run from zenactions, who also sends you nice pages and emails about your systems' status. -Eric Brandon Leach wrote: > I guess I was confused by this in the admin manual: > > "You can run various commands such as stopping and restarting services on > monitored devices through Zenoss commands." > > The following screenshot shows two example commands 'sudo /etc/init.d/snmpd > restart', and using another using winexe to connect to a remote box and > restart zenwin. So, the 'sudo /etc/init.d/snmpd restart' command shown in > the screenshot would restart snmpd on the zenoss server? > > Just to clarify, you are saying that the new event actions do not utilize > the ssh connection used by zenplugin to run commands on remote servers? > > I really appreciate your help. > > Thanks, > Brandon > > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Eric Newton > Sent: Wednesday, January 24, 2007 5:34 PM > To: General discussion of using zenoss system > Subject: Re: [zenoss-users] Event Commands > > Hi Brandon, > > This isn't just a possible with Zenoss, it's the *only* possibility. > > All event commands run on the Zenoss system. Yes, of course, you can > get information about the event, which may describe the remote device, > but everything is started local to zenoss system. > > Of course, you could always use a longer script (using TALES > expressions) to effect remote systems. > > -Eric > > > Brandon Leach wrote: > >> Is it possible to have an event command run on the local Zenoss box rather >> than on the device which generated the event? I want a certain event to >> execute a script with TALES expressions on the box which zenoss is running >> (much like event handlers on nagios). Is this possible with zenoss? >> >> Thanks, >> Brandon >> >> >> >> ------------------------------------------------------------------------ >> _______________________________________________ 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
