Bind (Linux).apm-template

Version 2

    Bind (Linux) Bind 9.5 and Earlier

     

    This template assesses the performance of a Bind service on Linux machines. It uses Perl scripts for monitoring the performance of queries.

    Prerequisites: SSH and Perl installed on the target server. SNMP installed on the target server and permission to monitor named processes.

    If Perl is installed in a location different from /usr/bin/perl, you should correct all components in the first line of the Script Body field (#!/usr/bin/perl), or you can create a symbolic link to Perl (refer to documentation for the ln command).

    You can find where Perl is installed by using the following command:  which perl

    Credentials: Root credentials on the target server.

     

    Note: Tested on CentOS 5.5 and Bind 9.3.6 version.


    Monitored Components:

    Note: You need to set thresholds for counters according to your environment. It is recommended to monitor counters for some period of time to understand potential value ranges and then set the thresholds accordingly. For more information, see http://knowledgebase.solarwinds.com/kb/questions/2415.

    Queries Rate per Sec

     

    This monitor returns rates per second of different queries. All rates are calculated as the number of specific queries for 20 seconds and then divided by 20. It is possible that scripts will return non-integer values. If this monitor is unavailable, it may be that this service is not running. Returning values:

    Success – This component returns the number of successful queries per second that the name server handled. Successful queries are those that did not result in referrals or errors.

    Referral – This component returns the number of queries per second that the name server handled and resulted in referrals.

    Nxrrset – This component returns the number of queries per second that the name server handled and resulted in responses saying that the type of record the client requested did not exist for the domain name it specified.

    Nxdomain – This component returns the number of queries per second that the name server handled that resulted in responses saying that the domain name specified did not exist.

    Recursion – This component returns the number of queries that the name server received that required recursive processing to answer .

    Failure – This component returns the number of queries the name server received that resulted in errors other than those covered by nxrrset and nxdomain.

    Total – This component returns the total number of queries per second.

     

    SNMP Process Monitor: Named

    This component returns CPU and memory usage of the named daemon.

    If these counters  are unavailable, there may be problems with SNMP configuration or the named service has stopped.

     

    Portions of this document were originally created by and are excerpted from the following sources:

    O'Reilly Media, Inc., “O’Reilly DNS & Bind,” Copyright © 2012 O'Reilly Media, Inc. All rights reserved. Available at http://books.google.com/books?id=HggtWI1ShvMC&pg=PT200&lpg=PT200&dq=%22than+those+covered+by+nxrrset+and+nxdomain%22&source=bl&ots=PRMtVUPE_w&sig=ht6tSGwKUOTMttGRu52N0QSnZtY&hl=en&sa=X&ei=R6CVT4LzE4Og2AW7quCLBQ&ved=0CCEQ6AEwAA#v=onepage&q=%22than%20those%20covered%20by%20nxrrset%20and%20nxdomain%22&f=false.