Fwd: [hobbit] conn:red but host is ok also clear for files,http and procs

pankaj dorlikar pankaj.dorlikar at gmail.com
Sat Mar 7 10:29:12 CET 2009


hello,
i get green for conn now but  red for bbd saying

 Service unavailable (Connection refused)

for 13.1.1.4 after i add testip to it.how to solve this?also what to do to
get clear status of procs ,ports,files etc to green..

---------- Forwarded message ----------
From: pankaj dorlikar <pankaj.dorlikar at gmail.com>
Date: Sat, Mar 7, 2009 at 2:39 PM
Subject: Fwd: [hobbit] conn:red but host is ok also clear for files,http and
procs
To: hobbit at hswn.dk


hello,
i get files,procs and ports as clear touugh  all other tests are working
fine....
also i get error of "/xymon/server/web/hostsvc_footer is either missing or
invalid, please create this file with your custom header" error..how to
craete that file?can anybody show this file to me?


---------- Forwarded message ----------
From: Kristian Nielsen <knielsen at knielsen-hq.org>
Date: Sat, Mar 7, 2009 at 2:07 PM
Subject: Re: [hobbit] conn:red but host is ok also clear for files,http and
procs
To: hobbit at hswn.dk


pankaj dorlikar <pankaj.dorlikar at gmail.com> writes:

> i have 2 hosts having ips 13.1.1.4 and 13.1.1.2 ( internal network)  which
> are reachable by ip address from xymon server.In dns its hostname resolves
> to its old ip address  of 192.168.2.106 &2.107 resp.I get

So if I understand you correctly, the host you are testing has wrong
information in DNS, so you want Hobbit to monitor it using IP addresses,
ignoring DNS?

> bbd:bbd ok : Ping failed, or dialup host/service
> Service bbd on tb1.stp.cdac.ernet.in is OK
> Dialup host/service, or test depends on another failed te
>
> Host appears to be down
>
> conn :conn NOT ok
> Service conn on tb1.stp.cdac.ernet.in is not OK : Host does not respond to
ping

So I assume you have something like this in bb-hosts:

13.1.1.2      tb1.stp.cdac.ernet.in     # bbd ssh

To get Hobbit to use the IP address and not lookup the name in DNS, you can
use `testip', changing the line to this:

13.1.1.2      tb1.stp.cdac.ernet.in     # testip bbd ssh

Then Hobbit will ping 13.1.1.2 (which I understand works) instead of
tb1.stp.cdac.ernet.in (which I understand does not work).

If you have http tests, you need to similarly change this:

   http://tb1.stp.cdac.ernet.in/

into this:

   http://tb1.stp.cdac.ernet.in=13.1.1.2/

> i get files,ports and procs as clear for every host including server
> How and where to configure for each of these tests.can anybody give its
> detailed explainnation?also can i know the meaning of all types of
> reports...

The clear is probably due to the ping test failing. Hobbit takes failing
conn
test to mean the host is down, and then does not bother to report all the
other services red.

Hope this helps,

 - Kristian.

To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





-- 
Pankaj V. Dorlikar



-- 
Pankaj V. Dorlikar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20090307/e9b1bd61/attachment.html>


More information about the Xymon mailing list