Discussion:
Monitoring windows services and ping in Zenoss
markholmes
2008-06-26 10:37:01 UTC
Permalink
Hi,

I'm trying to monitor Windows services in Zenoss but with no luck.

On the OS tab, I have added the services under WinServices. Monitor is ticked and I have set the service settings to Monitor=true, Fail Severity=critical etc.

The service status is green, but whenever I stop the service I don't get any alert and it continues to show green. Am I missing something?

Also how to set up a simple ping to each server to monitor it's status?

Thanks in advance,

Mark




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

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

-------------------- m2f --------------------
James Pulver
2008-06-26 12:42:45 UTC
Permalink
Ping monitoring is pretty much by default. Are these servers in
/Device/Servers/Windows? Is the WMI polling working? When you added the
service, did you pick from a list that Zenoss found, or did you manually
enter them? Check ZenWinModeler.. Which version of Zenoss are you running?
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Post by markholmes
Hi,
I'm trying to monitor Windows services in Zenoss but with no luck.
On the OS tab, I have added the services under WinServices. Monitor is ticked and I have set the service settings to Monitor=true, Fail Severity=critical etc.
The service status is green, but whenever I stop the service I don't get any alert and it continues to show green. Am I missing something?
Also how to set up a simple ping to each server to monitor it's status?
Thanks in advance,
Mark
-------------------- m2f --------------------
http://community.zenoss.com/forums/viewtopic.php?p=21841#21841
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
http://lists.zenoss.org/mailman/listinfo/zenoss-users
kiddbios
2008-06-26 19:25:11 UTC
Permalink
I am actually having the same problem. All of my devices are under Servers/Windows and WMI appears to be working. I've stopped services but do not get alerts and the services still show as being up. I am using version 2.2. I am using the services found by Zenoss when it polled via WMI.




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

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

-------------------- m2f --------------------
kiddbios
2008-06-27 17:30:18 UTC
Permalink
Last night I took a Zenoss monitored server offline for over an hour. I refreshed the status repeatedly and it always showed as being "UP". Is there something special I need to do or some type of polling interval that needs to be set to enable it to update and tell me the server is down? After I brought the server back up I verified that I could snmp walk it and WMI is reporting information as well. I greatly appreciate any guidance that the community can provide.




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

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

-------------------- m2f --------------------
James Pulver
2008-06-27 18:25:47 UTC
Permalink
This might be a bug with 2.2.0... I don't see this with 2.1.2, it alerts
within a few minutes that a server is down.
--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Post by kiddbios
Last night I took a Zenoss monitored server offline for over an hour. I refreshed the status repeatedly and it always showed as being "UP". Is there something special I need to do or some type of polling interval that needs to be set to enable it to update and tell me the server is down? After I brought the server back up I verified that I could snmp walk it and WMI is reporting information as well. I greatly appreciate any guidance that the community can provide.
-------------------- m2f --------------------
http://community.zenoss.com/forums/viewtopic.php?p=21914#21914
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
http://lists.zenoss.org/mailman/listinfo/zenoss-users
markholmes
2008-07-03 10:50:12 UTC
Permalink
There is definately something not right - I have set up services to be monitored and get no alert when they are stopped. It seems to work on some servers but not on others and I can't see a pattern.

Currently running 2.1.3, am going to upgrade to 2.2 and see what happens.

All my servers show 100% uptime which isn't right - at least one of them has been taken down for an hour recently for maintenance but still shows 100%.




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

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

-------------------- m2f --------------------
markholmes
2008-07-03 10:58:06 UTC
Permalink
James,

Thanks for your reply.

Ping monitoring is pretty much by default. Are these servers in
/Device/Servers/Windows?

Yes they are.

Is the WMI polling working?

I am pretty sure it is as when I go to add services, Zenoss gives me a list of all the services on the target machine which I assume it retrieves using WMI. I have also run wbemtest on the servers to check WMI is working.


When you added the
service, did you pick from a list that Zenoss found, or did you manually
enter them?

Pick from the list.

Check ZenWinModeler..

What should I check for?

Which version of Zenoss are you running?

2.1.3 - am going to go to 2.2

Thanks James,

Regards,

Mark




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

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

-------------------- m2f --------------------
James Pulver
2008-07-03 13:17:36 UTC
Permalink
I would check the logs, specifically Zenwin log file:
Look to see if on your test system if something like
2008-06-29 06:54:20 WARNING zen.zenwin: testcomputer: service stopped

If you do, Zenoss is noticing, and it's not getting passed up. If not,
then it's not even noticing.

How is your alerting set up? There is/was a bug with the OS tab entry
staying Green when things went down, but the status page would show it
down, and you would get alerts...


--
James Pulver
Information Technology Area Supervisor
LEPP Computer Group
Cornell University
Post by markholmes
James,
Thanks for your reply.
Ping monitoring is pretty much by default. Are these servers in
/Device/Servers/Windows?
Yes they are.
Is the WMI polling working?
I am pretty sure it is as when I go to add services, Zenoss gives me a list of all the services on the target machine which I assume it retrieves using WMI. I have also run wbemtest on the servers to check WMI is working.
When you added the
service, did you pick from a list that Zenoss found, or did you manually
enter them?
Pick from the list.
Check ZenWinModeler..
What should I check for?
Which version of Zenoss are you running?
2.1.3 - am going to go to 2.2
Thanks James,
Regards,
Mark
-------------------- m2f --------------------
http://community.zenoss.com/forums/viewtopic.php?p=22118#22118
-------------------- m2f --------------------
_______________________________________________
zenoss-users mailing list
http://lists.zenoss.org/mailman/listinfo/zenoss-users
markholmes
2008-07-06 15:41:24 UTC
Permalink
Having finally had a good look at this, the problem is that zenwin keeps stopping - I have restarted them both at least twice in the last 24 hrs. Once zenwin is running I get alerts when services are stopped. I will do some more digging to try and work out why zenwin is stopping and report back. Has anybody else had this issue?




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

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

-------------------- m2f --------------------
oyvindha
2008-07-07 13:17:24 UTC
Permalink
I had the same problem. Zenhub and Zenwin crashing, Zenhub showing as online even if it was not though.

Cut/paste from another thread the solution that helped me. No crashes since.



Check and see if there is a zenhub process still running.

ps auwx | grep zenhub

Stop Zenoss, kill any zenhub process still running (as stated above), clear out cache files (rm /path/to/zenoss/var/*.zec) and restart zenoss.




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

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

-------------------- m2f --------------------
markholmes
2008-07-08 13:15:44 UTC
Permalink
OK, thanks for that.

I've just stop the process and cleared the cache so let's see what happens




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

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

-------------------- m2f --------------------
markholmes
2008-07-08 13:18:02 UTC
Permalink
OK, thanks for that.

I've just stop the process and cleared the cache so let's see what happens




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

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

-------------------- m2f --------------------
markholmes
2008-07-09 19:39:24 UTC
Permalink
Zenwin and zeneventlog both stop after a couple of hours. I am going to open a new post.




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

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

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

Loading...