ZenPack:Dig Monitor
Note: This is a Core ZenPack which can be found in the Core Zenoss RPM, and is fully documented in the Zenoss Extended Monitoring Guide. If you did not install this pack when you installed Zenoss Core, it can be found in $ZENHOME/packs.
- Organization
- Zenoss, Inc.
- ZenPack name
- ZenPacks.zenoss.DigMonitor
- More Information
- GitHub page/HomePage
Dig 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 part of Zenoss Core. Open Source users receive community support for this ZenPack via our online forums. Enterprise support for this ZenPack is provided to Zenoss customers with an active subscription.
Background
The ZenPacks.zenoss.DigMonitor ZenPack monitors the response time of DNS lookups.
To collect data, this ZenPack uses the check_dig Nagios plugin, which in turn uses the dig command.
Prerequisites
Prerequisite | Restriction |
---|---|
Product | Zenoss platform 4.x, Zenoss 2.2 or higher |
Required ZenPacks | ZenPacks.zenoss.DigMonitor |
Enable Monitoring
To enable monitoring by the system:
- Select Infrastructure from the navigation bar.
- Click the device name in the device list. The device overview page appears.
- Expand Monitoring Templates in the left panel, and then select Device.
- Select Bind Templates from the Action menu. The Bind Templates dialog appears.
- Add the DigMonitor template to the list of selected templates, and then click OK. The DigMonitor template appears under Monitoring Templates.
- Select the DigMonitor template in the left panel, and change options as needed.
DigMonitor Data Source Options Option Description DNS Server Name server against which the dig command should be run. The default is the device host name. Port Port on which the name server is listening. This is normally port 53. Record Name Name of the record you want to look up. The default is zenoss.com. Record Type DNS record type (for example, A, MX, CNAME).
Daemons
Type | Name |
---|---|
Performance Collector | zencommand |
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.zenoss.DigMonitor-*.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.zenoss.DigMonitor
- Finally, restart these serivices:
$ zenoss restart
Discuss
New: Don't forget to add yourself to the Zenoss User Map!