Xymon Mailing List Archive search

ssh status problem

6 messages in this thread

list Akshar Bhosale · Wed, 1 Sep 2010 00:23:09 +0530 ·
---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
Date: Tue, Aug 31, 2010 at 9:36 PM
Subject: ssh status problem
To: user-ae9b8668bcde@xymon.invalid


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>Compute cluster</I>

title <I>Compute Nodes</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    #
172.29.1.50   node50.mgmt.acc.in    #
172.29.1.51   node51.mgmt.acc.in    #
172.29.1.52   node52.mgmt.acc.in    #
172.29.1.53   node53.mgmt.acc.in    #
172.29.1.54   node54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn
....and so on

Kindly help
list Vernon Everett · Wed, 1 Sep 2010 11:00:31 +0800 ·
You need to tell Xymon to monitor ssh.
It doesn't do it as standard.
Try change your bb-hosts to the following
subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    # ssh
172.29.1.50   node50.mgmt.acc.in    # ssh
172.29.1.51   node51.mgmt.acc.in    # ssh
172.29.1.52   node52.mgmt.acc.in    # ssh
172.29.1.53   node53.mgmt.acc.in    # ssh
172.29.1.54   node54.mgmt.acc.in    # ssh

This only needs to be done on the first instance of the host. (The one with
the IP address)

Regards
     Vernon
quoted from Akshar Bhosale


On Wed, Sep 1, 2010 at 2:53 AM, akshar bhosale <user-ef04175556bd@xymon.invalid>wrote:
---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
Date: Tue, Aug 31, 2010 at 9:36 PM
Subject: ssh status problem
To: user-ae9b8668bcde@xymon.invalid


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>Compute cluster</I>

title <I>Compute Nodes</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    #
172.29.1.50   node50.mgmt.acc.in    #
172.29.1.51   node51.mgmt.acc.in    #
172.29.1.52   node52.mgmt.acc.in    #
172.29.1.53   node53.mgmt.acc.in    #
172.29.1.54   node54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn
....and so on

Kindly help

list Pankaj Dorlikar · Wed, 1 Sep 2010 23:16:10 +0530 ·
thanks a lot..its working...
quoted from Vernon Everett

On Wed, Sep 1, 2010 at 8:30 AM, Vernon Everett <user-b3f8dacb72c8@xymon.invalid>wrote:
You need to tell Xymon to monitor ssh.
It doesn't do it as standard.
Try change your bb-hosts to the following

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    # ssh
172.29.1.50   node50.mgmt.acc.in    # ssh
172.29.1.51   node51.mgmt.acc.in    # ssh
172.29.1.52   node52.mgmt.acc.in    # ssh
172.29.1.53   node53.mgmt.acc.in    # ssh
172.29.1.54   node54.mgmt.acc.in    # ssh

This only needs to be done on the first instance of the host. (The one with
the IP address)

Regards
     Vernon


On Wed, Sep 1, 2010 at 2:53 AM, akshar bhosale <user-ef04175556bd@xymon.invalid>wrote:
---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
Date: Tue, Aug 31, 2010 at 9:36 PM
Subject: ssh status problem
To: user-ae9b8668bcde@xymon.invalid


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>Compute cluster</I>

title <I>Compute Nodes</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    #
172.29.1.50   node50.mgmt.acc.in    #
172.29.1.51   node51.mgmt.acc.in    #
172.29.1.52   node52.mgmt.acc.in    #
172.29.1.53   node53.mgmt.acc.in    #
172.29.1.54   node54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn
....and so on

Kindly help

-- 

Pankaj V. Dorlikar
list Henrik Størner · Thu, 23 Sep 2010 13:23:36 +0000 (UTC) ·
In <AANLkTiki9ssUVQb=U0w0nyxuujN=user-f13b38d68d8a@xymon.invalid> akshar bhosale <user-ef04175556bd@xymon.invalid> writes:
I want green status for ssh for all clients again.what
should i do?Rest all thins are ok.
My hostfile is like:
Your bb-hosts file does not configure Xymon to perform any SSH tests. 
To have an "ssh" status, you must list "ssh" as one of the network
tests you run for the host. With the layout you use (a bit unorthodox,
but quite ok), you should add "ssh" on these lines:
quoted from Pankaj Dorlikar
subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    # ssh
172.29.1.50   node50.mgmt.acc.in    # ssh
172.29.1.51   node51.mgmt.acc.in    # ssh
172.29.1.52   node52.mgmt.acc.in    # ssh
172.29.1.53   node53.mgmt.acc.in    # ssh
172.29.1.54   node54.mgmt.acc.in    # ssh

