Bind (Linux - v9.5 and earlier)
This SAM application monitor 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
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: 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: The number of queries per second that the name server handled and resulted in referrals.
- Nxrrset: 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: 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: The number of queries that the name server received that required recursive processing to answer.
- Failure: The number of queries the name server received that resulted in errors other than those covered by nxrrset and nxdomain.
- Total: The total number of queries per second.
SNMP Process Monitor: Named
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.