[Nagiosplug-devel] [ nagiosplug-Bugs-689563 ] check_dns -a fails on FreeBSD

SourceForge.net noreply at sourceforge.net
Wed Feb 19 12:29:02 CET 2003


Bugs item #689563, was opened at 2003-02-19 21:25
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=689563&group_id=29880

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Simon L. Nielsen (nitro)
Assigned to: Nobody/Anonymous (nobody)
Summary: check_dns -a fails on FreeBSD

Initial Comment:
When using the -a option to check_dns on FreeBSD it
fails since nslookup on FreeBSD apparently prints the
address with more whitespace than check_dns expects.
Example :

/tmp/nagios-plugins-1.3.0-beta2/plugins/check_dns -H
www.nitro.dk -a 212.242.113.79 -s 192.168.3.2
DNS CRITICAL - expected 212.242.113.79 but got 
212.242.113.79

The following fix (it should also be attached) strips
spaces before the IP.

http://simon.nitro.dk/patch/nagios/check_dns_freebsd.patch


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=397597&aid=689563&group_id=29880




More information about the Devel mailing list