Home Directory Plugins Network Protocols DNS check_dns.pl (Advanced Nagios Plugins Collection)

Search Exchange

Search All Sites

Nagios Live Webinars

Let our experts show you how Nagios can help your organization.

Contact Us

Phone: 1-888-NAGIOS-1
Email: sales@nagios.com

Login

Remember Me

check_dns.pl (Advanced Nagios Plugins Collection) Popular

Rating
1 vote
Favoured:
0
Compatible With
  • Nagios 1.x
  • Nagios 2.x
  • Nagios 3.x
  • Nagios XI
Hits
411383
Network Monitoring Software - Download Nagios XI
Log Management Software - Nagios Log Server - Download
Netflow Analysis Software - Nagios Network Analyzer - Download
Checks DNS records including A, NS and MX records for domains
which the standard check_dns Nagios plugin can't do
Part of the Advanced Nagios Plugins Collection, download it here:

https://github.com/harisekhon/nagios-plugins

./check_dns.pl --help

Nagios Plugin to test a DNS record

Primarily written to check things like NS and MX records for domains
which the standard check_dns Nagios plugin can't do

usage: check_dns.pl [ options ]

-s --server DNS server(s) to query, can be a comma separated list of servers
-r --record DNS record to query
-q --type DNS query type (defaults to 'A' record)
-e --expected-result Expected results, comma separated
-R --expected-regex Expected regex to validate against each returned result
--no-uniq-results Test and display all results, not only unique results
-h --help Print description and usage options
-t --timeout Timeout in secs (default: 10)
-v --verbose Verbose mode
-V --version Print version and exit
Reviews (1)
Install notes would be helpful.
First had to install perl-Net-DNS, then ran into problem with:
use HariSekhonUtils
No idea what that is or where it is, not taking the time to dig.