Development of this ZenPack is sponsored by: Nova Networks
Submitted by: Ryan Matte
The Windows SNMP Service Monitor ZenPack allows Zenoss to monitor Windows Services via SNMP. It automatically links to the /Server/Windows device class. After installing the pack you can simply remodel devices in /Server/Windows and Zenoss will discover any services running on them.
Make sure that you lock the services to prevent them from being removed during a remodel while a service is down. Modeling will only pick up services that are running.
During installation and removal the ZenPack rebuilds device relations for all devices within the /Server/Windows device class. Depending on the number of devices that you have in that class, it can take a long time. You will notice some errors in the UI while the relations are being rebuilt, which is normal. Please be patient and allow it to complete. After the relations have been rebuilt Zenoss should be restarted. Make sure that the zenwinsrvsnmp daemon is running after the restart is performed.
As this is a newly released ZenPack there may be bugs that I haven't found yet. I tested it as much as I could before releasing it. If you find any bugs please message me a detailed report of the issues that you encountered and I will correct them in the next release. You can also post here.
- zWinServiceSNMPIgnoreNames: Place the full names of any services that you want to ignore in this line by line.
- zWinServiceSNMPMonitorNames: Place the full names of any services which you explicitly want to monitor (ignoring all others) in this line by line.
- zWinServiceSNMPMonitorNamesEnable: This enables/disables the use of zWinServiceSNMPMonitorNames
- Note that you need to remodel your devices for the above to take effect.
Keep in mind that zWinServiceSNMPIgnoreNames is constantly in use. If you put the same service name in both zWinServiceSNMPIgnoreNames and zWinServiceSNMPMonitorNames it will be ignored.
- zenwinsrvsnmp: Make sure this daemon is running or service monitoring won't work.
- WinServiceSNMP in /Server/Windows: This template is required for monitoring services. Do not bind this template to the device. Make sure the template is in the class that the device is in (or a higher class). The template will automatically be used for the windows services components.
- community.snmp.WinServiceMap: This plugin is required during modeling.
- Zenoss Versions Supported: 2.5 (py2.4) / 3.0 (py2.6) / 4.2 (py2.7)
- External Dependencies: none
- ZenPack Dependencies: none
- Installation Notes:
- 1.0 initial release
- 1.1 Updated to work with Zenoss 4
Tested: This ZenPack was tested with versions 2.5.2, 3.2.1, and 4.2.
Source: To be added once ZenPack is in git.