ZenPack:DNS 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.

Zenoss, Inc.
ZenPack name
Link to more docs
View Documentation

DNS Monitor ZenPack

This ZenPack provides status and response time monitoring of resolution against DNS servers.


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.


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.


The ZenPacks.zenoss.DnsMonitor ZenPack monitors the response time of DNS requests.

This ZenPack uses the check_dns Nagios plugin to collect data, which in turn uses the nslookup command.


Prerequisite Restriction
Product Zenoss platform 4.2.x, 5.x
Required ZenPacks ZenPacks.zenoss.DNSMonitor

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 DNSMonitor template to the list of selected templates, and then click OK. The DNSMonitor template appears under Monitoring Templates.
  6. Select the DNSMonitor template in the left panel, and change options as needed.
    DNSMonitor Data Source Options
    Option Description
    DNS Server Name server against which the nslookup command should be run. If empty (the default), the default DNS server or servers in /etc/resolve.conf are used.
    Port Port on which the name server is listening. This is normally port 53.
    Host Name Host name to resolve. The default is the device ID.
    Expected IP Address IP address to which the host name is expected to resolve.


Type Name
Performance Collector zencommand


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.DnsMonitor-*.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.DnsMonitor
  4. Finally, restart these serivices:
    $ zenoss restart


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

blog comments powered by Disqus