How hobbit server deal with DNS server failure when doing conn test ?
list T.J. Yang
I remember somewhere in the manpages, The hobbit server when doing fping conn test, it will try using FQDN and if not resolvable, it will use the ip address(from bb-hosts) file. Is this a correct statement ? I will summarize the answer here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#How_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F tj
list Josh Luthman
Pretty confident if the DNS lookup fails it times out and marks the conn red =( If you don't need it to do a DNS lookup simply add testip.
▸
On 3/19/08, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:I remember somewhere in the manpages, The hobbit server when doing fping conn test, it will try using FQDN and if not resolvable, it will use the ip address(from bb-hosts) file. Is this a correct statement ? I will summarize the answer here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#How_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F tj
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Bruce White
Josh,
I think the first statement is true. I have many items monitored by hobbit
which are not registered in DNS (I live with a bunch of windows centric team
mates and they rely on WINS not DNS. None of these items end up with
conn=red, but they are ID'd in the output from bbtest on the hobbit server.
Here is that output:
DNS statistics:
# hostnames resolved : 383
# succesful : 306
# failed : 77
# calls to dnsresolve : 414
Notice that I have 77 monitored items which fail the DNS lookup.
.....Bruce
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, March 19, 2008 8:55 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] How hobbit server deal with DNS server failure when
doing conn test ?
▸
Pretty confident if the DNS lookup fails it times out and marks the conn red
=( If you don't need it to do a DNS lookup simply add testip.
On 3/19/08, T.J. Yang <user-8e841282cda5@xymon.invalid <mailto:user-8e841282cda5@xymon.invalid> >
▸
wrote:
I remember somewhere in the manpages,
The hobbit server when doing fping conn test, it will try using FQDN and if
not resolvable,
it will use the ip address(from bb-hosts) file.
Is this a correct statement ?
I will summarize the answer here
http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#Ho w_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F <http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#H ow_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F>
▸
tj
--
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
Note: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. Fellowes, Inc.
list Josh Luthman
So if it can not resolve DNS, is it yellow instead of red?
▸
On 3/19/08, White, Bruce <user-58f975e8bf9d@xymon.invalid> wrote:Josh, I think the first statement is true. I have many items monitored by hobbit which are not registered in DNS (I live with a bunch of windows centric team mates and they rely on WINS not DNS. None of these items end up with conn=red, but they are ID'd in the output from bbtest on the hobbit server. Here is that output: DNS statistics: # hostnames resolved : 383 # succesful : 306 # failed : 77 # calls to dnsresolve : 414 Notice that I have 77 monitored items which fail the DNS lookup. .....Bruce *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, March 19, 2008 8:55 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? Pretty confident if the DNS lookup fails it times out and marks the conn red =( If you don't need it to do a DNS lookup simply add testip. On 3/19/08, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:I remember somewhere in the manpages, The hobbit server when doing fping conn test, it will try using FQDN and if not resolvable, it will use the ip address(from bb-hosts) file. Is this a correct statement ? I will summarize the answer here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#How_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F tj-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer *Note:* The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
-- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer
list Bruce White
Neither. It tries DNS, then it tries the IP address in the bb-hosts file. If it can ping the IP address it sets the conn dot to green. The only place I have found that reports it could not resolve the name via DNS is in the output I copied into my email.
▸
.....Bruce
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid]
Sent: Wednesday, March 19, 2008 10:14 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] How hobbit server deal with DNS server failure when
doing conn test ?
So if it can not resolve DNS, is it yellow instead of red?
On 3/19/08, White, Bruce <user-58f975e8bf9d@xymon.invalid <mailto:user-58f975e8bf9d@xymon.invalid>▸
wrote:
Josh,
I think the first statement is true. I have many items monitored by hobbit
which are not registered in DNS (I live with a bunch of windows centric team
mates and they rely on WINS not DNS. None of these items end up with
conn=red, but they are ID'd in the output from bbtest on the hobbit server.
Here is that output:
DNS statistics:
# hostnames resolved : 383
# succesful : 306
# failed : 77
# calls to dnsresolve : 414
Notice that I have 77 monitored items which fail the DNS lookup.
.....Bruce
From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid
<mailto:user-4c45a83f15cb@xymon.invalid> ]
Sent: Wednesday, March 19, 2008 8:55 AM
To: user-ae9b8668bcde@xymon.invalid <mailto:user-ae9b8668bcde@xymon.invalid>
▸
Subject: Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? Pretty confident if the DNS lookup fails it times out and marks the conn red =( If you don't need it to do a DNS lookup simply add testip. On 3/19/08, T.J. Yang <user-8e841282cda5@xymon.invalid <mailto:user-8e841282cda5@xymon.invalid> > wrote: I remember somewhere in the manpages, The hobbit server when doing fping conn test, it will try using FQDN and if not resolvable, it will use the ip address(from bb-hosts) file. Is this a correct statement ? I will summarize the answer here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#Ho w_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F <http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#H ow_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F> tj -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
list T.J. Yang
found the manpage. http://www.hswn.dk/hobbit/help/manpages/man1/bbtest-net.1.html but still not sure about ping test. will ping(conn) test will do the same like testing of telnet,http type of services. --dns=[ip|only|standard] Determines how bbtest-net finds the IP adresses of the hosts to test. By default (the "standard"), bbtest-net does a DNS lookup of the hostname to determine the IP address, unless the host has the "testip" tag, or the DNS lookup fails. With "--dns=only" bbtest-net will ONLY do the DNS lookup; it it fails, then all services on that host will be reported as being down. With "--dns=ip" bbtest-net will never do a DNS lookup; it will use the IP adresse specified in bb-hosts for the tests. Thus, this setting is equivalent to having the "testip" tag on all hosts. Note that http tests will ignore this setting and still perform a DNS lookup for the hostname given in the URL; see the "bbtest-net tags for HTTP tests" section in bb-hosts(5) T.J. Yang
▸
From: user-58f975e8bf9d@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Date: Wed, 19 Mar 2008 15:37:38 -0500 Subject: RE: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? Neither. It tries DNS, then it tries the IP address in the bb-hosts file. If it can ping the IP address it sets the conn dot to green. The only place I have found that reports it could not resolve the name via DNS is in the output I copied into my email. …..Bruce From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, March 19, 2008 10:14 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? So if it can not resolve DNS, is it yellow instead of red? On 3/19/08, White, Bruce <user-58f975e8bf9d@xymon.invalid> wrote: Josh, I think the first statement is true. I have many items monitored by hobbit which are not registered in DNS (I live with a bunch of windows centric team mates and they rely on WINS not DNS. None of these items end up with conn=red, but they are ID'd in the output from bbtest on the hobbit server. Here is that output: DNS statistics: # hostnames resolved : 383 # succesful : 306 # failed : 77 # calls to dnsresolve : 414 Notice that I have 77 monitored items which fail the DNS lookup. .....Bruce From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] Sent: Wednesday, March 19, 2008 8:55 AM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? Pretty confident if the DNS lookup fails it times out and marks the conn red =( If you don't need it to do a DNS lookup simply add testip. On 3/19/08, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote: I remember somewhere in the manpages, The hobbit server when doing fping conn test, it will try using FQDN and if not resolvable, it will use the ip address(from bb-hosts) file. Is this a correct statement ? I will summarize the answer here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#How_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F tj -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.
Climb to the top of the charts! Play the word scramble challenge with star power. http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan
list Geoff Hallford
First answer was correct. It will try DNS and if it can't resolve it, it will use the IP and all will be green. I have many hosts with no DNS entries (such as switches) and they don't fail when they have no DNS entry.
▸
On Wed, Mar 19, 2008 at 4:53 PM, T.J. Yang <user-8e841282cda5@xymon.invalid> wrote:
found the manpage. http://www.hswn.dk/hobbit/help/manpages/man1/bbtest-net.1.html but still not sure about ping test. will ping(conn) test will do the same like testing of telnet,http type of services. --dns=[ip|only|standard] Determines how bbtest-net finds the IP adresses of the hosts to test. By default (the "standard"), bbtest-net does a DNS lookup of the hostname to determine the IP address, unless the host has the "testip" tag, or the DNS lookup fails. With "--dns=only" bbtest-net will ONLY do the DNS lookup; it it fails, then all services on that host will be reported as being down. With "--dns=ip" bbtest-net will never do a DNS lookup; it will use the IP adresse specified in bb-hosts for the tests. Thus, this setting is equivalent to having the "testip" tag on all hosts. Note that http tests will ignore this setting and still perform a DNS lookup for the hostname given in the URL; see the "bbtest-net tags for HTTP tests" section in *
bb-hosts <http://www.hswn.dk/hobbit/help/manpages/man5/bb-hosts.5.html>;(5)
▸
• T.J. Yang From: user-58f975e8bf9d@xymon.invalid To: user-ae9b8668bcde@xymon.invalid Date: Wed, 19 Mar 2008 15:37:38 -0500 Subject: RE: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? Neither. It tries DNS, then it tries the IP address in the bb-hosts file. If it can ping the IP address it sets the conn dot to green. The only place I have found that reports it could not resolve the name via DNS is in the output I copied into my email. …..Bruce *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, March 19, 2008 10:14 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? So if it can not resolve DNS, is it yellow instead of red? On 3/19/08, *White, Bruce* <user-58f975e8bf9d@xymon.invalid> wrote: Josh, I think the first statement is true. I have many items monitored by hobbit which are not registered in DNS (I live with a bunch of windows centric team mates and they rely on WINS not DNS. None of these items end up with conn=red, but they are ID'd in the output from bbtest on the hobbit server. Here is that output: DNS statistics: # hostnames resolved : 383 # succesful : 306 # failed : 77 # calls to dnsresolve : 414 Notice that I have 77 monitored items which fail the DNS lookup. .....Bruce *From:* Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] *Sent:* Wednesday, March 19, 2008 8:55 AM *To:* user-ae9b8668bcde@xymon.invalid *Subject:* Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? Pretty confident if the DNS lookup fails it times out and marks the conn red =( If you don't need it to do a DNS lookup simply add testip. On 3/19/08, *T.J. Yang* <user-8e841282cda5@xymon.invalid> wrote: I remember somewhere in the manpages, The hobbit server when doing fping conn test, it will try using FQDN and if not resolvable, it will use the ip address(from bb-hosts) file. Is this a correct statement ? I will summarize the answer here http://en.wikibooks.org/wiki/System_Monitoring_with_Hobbit/Other_Docs/FAQ#How_does_the_conn_test_work_if_the_first_ping_doesn.27t_respond_.3F tj -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer *Note:* The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. -- Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX Those who don't understand UNIX are condemned to reinvent it, poorly. --- Henry Spencer *Note:* The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc. Climb to the top of the charts! Play the word scramble challenge with star
power. Play now!<http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan>;
-- 'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson