ZenPack:Dig Monitor

From Zenoss Wiki
This is the approved revision of this page, as well as being the most recent.
Jump to: navigation, search

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


Applications Monitored: 



Dig Monitor ZenPack

DigMonitor monitors the response time of DNS lookups for devices running a DNS server.

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:


  1. Select Infrastructure from the navigation bar.
  2. Click the device name in the device list. The device overview page appears.
  3. Expand Monitoring Templates in the left panel, and then select Device.
  4. Select Bind Templates from the Action menu. The Bind Templates dialog appears.
  5. Add the DigMonitor template to the list of selected templates, and then click OK. The DigMonitor template appears under Monitoring Templates.
  6. 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)

  1. Download the appropriate egg file for the version of Zenoss you are running.
  2. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  3. Install the ZenPack:
    $ zenpack --install ZenPacks.zenoss.DigMonitor-*.egg
  4. 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:

  1. Ensure you are logged in as the zenoss user:
    $ sudo su - zenoss
  2. Start by cloning the upstream repository:
    $ git clone git://github.com/path/to/repo
  3. Next, perform the installation:
    $ zenpack --link --install ZenPacks.zenoss.DigMonitor
  4. Finally, restart these serivices:
    $ zenoss restart

Discuss

Purplemarker.png New: Don't forget to add yourself to the Zenoss User Map!

blog comments powered by Disqus