noping in bbhost still tries to resolve hostname.
Hi all,
I am running xymon 4.2.3 and I have found that when I have an entry like this in bb-hosts
0.0.0.0 Blah # prefer noping http://www.stanwell.com
it will still try and resolve the hostname Blah
This is causing my /var/log/messages file to get heaps of these
Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving 'West10/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving 'Blah/A/IN': 2001:503:ba3e::2:30#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving 'West08/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving 'East06b/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving 'Blah/A/IN': 2001:500:1::803f:235#53
The xymon server is ictmon02, it is also a dns caching server which I have just enabled, hence I spotted the above message for the first time.
Obviously the primary dns server was getting this error but probably ignoring it.
Is there a way to stop trying to resolve a hostname for a specific host/s??
Thanks
[cid:image001.png at 01CBFB6D.3EE82780]
This email (including all attachments) may contain personal information and is intended solely for the named addressee. It is confidential and may be subject to legal or other professional privilege and any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. This email is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. Any personal Information in this email must be handled in accordance with the Privacy Act 1988 (Cth). If you have received it in error, please let Stanwell Corporation Limited know by reply email, delete it from your system and destroy any copies. Stanwell is not responsible for any changes made to a document other than those made by Stanwell. Stanwell accepts no liability for any damage caused by this email or its attachments due to viruses, interference, interception, corruption or unauthorised access. If you have any doubts about the authenticity of an email purportedly sent by us, please contact us immediately. If this is a commercial electronic message within the meaning of the Spam Act 2003 (Cth), you may indicate that you do not wish to receive any further commercial electronic messages from Stanwell by emailing mailto:privacy at stanwell.com...
I am running xymon 4.2.3 and I have found that when I have an entry like this in bb-hosts
0.0.0.0 Blah # prefer noping http://www.stanwell.com
it will still try and resolve the hostname Blah
I believe you're correct. There is currently no way of turning that off, I'm afraid.
Regards, Henrik
Have you tried using a bogus IP address?
On 4/15/2011 at 12:35 PM, in message <EB370D01A988C44B8A093001DB472DA728C59581 at DC1EXCMBX01.STANWELL.com>, FORD Alan <Alan.FORD at stanwell.com> wrote: Hi all,
I am running xymon 4.2.3 and I have found that when I have an entry like this in bb-hosts
0.0.0.0 Blah # prefer noping http://www.stanwell.com
it will still try and resolve the hostname Blah
This is causing my /var/log/messages file to get heaps of these
Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'West10/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'Blah/A/IN': 2001:503:ba3e::2:30#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'West08/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'East06b/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'Blah/A/IN': 2001:500:1::803f:235#53
The xymon server is ictmon02, it is also a dns caching server which I have just enabled, hence I spotted the above message for the first time.
Obviously the primary dns server was getting this error but probably
ignoring it.
Is there a way to stop trying to resolve a hostname for a specific host/s??
Thanks
[cid:image001.png at 01CBFB6D.3EE82780]
This email (including all attachments) may contain personal information and is intended solely for the named addressee. It is confidential and may be subject to legal or other professional privilege and any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. This email is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. Any personal Information in this email must be handled in accordance with the Privacy Act 1988 (Cth). If you have received it in error, please let Stanwell Corporation Limited know by reply email, delete it from your system and destroy any copies. Stanwell is not responsible for any changes made to a document other than those made by Stanwell. Stanwell accepts no liability for any damage caused by this email or its attachments due to viruses, interference, interception, corruption or unauthorised access. If you have any doubts about the authenticity of an email
purportedly sent by us, please contact us immediately. If this is a
commercial electronic message within the meaning of the Spam Act 2003 (Cth), you may indicate that you do not wish to receive any further commercial electronic messages from Stanwell by emailing mailto:privacy at stanwell.com...
Hi all,
I figured out how to get this going. Required a change to bbtest-net.c (this is for 4.2.3 but I'm guessing it's the same for 4.3 et al)
Here is the diff....
680c680 < if (pingtest && !h->noconn && !h->noping) {
if (pingtest && !h->noconn) {
776c776 < if (!h->noping && !h->testip && (dnsmethod != IP_ONLY)) add_host_to_dns_queue(h->hostname);
if (!h->testip && (dnsmethod != IP_ONLY))add_host_to_dns_queue(h->hostname);
Thanks Alf
-----Original Message----- From: Phil Crooker [mailto:Phil.Crooker at orix.com.au] Sent: Monday, 18 April 2011 9:21 AM To: FORD Alan Cc: xymon at xymon.com Subject: Re: [Xymon] noping in bbhost still tries to resolve hostname.
Have you tried using a bogus IP address?
On 4/15/2011 at 12:35 PM, in message <EB370D01A988C44B8A093001DB472DA728C59581 at DC1EXCMBX01.STANWELL.com>, FORD Alan <Alan.FORD at stanwell.com> wrote: Hi all,
I am running xymon 4.2.3 and I have found that when I have an entry like this in bb-hosts
0.0.0.0 Blah # prefer noping http://www.stanwell.com
it will still try and resolve the hostname Blah
This is causing my /var/log/messages file to get heaps of these
Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'West10/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'Blah/A/IN': 2001:503:ba3e::2:30#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'West08/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'East06b/A/IN': 2001:500:1::803f:235#53 Apr 15 12:56:18 ictmon02 named[26180]: network unreachable resolving
'Blah/A/IN': 2001:500:1::803f:235#53
The xymon server is ictmon02, it is also a dns caching server which I have just enabled, hence I spotted the above message for the first time.
Obviously the primary dns server was getting this error but probably
ignoring it.
Is there a way to stop trying to resolve a hostname for a specific host/s??
Thanks
[cid:image001.png at 01CBFB6D.3EE82780]
This email (including all attachments) may contain personal information and is intended solely for the named addressee. It is confidential and may be subject to legal or other professional privilege and any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. This email is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. Any personal Information in this email must be handled in accordance with the Privacy Act 1988 (Cth). If you have received it in error, please let Stanwell Corporation Limited know by reply email, delete it from your system and destroy any copies. Stanwell is not responsible for any changes made to a document other than those made by Stanwell. Stanwell accepts no liability for any damage caused by this email or its attachments due to viruses, interference, interception, corruption or unauthorised access. If you have any doubts about the authenticity of an email
purportedly sent by us, please contact us immediately. If this is a
commercial electronic message within the meaning of the Spam Act 2003 (Cth), you may indicate that you do not wish to receive any further commercial electronic messages from Stanwell by emailing mailto:privacy at stanwell.com...
--
This message from ORIX Australia might contain confidential and/or privileged information. If you are not the intended recipient, any use, disclosure or copying of this message (or of any attachments to it) is not authorised.
If you have received this message in error, please notify the sender immediately and delete the message and any attachments from your system. Please inform the sender if you do not wish to receive future communications by email.
ORIX handles personal information according to a Privacy Policy that is consistent with the National Privacy Principles. Please let us know if you would like a copy. It is also available at http://www.orix.com.au .
This email (including all attachments) may contain personal information and is intended solely for the named addressee. It is confidential and may be subject to legal or other professional privilege and any confidentiality or privilege is not waived or lost because this email has been sent to you by mistake. This email is also subject to copyright. No part of it should be reproduced, adapted or communicated without the written consent of the copyright owner. Any personal Information in this email must be handled in accordance with the Privacy Act 1988 (Cth). If you have received it in error, please let Stanwell Corporation Limited know by reply email, delete it from your system and destroy any copies. Stanwell is not responsible for any changes made to a document other than those made by Stanwell. Stanwell accepts no liability for any damage caused by this email or its attachments due to viruses, interference, interception, corruption or unauthorised access. If you have any doubts about the authenticity of an email purportedly sent by us, please contact us immediately. If this is a commercial electronic message within the meaning of the Spam Act 2003 (Cth), you may indicate that you do not wish to receive any further commercial electronic messages from Stanwell by emailing mailto:privacy at stanwell.com...
participants (3)
-
Alan.FORD@stanwell.com
-
henrik@hswn.dk
-
Phil.Crooker@orix.com.au