Bind (Linux - v9.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.
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
You can find where Perl is installed by using the following command:
Root credentials on the target server.
Tested on CentOS 5.5 and Bind 9.3.6 version.
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. To learn more, see Set thresholds.
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. (Note: It is possible that scripts will return non-integer values. If this monitor is unavailable, it may be that this service is not running.) Returned 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.