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.<br>
<br>
<div class="gmail_quote">On Wed, Mar 19, 2008 at 4:53 PM, T.J. Yang <<a href="mailto:tj_yang@hotmail.com">tj_yang@hotmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>found the manpage.<br><br><a href="http://www.hswn.dk/hobbit/help/manpages/man1/bbtest-net.1.html" target="_blank">http://www.hswn.dk/hobbit/help/manpages/man1/bbtest-net.1.html</a><br><br>but still not sure about ping test. will ping(conn) test will do the same like testing of telnet,http type of services.<br>
<br>
<dl compact>
<dt>--dns=[ip|only|standard]</dt>
<dd>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. <br>
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. <br>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 <i><a href="http://www.hswn.dk/hobbit/help/manpages/man5/bb-hosts.5.html" target="_blank">bb-hosts</a>(5)</i></dd>
</dl><br><br>T.J. Yang<br><br>
<blockquote>
<hr>
From: <a href="mailto:bewhite@fellowes.com" target="_blank">bewhite@fellowes.com</a><br>To: <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br>Date: Wed, 19 Mar 2008 15:37:38 -0500<br>Subject: RE: [hobbit] How hobbit server deal with DNS server failure when doing conn test ? 
<div>
<div></div>
<div class="Wj3C7c"><br><br>
<div>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">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.</span></font></p>

<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">    …..Bruce</span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<p><font face="Arial" color="navy" size="2"><span style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"> </span></font></p>
<div>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>] <br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Wednesday, March 19, 2008 10:14 AM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ?</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">So if it can not resolve DNS, is it yellow instead of red?</span></font></p>
<div>
<p><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On 3/19/08, <b><span style="FONT-WEIGHT: bold">White, Bruce</span></b> <<a href="mailto:bewhite@fellowes.com" target="_blank">bewhite@fellowes.com</a>> wrote:</span></font></span></p>

<div>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Josh,</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">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:</span></font></p>

<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">DNS statistics:<br># hostnames resolved  :      383<br># succesful           :      306<br># failed              :       77<br># calls to dnsresolve :      414<br>
<br></span></font><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">Notice that I have 77 monitored items which fail the DNS lookup.</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Arial" color="blue" size="2"><span style="FONT-SIZE: 10pt; COLOR: blue; FONT-FAMILY: Arial">      .....Bruce</span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p>
<div style="TEXT-ALIGN: center" align="center"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">
<hr align="center" width="100%" size="2">
</span></font></div>
<p style="MARGIN-BOTTOM: 12pt"><b><font face="Tahoma" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</span></font></b><font face="Tahoma" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> Josh Luthman [mailto:<a href="mailto:josh@imaginenetworksllc.com" target="_blank">josh@imaginenetworksllc.com</a>] <br>
<b><span style="FONT-WEIGHT: bold">Sent:</span></b> Wednesday, March 19, 2008 8:55 AM<br><b><span style="FONT-WEIGHT: bold">To:</span></b> <a href="mailto:hobbit@hswn.dk" target="_blank">hobbit@hswn.dk</a><br><b><span style="FONT-WEIGHT: bold">Subject:</span></b> Re: [hobbit] How hobbit server deal with DNS server failure when doing conn test ?</span></font></p>

<div><span>
<p style="MARGIN-BOTTOM: 12pt"><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">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.</span></font></span></p>

<div>
<p><span><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">On 3/19/08, <b><span style="FONT-WEIGHT: bold">T.J. Yang</span></b> <<a href="mailto:tj_yang@hotmail.com" target="_blank">tj_yang@hotmail.com</a>> wrote:</span></font></span> </p>

<p style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt">I remember somewhere in the manpages,<br><br>The hobbit server when doing fping conn test, it will try using FQDN and if<br>
not resolvable,<br>it will use the ip address(from bb-hosts) file.<br><br>Is this a correct statement ?<br><br>I will summarize the answer here<br><br><a href="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" target="_blank">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</a><br>
<br><br>tj<br><br><br>To unsubscribe from the hobbit list, send an e-mail to<br><a href="mailto:hobbit-unsubscribe@hswn.dk" target="_blank">hobbit-unsubscribe@hswn.dk</a><br><br></span></font></p></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br><br clear="all"><br><span>-- </span><br><span>Josh Luthman</span><br><span>Office: 937-552-2340</span><br><span>Direct: 937-552-2343</span><br><span>1100 Wayne St</span><br>
<span>Suite</span><span> 1337</span><br><span>Troy</span><span>, OH 45373</span><br><br><span>Those who don't understand UNIX are condemned to reinvent it, poorly.</span><br><span>--- Henry Spencer </span></span></font></p>
</span></div></div>
<p style="MARGIN-BOTTOM: 12pt"><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"> </span></font></p><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----------------------------------------------------</span></font><br>
<b><font face="Arial" size="2"><span style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Arial">Note:</span></font></b><font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"> 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.</span></font><br>
<font face="Arial" size="2"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">----------------------------------------------------</span></font><br></div>
<p><font face="Times New Roman" size="3"><span style="FONT-SIZE: 12pt"><br><br clear="all"><br>-- <br>Josh Luthman<br>Office: 937-552-2340<br>Direct: 937-552-2343<br>1100 Wayne St<br>Suite 1337<br>Troy, OH 45373<br><br>Those who don't understand UNIX are condemned to reinvent it, poorly.<br>
--- Henry Spencer </span></font></p></div><br><br><font face="Arial" size="2">----------------------------------------------------</font><br><b><font face="Arial" size="2">Note:</font></b><font face="Arial" size="2"> 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.</font><br>
<font face="Arial" size="2">----------------------------------------------------</font><br></div></div></blockquote><br>
<hr>
Climb to the top of the charts! Play the word scramble challenge with star power. <a href="http://club.live.com/star_shuffle.aspx?icid=starshuffle_wlmailtextlink_jan" target="_blank">Play now!</a></div></blockquote></div>
<br><br clear="all"><br>-- <br>'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson