[Nagiosplug-devel] check_dns
Ton Voon
tonvoon at mac.com
Tue Feb 17 18:27:58 CET 2004
Richard,
This is a good idea. I was thinking that we should use multiple -a
arguments to specify more ip addresses (eg "check_dns -H ibm.com -a
10.10.10.1 -a 10.10.10.2").
For the comparison between the expected ips and the returned ips by the
nameserver, I presume we consider it a failure if all the ips are not
returned (order independent)?
Ton
On 17 Feb, 2004, at 21:54, Richard Mayhew wrote:
> Hi,
>
> This issue may have been raised in the past, but here goes anyways.
>
> The check_disk plugin is able to check an address returned by the
> check plugin and verify that it is the correct one. (-a option). Could
> we expand on this to allow mulitple addresses. In some cases with
> round robin DNS etc multiple ip's are returned. If one were for
> example returning 2 ip addresses, nagio would have a 50/50 chance of
> marking the check as OK or as critical.
>
> It would be great if one could list possible ips that may be retuned.
>
> ie
> DNS Info
> test IN A 127.0.0.1
> test IN A 127.0.0.2
>
> DNS Check returns either
>
> DNS check plugin ./check_dns -H test -s localhost -a
> 127.0.0.1,127.0.0.2 -t 90
>
> Got any questions please shout.
> Thanks
> Richard.
>
>
More information about the Devel
mailing list