Re: [Nagios-users] [CHECK_DIG] PTR record check not working

2011-07-27 Thread Chris C
Thanks everyone! I'll try out these suggestions. /Chris C On Mon, Jul 25, 2011 at 10:11 PM, Jonathan Angliss j...@netdork.net wrote: On 07/25/11 20:19, Yueh-Hung Liu wrote: try this: check_dig -H 8.8.8.8 -l -x 74.203.101.150 -T PTR -v you have to pass the -x option to the dig utility.

[Nagios-users] [CHECK_DIG] PTR record check not working

2011-07-25 Thread Chris C
Hi guys, I am having trouble getting a PTR record check working with check_dig check_dig fails check_dig -H 8.8.8.8 -l 74.203.101.150 -T PTR -v /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR Looking for: '74.203.101.150' DNS CRITICAL - 0.169 seconds response time (No ANSWER SECTION

Re: [Nagios-users] [CHECK_DIG] PTR record check not working

2011-07-25 Thread Jonathan Angliss
On 07/25/11 08:37, Chris C wrote: Hi guys, I am having trouble getting a PTR record check working with check_dig check_dig fails check_dig -H 8.8.8.8 -l 74.203.101.150 -T PTR -v /usr/bin/dig @8.8.8.8 -p 53 74.203.101.150 -t PTR Looking for: '74.203.101.150' DNS CRITICAL - 0.169 seconds

Re: [Nagios-users] [CHECK_DIG] PTR record check not working

2011-07-25 Thread Yueh-Hung Liu
try this: check_dig -H 8.8.8.8 -l -x 74.203.101.150 -T PTR -v you have to pass the -x option to the dig utility. On Mon, Jul 25, 2011 at 9:37 PM, Chris C mazzy...@gmail.com wrote: Hi guys, I am having trouble getting a PTR record check working with check_dig check_dig fails

Re: [Nagios-users] [CHECK_DIG] PTR record check not working

2011-07-25 Thread Jonathan Angliss
On 07/25/11 20:19, Yueh-Hung Liu wrote: try this: check_dig -H 8.8.8.8 -l -x 74.203.101.150 -T PTR -v you have to pass the -x option to the dig utility. Interesting, I hadn't considered stringing together this, however check_dig returns a warning, which is because it's looking for: -x