Search Exchange
Search All Sites
Nagios Live Webinars
Let our experts show you how Nagios can help your organization.Login
Directory Tree
check_dns.pl (Advanced Nagios Plugins Collection) Popular
- Nagios 1.x
- Nagios 2.x
- Nagios 3.x
- Nagios XI
785874
Meet The New Nagios Core Services Platform
Built on over 25 years of monitoring experience, the Nagios Core Services Platform provides insightful monitoring dashboards, time-saving monitoring wizards, and unmatched ease of use. Use it for free indefinitely.
Monitoring Made Magically Better
- Nagios Core on Overdrive
- Powerful Monitoring Dashboards
- Time-Saving Configuration Wizards
- Open Source Powered Monitoring On Steroids
- And So Much More!
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
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.
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.