[hobbit] How hobbit server deal with DNS server failure when doing conn test ?

Geoff Hallford geoff.hallford at gmail.com
Wed Mar 19 23:54:36 CET 2008


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 <tj_yang at hotmail.com> 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: bewhite at fellowes.com
> To: hobbit at hswn.dk
> 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:josh at imaginenetworksllc.com]
> *Sent:* Wednesday, March 19, 2008 10:14 AM
> *To:* hobbit at hswn.dk
> *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* <bewhite at fellowes.com> 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:josh at imaginenetworksllc.com]
> *Sent:* Wednesday, March 19, 2008 8:55 AM
> *To:* hobbit at hswn.dk
> *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* <tj_yang at hotmail.com> 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
>
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
>
>
> --
> Josh Luthman
> Office: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> 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: 937-552-2340
> Direct: 937-552-2343
> 1100 Wayne St
> Suite 1337
> Troy, OH 45373
>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080319/8f6ebdf7/attachment.html>


More information about the Xymon mailing list