Ok guys... like you I was having the same problems. It looks like we just 
missed a step.

For the sake of this post I'm monitoring a service called NetworkVantageProbe. 
After getting WMI working, I was able to add the Winservice just fine. I set 
the "Accept Pause" and "Accept Stop" settings to false. In other words, I just 
wanted it know it was down. When I would stop the service, the zenwin.log would 
show that it stopped but like you, it would stay green and look like it was up.


Code:

2008-01-28 12:02:19 INFO zen.zenwin: IEW-BACCP18: NetworkVantageProbe running
2008-01-28 12:04:19 WARNING zen.zenwin: IEW-BACCP18: NetworkVantageProbe stopped




What I did then was check the service itself in 
/Services/WinService/NetworkVantageProbe. Right there it it tells you that 
monitor is set to "false". I went into zProperties of the service and set the 
zMonitor setting to "true", saved changes, and then restarted zenoss.

After the restart the zenwin.log started looking like below.


Code:
2008-01-28 12:56:42 WARNING zen.zenwin: IEW-BACCP18: NetworkVantageProbe stopped
2008-01-28 12:56:42 CRITICAL zen.zenwin: Windows Service 'NetworkVantageProbe' 
is down
2008-01-28 12:56:42 INFO zen.zenwin: svc down IEW-BACCP18, NetworkVantageProbe
2008-01-28 12:59:31 INFO zen.zenwin: IEW-BACCP18: NetworkVantageProbe running
2008-01-28 12:59:31 INFO zen.zenwin: Windows Service 'NetworkVantageProbe' is up
2008-01-28 12:59:31 INFO zen.zenwin: svc up IEW-BACCP18, NetworkVantageProbe




You can tell by the log that the service is now being reported as Critical down 
and now it alerts accordingly.

Hope this works for you as well as it did for me.




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

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

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



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

Reply via email to