Xymon Mailing List Archive search

not getting ssh status for any host

list Greg Hubbard
Thu, 19 Nov 2009 10:58:10 -0600
Message-Id: <user-3a644bc49120@xymon.invalid>

You have to enable the ssh test, like Jerald says.  You do this on each
"real" (instead of copy) entry.

So:

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   mn49.mgmt.acc.in    #   ssh
172.29.1.50   mn50.mgmt.acc.in    #   ssh
172.29.1.51   mn51.mgmt.acc.in    #   ssh
172.29.1.52   mn52.mgmt.acc.in    #   ssh
172.29.1.53   mn53.mgmt.acc.in    #   ssh
172.29.1.54   mn54.mgmt.acc.in    #   ssh

GLH
On Thu, Nov 19, 2009 at 10:31 AM, Sheets, Jerald
<user-dc7b196c5161@xymon.invalid>wrote:
 I have to ask...

You don't have anything but "noconn" listed in many of your hosts, implying
you're using that because firewalling disables ping. (or swallows ICMP
echoes)

Does it similarly mangle your ssh sessions?

In a standard install, simply adding "ssh" to the end of a host blick is
all that's needed:


10.1.1.2   foo.bar.com       # conn cpu disk msgs procs ssh

simply by adding the ssh tag on the end of my host checks, I now have an
ssh column with the output I need.  Is this not how you were setting this
up?

--jms


*From:* pankaj dorlikar [mailto:user-93d3572686c4@xymon.invalid]
*Sent:* Thursday, November 19, 2009 11:22 AM
*To:* user-ae9b8668bcde@xymon.invalid
*Subject:* [hobbit] not getting ssh status for any host

  Hi,
i have xymon4.2.2 and rhel 5.2 os.i have a server and 120 clients.
on some of the clients,i was getting purple status for ssh.then i removed
it by using ./bb 127.0.0.1 "drop clientname ssh" on server and the purple
status gone for those clients but now there is no status for ssh on display
page for client.I want green status for ssh for all clients again.what
should i do?Rest all thins are ok.
My hostfile is like:


page rack001 <I>Yuva Compute</I>

title <I>YUVA Compute</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   mn49.mgmt.acc.in    #
172.29.1.50   mn50.mgmt.acc.in    #
172.29.1.51   mn51.mgmt.acc.in    #
172.29.1.52   mn52.mgmt.acc.in    #
172.29.1.53   mn53.mgmt.acc.in    #
172.29.1.54   mn54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 mn49.mgmt.acc.in    # noconn
0.0.0.0 mn50.mgmt.acc.in    # noconn
0.0.0.0 mn51.mgmt.acc.in    # noconn
0.0.0.0 mn52.mgmt.acc.in    # noconn
0.0.0.0 mn53.mgmt.acc.in    # noconn
0.0.0.0 mn54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 mn49.mgmt.acc.in    # noconn
0.0.0.0 mn50.mgmt.acc.in    # noconn
0.0.0.0 mn51.mgmt.acc.in    # noconn
0.0.0.0 mn52.mgmt.acc.in    # noconn
0.0.0.0 mn53.mgmt.acc.in    # noconn
0.0.0.0 mn54.mgmt.acc.in    # noconn
....and so on

Kindly help

Regards,
pankaj
-- 
Disclaimer:  1) all opinions are my own, 2) I may be completely wrong, 3) my
advice is worth at least as much as what you are paying for it, or your
money cheerfully refunded.