<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
found the manpage.<br><br>http://www.hswn.dk/hobbit/help/manpages/man1/bbtest-net.1.html<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="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">bb-hosts</a>(5)</i></dd></dl><br><br>T.J. Yang<br><br><blockquote><hr>From: bewhite@fellowes.com<br>To: hobbit@hswn.dk<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 ?<br><br>


<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">





<style>
.ExternalClass .EC_shape
{;}
</style>







<style>
</style>

<style>
.ExternalClass EC_p.MsoNormal, .ExternalClass EC_li.MsoNormal, .ExternalClass EC_div.MsoNormal
{margin-bottom:.0001pt;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass a:link, .ExternalClass EC_span.MsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass a:visited, .ExternalClass EC_span.MsoHyperlinkFollowed
{color:blue;text-decoration:underline;}
.ExternalClass p
{margin-right:0in;margin-left:0in;font-size:12.0pt;font-family:'Times New Roman';}
.ExternalClass EC_span.EmailStyle20
{font-family:Arial;color:navy;}
@page Section1
{size:8.5in 11.0in;}
.ExternalClass EC_div.Section1
{page:Section1;}

</style>





<div class="EC_Section1">

<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">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 class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">    …..Bruce</span></font></p>

<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<p class="EC_MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>

<div>

<div class="EC_MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="EC_MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> Josh Luthman
[mailto:josh@imaginenetworksllc.com] <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> hobbit@hswn.dk<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 class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="EC_MsoNormal" 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 class="EC_MsoNormal"><span class="EC_gmailquote"><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">bewhite@fellowes.com</a>>
wrote:</span></font></span></p>

<div>

<p class="EC_MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">Josh,</span></font></p>

<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="EC_MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">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 class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="EC_MsoNormal"><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 color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">Notice that I have 77 monitored items which fail
the DNS lookup.</span></font></p>

<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="EC_MsoNormal"><font color="blue" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: blue;">      .....Bruce</span></font></p>

<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>

<div class="EC_MsoNormal" style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">

<hr align="center" size="2" width="100%">

</span></font></div>

<p class="EC_MsoNormal" style="margin-bottom: 12pt;"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">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">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">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 id="EC_q_118c785e16cc0d39_1">

<p class="EC_MsoNormal" style="margin-bottom: 12pt;"><span class="EC_e"><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 class="EC_MsoNormal"><span class="EC_gmailquote"><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">tj_yang@hotmail.com</a>>
wrote:</span></font></span> </p>

<p class="EC_MsoNormal" 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">hobbit-unsubscribe@hswn.dk</a><br>
<br>
</span></font></p>

</div>

<p class="EC_MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br>
<br clear="all">
<br>
<span class="EC_e">-- </span><br>
<span class="EC_e">Josh Luthman</span><br>
<span class="EC_e">Office: 937-552-2340</span><br>
<span class="EC_e">Direct: 937-552-2343</span><br>
<span class="EC_e">1100 Wayne St</span><br>
<span class="EC_e">Suite</span><span class="EC_e"> 1337</span><br>
<span class="EC_e">Troy</span><span class="EC_e">, OH 45373</span><br>
<br>
<span class="EC_e">Those who don't understand UNIX are condemned to reinvent it,
poorly.</span><br>
<span class="EC_e">--- Henry Spencer </span></span></font></p></span>

</div>

</div>

<p class="EC_MsoNormal" 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-size: 10pt; font-family: Arial; font-weight: bold;">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 class="EC_MsoNormal"><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>
</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='_new'>Play now!</a></body>
</html>