BB Unix Network Monitor - Message
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {bb} bbnet Unknown host
On Wed, 11 Jul 2007 19:16:50 +0100, "Philip Clark"
<bblist@cannae.uklinux.net> said:
> On Wed, 2007-07-11 at 07:57 -0600, bb@buglecreek.com wrote:
> > On Tue, 01 May 2007 08:13:38 -0600, bb@buglecreek.com said:
> > > I get the following errors in BBOUT at random times:
> > >
> > > Tue May 1 06:31:31 2007 bbnet Unknown host: xxx.com
> > >
> > > When the error gets logged it is for a http test and can occur for
> > > various machine names. It appears to be random and after the next test
> > > (5 mins later) it once again is green and all is well. I'm not sure
> > > what the error is telling me. Is it a name resolution problem, if so,
> > > name resolution seems to be functioning properly on the BB server
> > > whenever we test them. Any help in tracking this down would be
> > > appreciated.
> > >
> > > Thanks
>
> > Thought I would check one more time to see if anyone has experienced the
> > error explained above? To reiterate, when the BBOUT message "bbnet
> > Unknown host: xxx.com" shows up the test goes red. When the next test
> > is done 5 mins later it goes green.
>
> Not me, but a look at the code in bbnet.c shows that this is as
> a result of a NULL response from gethostbyname(). In other words,
> it does look like a transient DNS glitch. Probably the easiest
> thing to try would be to add a "hosts" file to your BBNET
> server(s) that includes half of the machines that are suffering
> from this problem and alter nsswitch.conf (or equivalent) to
> ensure that is being used. Then, if it solves the problem for
> those machines and not the others, you have identified the
> problem.
>
> Cheers, Phil.
>
>
>
> --
> There are only two essential tools, WD-40 and duct tape. If it
> doesn't move and it should, use WD-40. If it moves and shouldn't,
> use the tape.
>
>
> --
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
> To unsubscribe from this list, or to subscribe to the bb-digest list
> send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
> subscribe bb-digest in the BODY of the message.
Thanks Phil, I will give that a try. Looking at this a little more, it
is
interesting that I experience no name resolution problems for the
connectivity tests. Ping has to resolve the name in order to perform
the connectivity test, but it seems that the http and conn tests may
use different system calls to get it done. We have servers with a
green connectivity status for over 200 days, but the same server when
testing http will randomly experience the problem above. I may not
fully understand how bb does all it's testing, but it seems that if it
were purely a DNS issue it would show up during the ping tests also?
Just a thought.
Thanks
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=
To unsubscribe from this list, or to subscribe to the bb-digest list
send e-mail to mailto:majordomo@bb4.com with unsubscribe bb -and/or-
subscribe bb-digest in the BODY of the message.
Home |
Main Index |
Thread Index