[Nagiosplug-devel] check_dns

Richard Mayhew richard at splash.co.za
Wed Feb 18 00:59:11 CET 2004


Hi, Good to hear from you,

Yup sounds like a plan, I think the best plan would be to change state if
the ip returned doesnt match either of the specified possible ips.

*grin* Think we could get a test version of this out sometime?

Thanks

Richard.

----- Original Message ----- 
From: "Ton Voon" <tonvoon at mac.com>
To: "Richard Mayhew" <richard at splash.co.za>
Cc: <nagiosplug-devel at lists.sourceforge.net>
Sent: Wednesday, February 18, 2004 4:20 AM
Subject: Re: [Nagiosplug-devel] check_dns


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.
>
>



-------------------------------------------------------
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_id56&alloc_id438&op=ick
_______________________________________________
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