[Nagiosplug-devel] [ nagiosplug-Patches-1852201 ] Added -o option to sort returned addresses
SourceForge.net
noreply at sourceforge.net
Mon Dec 17 11:02:00 CET 2007
Patches item #1852201, was opened at 2007-12-17 21:02
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1852201&group_id=29880
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Enhancement
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Thiago Figueiro (thiagocsf)
Assigned to: Nobody/Anonymous (nobody)
Summary: Added -o option to sort returned addresses
Initial Comment:
On round-robin setups, DNS queries will return addresses on a different order on each request. This renders the -a option useless. The attached patch will add option -o to sort the returned addresses, making -a option useful again.
For more info, please see
http://microrants.blogspot.com/2007/11/checking-your-round-robin-dns-with.html
Patch against Plugin Version (-V output): 1.4.10
Plugin Name: check_dns
Example Plugin Commandline: check_dns -H google.com.au -o -a 72.14.203.104,72.14.207.104,72.14.235.104
Tested on operating system: Debian Etch, Solaris 10
Tested on architecture: i686, sparc
Tested with compiler: gcc 4.2.3, Sun's crazy-ass compiler (can't remember the version)
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=397599&aid=1852201&group_id=29880
More information about the Devel
mailing list