Xymon Mailing List Archive search

conn:red but host is ok also clear for files,http and procs

6 messages in this thread

list Pankaj Dorlikar · Sat, 7 Mar 2009 13:35:07 +0530 ·
hello,
i hv xymon setup in linux
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

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

System unreachable for 7323 poll periods (2218000 seconds)

[image: red] 192.168.2.107 is unreachable

cpu ,disk,info,memory,messages,trends :green

files : clear :no files found
http :Connection refused[image: clear] http://13.1.1.4/ - Connection refused

Seconds:     0.00

ports:Ports NOT ok
No port checks defined
 procs: Processes NOT ok[image: clear] No process checks defined

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...

-- 
Pankaj V. Dorlikar
list Kristian Nielsen · Sat, 07 Mar 2009 09:37:38 +0100 ·
quoted from Pankaj Dorlikar
pankaj dorlikar <user-93d3572686c4@xymon.invalid> 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?
quoted from Pankaj Dorlikar
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/
quoted from Pankaj Dorlikar
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.
list Pankaj Dorlikar · Sat, 7 Mar 2009 14:39:05 +0530 ·
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 <user-bc00a861a9ff@xymon.invalid>
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: user-ae9b8668bcde@xymon.invalid
quoted from Pankaj Dorlikar


pankaj dorlikar <user-93d3572686c4@xymon.invalid> 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.


-- 

Pankaj V. Dorlikar
list Pankaj Dorlikar · Sat, 7 Mar 2009 14:59:12 +0530 ·
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 ----------
quoted from Pankaj Dorlikar
From: pankaj dorlikar <user-93d3572686c4@xymon.invalid>
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: user-ae9b8668bcde@xymon.invalid


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 <user-bc00a861a9ff@xymon.invalid>
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: user-ae9b8668bcde@xymon.invalid


pankaj dorlikar <user-93d3572686c4@xymon.invalid> 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.


-- 
Pankaj V. Dorlikar


-- 

Pankaj V. Dorlikar
list Kristian Nielsen · Sat, 07 Mar 2009 12:44:58 +0100 ·
quoted from Pankaj Dorlikar
pankaj dorlikar <user-93d3572686c4@xymon.invalid> writes:
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
Well, do you have the Hobbit server running on 13.1.1.4? That is what bbd is
testing. Ie. you probably only want to use the bbd test on one host, the one
that is running the Hobbit server.
get clear status of procs ,ports,files etc to green..
The reason these are clear is that there are no tests defined for these by
default.

If you have some processes, tcp ports, or log files that you want to monitor,
you can add them in hobbit-clients.cfg. If not, just ignore them.

Also, it sounds like it would be useful for you to take a step back and make a
list of exactly what services that you have running and want monitored, and
then map that list onto the tests that Hobbit can run.

 - Kristian.
list Pankaj Dorlikar · Sun, 8 Mar 2009 20:49:41 +0530 ·
quoted from Kristian Nielsen
---------- Forwarded message ----------
From: Kristian Nielsen <user-bc00a861a9ff@xymon.invalid>
Date: Sat, Mar 7, 2009 at 5:14 PM
Subject: Re: Fwd: [hobbit] conn:red but host is ok also clear for files,http
and procs
To: user-ae9b8668bcde@xymon.invalid


pankaj dorlikar <user-93d3572686c4@xymon.invalid> writes:
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
Well, do you have the Hobbit server running on 13.1.1.4? That is what bbd is
testing. Ie. you probably only want to use the bbd test on one host, the one
that is running the Hobbit server.
get clear status of procs ,ports,files etc to green..
The reason these are clear is that there are no tests defined for these by
default.

If you have some processes, tcp ports, or log files that you want to
monitor,
you can add them in hobbit-clients.cfg. If not, just ignore them.

Also, it sounds like it would be useful for you to take a step back and make
a
list of exactly what services that you have running and want monitored, and
then map that list onto the tests that Hobbit can run.

 - Kristian.


-- 

Pankaj V. Dorlikar