Difference between revisions of "ZenPack:Windows SNMP Service Monitor"
Line 66: | Line 66: | ||
'''SCREENSHOTS:''' | '''SCREENSHOTS:''' | ||
− | [[File:ZP1.png| | + | [[File:ZP1.png|800px]] |
− | [[File:ZP2.png| | + | [[File:ZP2.png|800px]] |
− | [[File:ZP3.png| | + | [[File:ZP3.png|800px]] |
{{ZenPackFooter}} | {{ZenPackFooter}} |
Revision as of 17:54, 8 September 2014
- Author(s)
- Ryan Matte
- Current Maintainer(s)
- Ryan Matte
- License
- GNU General Public License, Version 2, or later
- ZenPack name
- ZenPacks.Nova.WinServiceSNMP
- More Information
- GitHub page/HomePage
- Link to more docs
- View Documentation
Devices Monitored:
Applications Monitored:
Windows SNMP Service Monitor ZenPack
Warning
The ZenPack Catalog has moved to its new home at https://www.zenoss.com/product/zenpacks as of January 17, 2017. The following information may be out of date, and this page will eventually be removed.
Support
This ZenPack is developed by the Zenoss user community and supported via our online forums. Zenoss, Inc. does not provide direct support for this ZenPack.
Releases
- Version 1.1 (4.2.x)- Download
- Compatible with Zenoss Core 4.2.x
- Incompatible with Zenoss Core 2.5.x, Zenoss Core 3.1.x, Zenoss Core 3.2.x
- Version 1.0 (3.2.x)- Download
- Compatible with Zenoss Core 3.2.x
- Incompatible with Zenoss Core 2.5.x, Zenoss Core 4.2.x
- Version 1.0 (2.5.x)- Download
- Compatible with Zenoss Core 2.5.x
- Incompatible with Zenoss Core 3.2.x, Zenoss Core 4.2.x
Background
DESCRIPTION:
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.
INSTALLATION:
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.
ZPROPERTIES:
- 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.
DAEMON:
- zenwinsrvsnmp: Make sure this daemon is running or service monitoring won't work.
TEMPLATE:
- 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.
MODELER PLUGIN:
- community.snmp.WinServiceMap: This plugin is required during modeling.
SCREENSHOTS:
Installation
Normal Installation (packaged egg)
- Download the appropriate egg file for the version of Zenoss you are running.
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Install the ZenPack:
$ zenpack --install ZenPacks.Nova.WinServiceSNMP-*.egg
- Restart these services:
$ zenoss restart
Developer Mode Installation
In order to do a development mode installation you will want to clone the existing git repository, and then use the --link flag with the zenpack command:
- Ensure you are logged in as the zenoss user:
$ sudo su - zenoss
- Start by cloning the upstream repository:
$ git clone git://github.com/path/to/repo
- Next, perform the installation:
$ zenpack --link --install ZenPacks.Nova.WinServiceSNMP
- Finally, restart these serivices:
$ zenoss restart
Discuss
New: Don't forget to add yourself to the Zenoss User Map!