ZenPacks

DNS Monitor ZenPack

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

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.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.

Prerequisites

PrerequisiteRestriction
ProductZenoss platform 4.2.x, 5.x
Required ZenPacksZenPacks.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
    OptionDescription
    DNS ServerName 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.
    PortPort on which the name server is listening. This is normally port 53.
    Host NameHost name to resolve. The default is the device ID.
    Expected IP AddressIP address to which the host name is expected to resolve.

Daemons

TypeName
Performance Collectorzencommand

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.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

Open Source

This ZenPack is developed and supported by Zenoss Inc. Contact Zenoss to request more information regarding this or any other ZenPacks. Click here to view all available Zenoss Open Source ZenPacks.