Ok been messing around with configuration and here is what I found

 

I had 2 windows boxes under /Devices/Server/Windows so I moved the box
without Python/Zenwin installed to just /Devices/Server, 

and now it seems to find the winservices and can connect to the box with
WMI (the box with zenwin and python)

 

I also noticed that even though it found the windows services it
wouldn't properly monitor them I.E..when I took a service

offline it didn't update Zen.  So after some messing around I changed my
config files to what you see below:

 

winurl          http:// myserver:8080/zport/dmd/Devices/Server/Windows

zopeusername    admin

zopepassword    zenoss

zem             http://myserver:8080/zport/dmd/ZenEventManager

 

That is my zenwin.cfg file.  What's really odd is if I set a service to
be monitored, shut off the service on the box, then run from the command
line

Python zenwin.py -C etc\zenwin.cfg it properly sees the service as down,
I get an event in zen, and the service under the device changes from up
to level  1, then 2 etc...

 

But if I take that same configuration and set it as a service, start the
service, I don't get any updates or events to zen....any clue anyone?
Should the ZEM URL be set to the above or something else?

 

thanks

 

 

 

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

Reply via email to