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

SourceForge.net noreply at sourceforge.net
Fri Feb 21 13:58:26 CET 2003


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

Category: None
Group: None
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Simon L. Nielsen (nitro)
Assigned to: Ton Voon (tonvoon)
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


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

>Comment By: Ton Voon (tonvoon)
Date: 2003-02-21 22:06

Message:
Logged In: YES 
user_id=664364

Simon,

Thanks for the patch. Applied to check_dns.c v1.8. Closing this call.

Ton

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

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