check_dig
Posted by tonvoon on 3 July 2008 - 12:46am
check_dig v2011 (nagios-plugins 1.4.12)
Copyright (c) 2000 Karl DeBisschop <kdebisschop@users.sourceforge.net>
Copyright (c) 2002-2008 Nagios Plugin Development Team
<nagiosplug-devel@lists.sourceforge.net>
This plugin test the DNS service on the specified host using dig
Usage:check_dig -l <query_address> [-H <host>] [-p <server port>]
[-T <query type>] [-w <warning interval>] [-c <critical interval>]
[-t <timeout>] [-a <expected answer address>] [-v]
Options:
-h, --help
Print detailed help screen
-V, --version
Print version information
-H, --hostname=ADDRESS
Host name, IP Address, or unix socket (must be an absolute path)
-p, --port=INTEGER
Port number (default: 53)
-l, --query_address=STRING
Machine name to lookup
-T, --record_type=STRING
Record type to lookup (default: A)
-a, --expected_address=STRING
An address expected to be in the answer section. If not set, uses whatever
was in -l
-A, --dig-arguments=STRING
Pass STRING as argument(s) to dig
-w, --warning=DOUBLE
Response time to result in warning status (seconds)
-c, --critical=DOUBLE
Response time to result in critical status (seconds)
-t, --timeout=INTEGER
Seconds before connection times out (default: 10)
-v, --verbose
Show details for command-line debugging (Nagios may truncate output)
Examples:
check_dig -H DNSSERVER -l www.example.com -A "+tcp"
This will send a tcp query to DNSSERVER for www.example.com
Send email to nagios-users@lists.sourceforge.net if you have questions
regarding use of this software. To submit patches or suggest improvements,
send email to nagiosplug-devel@lists.sourceforge.net
- Printer-friendly version
- Login or register to post comments