[Xymon] DNS lookup occurs even with noconn
Jeremy Laidman
jlaidman at rebel-it.com.au
Fri May 11 07:49:22 CEST 2012
What if you add "testip"?
On Fri, May 11, 2012 at 10:21 AM, FORD Alan <Alan.FORD at stanwell.com> wrote:
> Hi all,****
>
> ** **
>
> I have databases and webpages in my hosts.cfg like this..****
>
> ** **
>
> **0.0.0.0 ** Oracle_Enterprise_Manager # prefer noping noconn
> https://ictoem01.stanwell.com:7801/em/console # Obviously a web page****
>
> **0.0.0.0 **soapro # prefer noconn # This is an oracle
> database which I have tests sent to.****
>
> ** **
>
> ** **
>
> What I find is that even with noconn, it still attempts to resolve the
> server name ie Oracle_Enterprise_Manager****
>
> ** **
>
> I have managed to fix this by modifying xymonnet.c on line 839****
>
> From this…****
>
> ** **
>
> if (!h->testip && (dnsmethod != IP_ONLY))
> add_host_to_dns_queue(h->hostname);****
>
> ** **
>
> to this****
>
> ** **
>
> if (!h->testip && !h->noconn && (dnsmethod != IP_ONLY))
> add_host_to_dns_queue(h->hostname);****
>
> ** **
>
> Any comments or possible breaking of Xymon??****
>
> ** **
>
> If my interpretaion is what is expected for the noconn test maybe Henrik
> could put this in as a bug fix J****
>
> ** **
>
> Thanks****
>
> * *
>
> *Alan Ford*
>
> *Senior Database Administrator*
>
> *Com Serv - Information Communications and Technology*
>
> *Stanwell Corporation Limited*
>
> ** **
>
> www.stanwell.com****
>
> ** **
>
> This email is to be read subject to the email disclaimer located at
> http://www.stanwell.com/email-disclaimer.aspx
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20120511/d7515143/attachment.html>
More information about the Xymon
mailing list