The "group-only conn" makes sure you only get the "conn" status displayed
on that page, but the "ssh" test will run and show up on the page where
you have a "group-only ssh".

Don't put the "ssh" on the entries in the "group-only ssh" section.
All of the network tests you perform must be listed in a single
entry, not spread over several lines.


Regards,
Henrik
list Pankaj Dorlikar · Thu, 23 Sep 2010 20:34:07 +0530 ·
thanks...it worked for me

On Thu, Sep 23, 2010 at 6:53 PM, Henrik Størner <user-ce4a2c883f75@xymon.invalid> wrote:
In <AANLkTiki9ssUVQb=U0w0nyxuujN=user-f13b38d68d8a@xymon.invalid<user-8b1726ab4fdd@xymon.invalid>>
quoted from Akshar Bhosale
akshar bhosale <user-ef04175556bd@xymon.invalid> writes:
I want green status for ssh for all clients again.what
should i do?Rest all thins are ok.
My hostfile is like:
Your bb-hosts file does not configure Xymon to perform any SSH tests.
To have an "ssh" status, you must list "ssh" as one of the network
tests you run for the host. With the layout you use (a bit unorthodox,
but quite ok), you should add "ssh" on these lines:
subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    # ssh
172.29.1.50   node50.mgmt.acc.in    # ssh
172.29.1.51   node51.mgmt.acc.in    # ssh
172.29.1.52   node52.mgmt.acc.in    # ssh
172.29.1.53   node53.mgmt.acc.in    # ssh
172.29.1.54   node54.mgmt.acc.in    # ssh

The "group-only conn" makes sure you only get the "conn" status displayed
on that page, but the "ssh" test will run and show up on the page where
you have a "group-only ssh".

Don't put the "ssh" on the entries in the "group-only ssh" section.
All of the network tests you perform must be listed in a single
entry, not spread over several lines.


Regards,
Henrik

-- 

Pankaj V. Dorlikar
list Akshar Bhosale · Fri, 24 Sep 2010 23:10:26 +0530 ·
quoted from Pankaj Dorlikar
---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
Date: Wed, Sep 1, 2010 at 12:23 AM
Subject: Fwd: ssh status problem
To: xymon at xymon.com


 ---------- Forwarded message ----------
From: akshar bhosale <user-ef04175556bd@xymon.invalid>
 Date: Tue, Aug 31, 2010 at 9:36 PM
Subject: ssh status problem
To: user-ae9b8668bcde@xymon.invalid


Hi,
i have xymon4.2.2 and rhel 5.2 os.i have a server and 120 clients.
My hostfile is like:


page rack001 <I>Compute cluster</I>

title <I>Compute Nodes</I>

subpage rack900 <I>Row1-Rack6</I>    conn
group-only conn
172.29.1.49   node49.mgmt.acc.in    #
172.29.1.50   node50.mgmt.acc.in    #
172.29.1.51   node51.mgmt.acc.in    #
172.29.1.52   node52.mgmt.acc.in    #
172.29.1.53   node53.mgmt.acc.in    #
172.29.1.54   node54.mgmt.acc.in    #

subpage rack901 cpu
group-only cpu

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn

subpage rack904 ssh
group-only ssh

0.0.0.0 node49.mgmt.acc.in    # noconn
0.0.0.0 node50.mgmt.acc.in    # noconn
0.0.0.0 node51.mgmt.acc.in    # noconn
0.0.0.0 node52.mgmt.acc.in    # noconn
0.0.0.0 node53.mgmt.acc.in    # noconn
0.0.0.0 node54.mgmt.acc.in    # noconn
....and so on

We have 3 sub clusters and above bb-host file. Now our problem is that we
have restriction on subcolumns argument to BBGENOPTS as this is comon for
all three subcluster pages..so if we want to add one extra test in one of
the subcluster, we need to increase subcolumns aruments..e.g.all subclusters
have 8 tests, so subcolumns=8, now if we want to configure one more test in
subcluster2 only, how we should do that? because if we do subcolumns=9, all
our display page will be disturbed as there are 8 tests for subcluster1 and
3 and 9 tests for subcluster2. So how to add or remove any service without
disturbing the main display?


Kindly help