[Nagiosplug-devel] check_dns

Awais Ahmad awais at eurobell.net
Wed Feb 25 02:09:01 CET 2004


BTW the patch is against Nagios plugins 1.3.1.

Awais


On Mon, 2004-02-23 at 12:36, Awais Ahmad wrote:
> I have done this with the stable version of check_dns.c but never had
> the time to carry the changes across to HEAD. The patch is attached.
> 
> Although the main resolver lib functions are available, via
> GLIBC/LIBC,the response parsing routines (ns_parserr and friends) are
> only visible to the resolver lib functions themselves. 
> I've had to roll my own. 
> 
> I've tested on Debian GNU/Linux, Redhat GNU/Linux, FreeBSD current/4.X
> and Solaris 7.
> 
> 
> Awais Ahmad
> 
> 
> 
> 
> 
> 
> On Fri, 2004-02-20 at 03:52, Karl DeBisschop wrote:
> > On Thu, 2004-02-19 at 22:34, Ton Voon wrote:
> > 
> > > I'll have a go at this change, but only after I can get check_dns to 
> > > use the resolver routines instead of nslookup first. Most of 
> > > check_dns.c looks like it is parsing for error messages in nslookup!
> > 
> > Makes sense to me. That was the direction we wanted to go anyway, to use
> > the resolver instead of parsing scripts.
> > 
> > IIRC, the resolver is covered by POSIX, so we should have much less
> > platform-specific cruft once we do that.
> > 
> > --
> > Karl
> > 
> > 
> > 
> > -------------------------------------------------------
> > SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> > Build and deploy apps & Web services for Linux with
> > a free DVD software kit from IBM. Click Now!
> > http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> > _______________________________________________
> > Nagiosplug-devel mailing list
> > Nagiosplug-devel at lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel
> > ::: Please include plugins version (-v) and OS when reporting any issue. 
> > ::: Messages without supporting info will risk being sent to /dev/null
> > 





More information about the Devel mailing list