Xymon Mailing List Archive search

dns query failed?

5 messages in this thread

list Keio Oyama · Tue, 27 Sep 2005 16:50:54 +0900 ·
Hi,

I have 152 hosts in the bb-hosts file. 
And the bbtest reports,

Statistics:
 Hosts total           :      152
 Hosts with no tests   :        0
 Total test count      :      213
 Status messages       :      214
 Alert status msgs     :        0
 Transmissions         :        4

DNS statistics:
 # hostnames resolved  :      153
 # succesful           :      152
 # failed              :        1
 # calls to dnsresolve :      213
:

Was hostname lookup attempted against 153 hosts?
If so, is there any way (logs or something) to find out the failed host?


Thanks,
keio
list Figaro Nicolas · Tue, 27 Sep 2005 09:57:26 +0200 ·
Hi, 
You should have some infos in the logfile. (bb-network.log)
Add a --debug to this line and restart hobbit for more infos :
       CMD bbtest-net --report --ping --checkresponse

Run hobbit.sh reload afterwards and check the bb-network.log. 
Nicolas Figaro 
quoted from Keio Oyama
-----Message d'origine-----
De : Keio Oyama [mailto:user-c2784ffecbf0@xymon.invalid] Envoyé : mardi 27 septembre 2005 09:51
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] dns query failed?


Hi,

I have 152 hosts in the bb-hosts file. And the bbtest reports,

Statistics:
 Hosts total           :      152
 Hosts with no tests   :        0
 Total test count      :      213
 Status messages       :      214
 Alert status msgs     :        0
 Transmissions         :        4

DNS statistics:
 # hostnames resolved  :      153
 # succesful           :      152
 # failed              :        1
 # calls to dnsresolve :      213
:

Was hostname lookup attempted against 153 hosts?
If so, is there any way (logs or something) to find out the failed host?


Thanks,
keio

list Figaro Nicolas · Tue, 27 Sep 2005 10:01:07 +0200 ·
I forgot to give the name of the config file for the debug extra option : ~hobbit/server/etc/hobbitlaunch.cfg. 
Nicolas Figaro 
quoted from Figaro Nicolas
-----Message d'origine-----
De : FIGARO Nicolas [mailto:user-a732b870264c@xymon.invalid] Envoyé : mardi 27 septembre 2005 09:57
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] RE : [hobbit] dns query failed?


Hi, 
You should have some infos in the logfile. (bb-network.log)
Add a --debug to this line and restart hobbit for more infos :
       CMD bbtest-net --report --ping --checkresponse

Run hobbit.sh reload afterwards and check the bb-network.log. 
Nicolas Figaro 
-----Message d'origine-----
De : Keio Oyama [mailto:user-c2784ffecbf0@xymon.invalid]
Envoyé : mardi 27 septembre 2005 09:51
À : user-ae9b8668bcde@xymon.invalid
Objet : [hobbit] dns query failed?
Hi,
I have 152 hosts in the bb-hosts file.
And the bbtest reports,
Statistics:
 Hosts total           :      152
 Hosts with no tests   :        0
 Total test count      :      213
 Status messages       :      214
 Alert status msgs     :        0
 Transmissions         :        4
DNS statistics:
 # hostnames resolved  :      153
 # succesful           :      152
 # failed              :        1
 # calls to dnsresolve :      213
:
Was hostname lookup attempted against 153 hosts?
If so, is there any way (logs or something) to find out the
failed host?
Thanks,
keio
list Henrik Størner · Tue, 27 Sep 2005 08:21:45 +0000 (UTC) ·
quoted from Figaro Nicolas
In <user-2b9bc0d84ec7@xymon.invalid> "FIGARO Nicolas" <user-a732b870264c@xymon.invalid> writes:
You should have some infos in the logfile. (bb-network.log)
Add a --debug to this line and restart hobbit for more infos :
      CMD bbtest-net --report --ping --checkresponse
Run hobbit.sh reload afterwards and check the bb-network.log. 
If you only need to run bbtest-net once to get the debug output,
you can do it by hand through the "bbcmd" utility:

   bbcmd bbtest-net --report --ping --checkresponse --debug

To get the failing DNS lookup, look for a "DNS lookup failed" 
message.


Henrik
list Keio Oyama · Tue, 27 Sep 2005 17:52:54 +0900 ·
Figaro, Henrik,

thanks!!
I tried the debugging, and found the misconfiguration of dns servers.
also, the mismatch of the number (bb-hosts and dns-queries) was due to
a line in the bb-hosts;
    :
   1.2.3.4   host.hoge.com     # http://www.hoge.com/
             ~~~~~~~~~~~~~              ~~~~~~~~~~~~~
there is 152 IPs, and 153 HOSTs.

-Keio

On Tue, 27 Sep 2005 08:21:45 +0000 (UTC)
quoted from Henrik Størner
Henrik Storner <user-ce4a2c883f75@xymon.invalid> wrote:
In <user-2b9bc0d84ec7@xymon.invalid> "FIGARO Nicolas" <user-a732b870264c@xymon.invalid> writes:
You should have some infos in the logfile. (bb-network.log)
Add a --debug to this line and restart hobbit for more infos :
      CMD bbtest-net --report --ping --checkresponse
Run hobbit.sh reload afterwards and check the bb-network.log. 
If you only need to run bbtest-net once to get the debug output,
you can do it by hand through the "bbcmd" utility:

   bbcmd bbtest-net --report --ping --checkresponse --debug

To get the failing DNS lookup, look for a "DNS lookup failed" message.


Henrik
On Tue, 27 Sep 2005 10:01:07 +0200
quoted from Figaro Nicolas
"FIGARO Nicolas" <user-a732b870264c@xymon.invalid> wrote:
I forgot to give the name of the config file for the debug extra option : ~hobbit/server/etc/hobbitlaunch.cfg. 
Nicolas Figaro 
-----Message d'origine-----

De : FIGARO Nicolas [mailto:user-a732b870264c@xymon.invalid] > Envoy $Bq  (B: mardi 27 septembre 2005 09:57
 $B%? (B : user-ae9b8668bcde@xymon.invalid
quoted from Henrik Størner
Objet : [hobbit] RE : [hobbit] dns query failed?
Hi, > > You should have some infos in the logfile. (bb-network.log)
Add a --debug to this line and restart hobbit for more infos :
       CMD bbtest-net --report --ping --checkresponse
Run hobbit.sh reload afterwards and check the bb-network.log. > > Nicolas Figaro > > > -----Message d'origine-----
De : Keio Oyama [mailto:user-c2784ffecbf0@xymon.invalid]

Envoy $Bq  (B: mardi 27 septembre 2005 09:51
 $B%? (B : user-ae9b8668bcde@xymon.invalid
quoted from Figaro Nicolas
Objet : [hobbit] dns query failed?
Hi,
I have 152 hosts in the bb-hosts file.
And the bbtest reports,
Statistics:
 Hosts total           :      152
 Hosts with no tests   :        0
 Total test count      :      213
 Status messages       :      214
 Alert status msgs     :        0
 Transmissions         :        4
DNS statistics:
 # hostnames resolved  :      153
 # succesful           :      152
 # failed              :        1
 # calls to dnsresolve :      213
:
Was hostname lookup attempted against 153 hosts?
If so, is there any way (logs or something) to find out the
failed host?
Thanks,
keio