I wonder if something changed in 2.3, as in 2.2.4, it looks like the parsing would work to me.
Can you post what you get in an example event including component etc... -- James Pulver Information Technology Area Supervisor LEPP Computer Group Cornell University jonxp wrote, On 3/18/2009 11:40 PM: > q2srw77 wrote: >> I'm looking for some very good info on the command writing in Event Manager. >> I already know that I can write a pretty simple command and use the filters >> to apply it to a single device. >> >> /usr/local/zenoss/bin/winexe -U dm/username%password //myserver "net start >> w3svc" >> >> What I'm trying to do is get the myserver to pull from the device from the >> Event and Pull the WinService from the event. >> >> I looked at the Admin and Dev guides online and tried to use the same >> parameters that "ping" and "snmp walk" use without success. >> >> I don't want to have to write a command for each service on each server, >> that I would like to have it automatically restarted if they should fail. >> >> Can someone point me in the right direction or give me some advice. I'm >> very new to Zenoss and still learning about all of the features. >> >> Thanks > > > I am also trying to do something like what q2srw77 mentioned, i.e not to > write a "winexe" net start command for each service but to grep it from the > event. > > I tried following the instructions from Zenoss blog at > http://blog.zenoss.com/2008/03/21/restarting-windows-services-with-zenoss/ > > but a check of zenactions.log show that the grep was not correct: > > 2009-03-18 17:55:22 INFO zen.ZenActions: Running winexe -U "TEST\jonxp%jon" > //10.10.10.1 "net start The World Wide Web Publishing service service entered > the stopped state." > > I could not grep the service name 'W3SVC'. Can anyone advise? > > Big thanks in advance! [Wink] > > > > > -------------------- m2f -------------------- > > Read this topic online here: > http://forums.zenoss.com/viewtopic.php?p=32427#32427 > > -------------------- 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
