The following HowTo describes setting up Zenoss to monitor DNS server queries, defined by domain name and DNS server to query. You will choose which Zenpack and method to implement, setup needed devices, create a performance template, combine them to utilize graphs and allow error Events to be returned.

What is DNSMonitor and DIGMonitor?

DNS and DIGMonitor are ZenPacks that will add a new DataSource Type for you to use. For each datasource you setup, you get a single datapoint: seconds taken to receive query results.

Choose a Zenpack

Both zenpacks do the same basic thing... lookup and query a DNS server for a domain that you provide it. They each give slightly different data back and each provides slightly different options.

  1. DNSMonitor
    • + Allows you to enter a name, and the expected IP address for it to return.
    • + It will generate an event if the returned IP is different.
    • - Cannot easily do different record types
    • See dnsmonitor for details.
  2. DIGMonitor
    • + Allows you to enter a record name, and a port (not in DNSMonitor)
    • + Can easily do different record types
    • - No expected return address. It will not generate an event like above.
    • See digmonitor for details.

Choose an Implementation Method

You may want to do different things with DNS monitoring. Each has benefits. Choose which one you want, and follow its instructions below. Really, both methods can do both things, so just choose one if you are not sure

  1. Method 1: Template applied to devices you want to query on
    • + Validity - Verifying that DNS is giving valid results
    • + Scales better - Allows easier replication to many domains
    • + Specified Events - Will let you know that there is a problem with a particular query
    • = Scaling - Easier replication to many domains; All domains to be queried, must be entered as a device
    • - Graphing worse - Each device will have its own seperate graph, NOT conglomerated
    • - Timing worse - not conglomerated in one place per nameserver
  2. Method 2: Template applied to nameserver device
    • + Timing - Displays how long DNS queries take in a conglomerated place
    • + Graphing - Allows many domains / URLs to be displayed in one graph
    • - Scales worse - Requires more manual entry if you have lots of domains or nameservers to monitor
    • - Validity & Events - Exists, but many domains can throw an error under the auspices of a single nameserver device


technology/zenoss/howtos/monitoring_dns_servers_with_dnsmonitor_and_digmonitor.txt · Last modified: 04.06.2009 19:42 by nyeates1
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki