Very Weird ping issue
list Wes Neal
I am having a problem with out of the 600 or so hosts I have right now and it is very odd. The four hosts in bb-hosts look like this: 166.47.52.23 MIREGA-XYP # conn 166.46.11.1 NRKANG-XYP # conn 166.42.132.19 ALMMGA-AI #conn 166.39.161.143 ORLLFL-AI # conn The all 4 show up as red on the web page, but with not those IP addresses. As a matter of fact the IPs they show as aren't anywhere in my bb-hosts file. The emails that are generated even have the wrong IPs as well, they look like this: red Fri Sep 16 10:09:39 2005 conn NOT ok Service conn on ALMMGA-AI is not OK : Host does not respond to ping System unreachable for 9552 poll periods (3195617 seconds) &red 10.8.2.126 is unreachable red Fri Sep 16 10:09:39 2005 conn NOT ok Service conn on MIREGA-XYP is not OK : Host does not respond to ping System unreachable for 9552 poll periods (3195617 seconds) &red 166.47.118.231 is unreachable As you can see those aren't the IPs in the bb-hosts file. I have commented out the lines in the bb-hosts file and done a: bb 127.0.0.1 "drop MIREGA-XYP" for all of the hosts. This got rid of them, but when I put them back in, they came right back red with the same bad IPs. What could possibly be causing this? Thanks Wes
list Larry Barber
What happens if you put "testip" in your bb-hosts file? I suspect you might find that the names are being resolved incorrectly by DNS, try an nslookup from you BBNET machine, and see what you get. Thanks, Larry Barber
▸
On Fri, 2005-09-16 at 16:15 -0500, user-4f272af8a740@xymon.invalid wrote:I am having a problem with out of the 600 or so hosts I have right now and it is very odd. The four hosts in bb-hosts look like this: 166.47.52.23 MIREGA-XYP # conn 166.46.11.1 NRKANG-XYP # conn 166.42.132.19 ALMMGA-AI #conn 166.39.161.143 ORLLFL-AI # conn The all 4 show up as red on the web page, but with not those IP addresses. As a matter of fact the IPs they show as aren't anywhere in my bb-hosts file. The emails that are generated even have the wrong IPs as well, they look like this: red Fri Sep 16 10:09:39 2005 conn NOT ok Service conn on ALMMGA-AI is not OK : Host does not respond to ping System unreachable for 9552 poll periods (3195617 seconds) &red 10.8.2.126 is unreachable red Fri Sep 16 10:09:39 2005 conn NOT ok Service conn on MIREGA-XYP is not OK : Host does not respond to ping System unreachable for 9552 poll periods (3195617 seconds) &red 166.47.118.231 is unreachable As you can see those aren't the IPs in the bb-hosts file. I have commented out the lines in the bb-hosts file and done a: bb 127.0.0.1 "drop MIREGA-XYP" for all of the hosts. This got rid of them, but when I put them back in, they came right back red with the same bad IPs. What could possibly be causing this? Thanks Wes
list Wes Neal
Larry you are correct! Thanks! My next question is why is it using DNS instead of the bb-hosts file? Is there a way to make it only use the bb-hosts file and not rely on DNS at all? I always thought it used bb-hosts first. I don't want to have to add testip to every line in the file if possible. Wes
▸
-----Original Message-----
From: user-7a6c75d6cc10@xymon.invalid [mailto:user-7a6c75d6cc10@xymon.invalid] Sent: Friday, September 16, 2005 5:32 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Very Weird ping issue
What happens if you put "testip" in your bb-hosts file?
I suspect you might find that the names are being resolved incorrectly
by DNS, try an nslookup from you BBNET machine, and see what you get.
Thanks,
Larry Barber
On Fri, 2005-09-16 at 16:15 -0500, user-4f272af8a740@xymon.invalid wrote:I am having a problem with out of the 600 or so hosts I have right now and it is very odd. The four hosts in bb-hosts look like this: 166.47.52.23 MIREGA-XYP # conn 166.46.11.1 NRKANG-XYP # conn 166.42.132.19 ALMMGA-AI #conn 166.39.161.143 ORLLFL-AI # conn The all 4 show up as red on the web page, but with not those IP addresses. As a matter of fact the IPs they show as aren't anywhere in my bb-hosts file. The emails that are generated even have the wrong IPs as well, they look like this: red Fri Sep 16 10:09:39 2005 conn NOT ok Service conn on ALMMGA-AI is not OK : Host does not respond to ping System unreachable for 9552 poll periods (3195617 seconds) &red 10.8.2.126 is unreachable red Fri Sep 16 10:09:39 2005 conn NOT ok Service conn on MIREGA-XYP is not OK : Host does not respond to ping System unreachable for 9552 poll periods (3195617 seconds) &red 166.47.118.231 is unreachable As you can see those aren't the IPs in the bb-hosts file. I have commented out the lines in the bb-hosts file and done a: bb 127.0.0.1 "drop MIREGA-XYP" for all of the hosts. This got rid of them, but when I put them back in, they came right back red with the same bad IPs. What could possibly be causing this? Thanks Wes
list Larry Barber
You will have to ask Henrik about why Hobbit doesn't use the bb-hosts settings. You don't have to enter testip on every line, you can just define a ".default." host at the the top of your bb-hosts file and put testip in there.
▸
Thanks,
Larry Barber
On Fri, 2005-09-16 at 16:44 -0500, user-4f272af8a740@xymon.invalid wrote:Larry you are correct! Thanks! My next question is why is it using DNS instead of the bb-hosts file? Is there a way to make it only use the bb-hosts file and not rely on DNS at all? I always thought it used bb-hosts first. I don't want to have to add testip to every line in the file if possible. Wes -----Original Message----- From: user-7a6c75d6cc10@xymon.invalid [mailto:user-7a6c75d6cc10@xymon.invalid] Sent: Friday, September 16, 2005 5:32 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Very Weird ping issue What happens if you put "testip" in your bb-hosts file? I suspect you might find that the names are being resolved incorrectly by DNS, try an nslookup from you BBNET machine, and see what you get. Thanks, Larry Barber On Fri, 2005-09-16 at 16:15 -0500, user-4f272af8a740@xymon.invalid wrote: > I am having a problem with out of the 600 or so hosts I have right now > and > it is very odd. > > The four hosts in bb-hosts look like this: > > 166.47.52.23 MIREGA-XYP # > conn > 166.46.11.1 NRKANG-XYP # > conn > 166.42.132.19 ALMMGA-AI #conn > 166.39.161.143 ORLLFL-AI # conn > > The all 4 show up as red on the web page, but with not those IP > addresses. > As a matter of fact the IPs they show as aren't anywhere in my > bb-hosts > file. > The emails that are generated even have the wrong IPs as well, they > look > like this: > > red Fri Sep 16 10:09:39 2005 conn NOT ok > Service conn on ALMMGA-AI is not OK : Host does not respond to ping > System unreachable for 9552 poll periods (3195617 seconds) > &red 10.8.2.126 is unreachable > > red Fri Sep 16 10:09:39 2005 conn NOT ok > Service conn on MIREGA-XYP is not OK : Host does not respond to ping > System unreachable for 9552 poll periods (3195617 seconds) > &red 166.47.118.231 is unreachable > > As you can see those aren't the IPs in the bb-hosts file. I have > commented > out the lines in the bb-hosts file and done a: > > bb 127.0.0.1 "drop MIREGA-XYP" for all of the hosts. This got rid of > them, > but when I put them back in, they came right back red with the same > bad IPs. > > What could possibly be causing this? > > Thanks > Wes > > > > > > > > >
list Wes Neal
Does it need to be in " " like that? I added a .default. # testip and it did not work.
▸
Wes
-----Original Message-----
From: user-7a6c75d6cc10@xymon.invalid [mailto:user-7a6c75d6cc10@xymon.invalid] Sent: Friday, September 16, 2005 5:59 PM
To: user-ae9b8668bcde@xymon.invalid
Subject: RE: [hobbit] Very Weird ping issue
You will have to ask Henrik about why Hobbit doesn't use the bb-hosts
settings.
You don't have to enter testip on every line, you can just define a
".default." host at the the top of your bb-hosts file and put testip in
there.
Thanks,
Larry Barber
On Fri, 2005-09-16 at 16:44 -0500, user-4f272af8a740@xymon.invalid wrote:Larry you are correct! Thanks! My next question is why is it using DNS instead of the bb-hosts file? Is there a way to make it only use the bb-hosts file and not rely on DNS at all? I always thought it used bb-hosts first. I don't want to have to add testip to every line in the file if possible. Wes -----Original Message----- From: user-7a6c75d6cc10@xymon.invalid [mailto:user-7a6c75d6cc10@xymon.invalid] Sent: Friday, September 16, 2005 5:32 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Very Weird ping issue What happens if you put "testip" in your bb-hosts file? I suspect you might find that the names are being resolved incorrectly by DNS, try an nslookup from you BBNET machine, and see what you get. Thanks, Larry Barber On Fri, 2005-09-16 at 16:15 -0500, user-4f272af8a740@xymon.invalid wrote: > I am having a problem with out of the 600 or so hosts I have right now > and > it is very odd. > > The four hosts in bb-hosts look like this: > > 166.47.52.23 MIREGA-XYP # > conn > 166.46.11.1 NRKANG-XYP # > conn > 166.42.132.19 ALMMGA-AI #conn > 166.39.161.143 ORLLFL-AI # conn > > The all 4 show up as red on the web page, but with not those IP > addresses. > As a matter of fact the IPs they show as aren't anywhere in my > bb-hosts > file. > The emails that are generated even have the wrong IPs as well, they > look > like this: > > red Fri Sep 16 10:09:39 2005 conn NOT ok > Service conn on ALMMGA-AI is not OK : Host does not respond to ping > System unreachable for 9552 poll periods (3195617 seconds) > &red 10.8.2.126 is unreachable > > red Fri Sep 16 10:09:39 2005 conn NOT ok > Service conn on MIREGA-XYP is not OK : Host does not respond to ping > System unreachable for 9552 poll periods (3195617 seconds) > &red 166.47.118.231 is unreachable > > As you can see those aren't the IPs in the bb-hosts file. I have > commented > out the lines in the bb-hosts file and done a: > > bb 127.0.0.1 "drop MIREGA-XYP" for all of the hosts. This got rid of > them, > but when I put them back in, they came right back red with the same > bad IPs. > > What could possibly be causing this? > > Thanks > Wes > > > > > > > > >
list Henrik Størner
▸
On Fri, Sep 16, 2005 at 05:15:12PM -0400, Wes Neal wrote:
I am having a problem with out of the 600 or so hosts I have right now and it is very odd. The four hosts in bb-hosts look like this: 166.47.52.23 MIREGA-XYP # conn 166.46.11.1 NRKANG-XYP # conn 166.42.132.19 ALMMGA-AI #conn 166.39.161.143 ORLLFL-AI # conn The all 4 show up as red on the web page, but with not those IP addresses. As a matter of fact the IPs they show as aren't anywhere in my bb-hosts file.
Hobbit always performs a DNS lookup on the hostname, and will use the IP address returned by that lookup. So my first thought would be that the wrong IP's are in your DNS (or /etc/hosts file). You can override the DNS lookup by adding "testip" to the entries in the bb-hosts file. Regards, Henrik
list Henrik Størner
▸
On Fri, Sep 16, 2005 at 06:22:54PM -0400, Wes Neal wrote:
Does it need to be in " " like that? I added a .default. # testip and it did not work.
It should go like this: 0.0.0.0 .default. # testip 166.47.52.23 MIREGA-XYP # conn 166.46.11.1 NRKANG-XYP # conn <all of your other bb-hosts entries>
▸
You will have to ask Henrik about why Hobbit doesn't use the bb-hosts settings.
Because 99% of the services that a host provides will be reached via DNS. So if the host is unreachable via its DNS entry, something is broken and I want to know about it. Hobbit does use the IP adresses from the bb-hosts file, but only if the hostname cannot be resolved via DNS or /etc/hosts. Regards, Henrik