Xymon Mailing List Archive search

not getting ssh status for any host

list Pankaj Dorlikar
Sat, 21 Nov 2009 15:19:33 +0530
Message-Id: <user-e5f91243ea42@xymon.invalid>

hi,
thanks for ur respoce.but i hv done such configuration for making my display
page as per the requirement.In my first display page (bb.html),
i only have 3 links.After clicking on one of the links,i have other links
and after clicking the 2 page link,i get list of hosts as first colmn and
single test as 2nd colun .
In bb-hosts,i have
*conn*<http://192.168.9.104/xymon-cgi/hobbitcolumn.sh?conn>;
  mn49.mgmt.Yuma.pram[image:
conn:green:5h49m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn49.mgmt.yuva.param&SERVICE=conn>;
  mn50.mgmt.Yuma.pram[image:
conn:green:5h49m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn50.mgmt.yuva.param&SERVICE=conn>;
  mn51.mgmt.Yuma.pram[image:
conn:green:5h49m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn51.mgmt.yuva.param&SERVICE=conn>;
  mn52.mgmt.Yuma.pram[image:
conn:green:5h49m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn52.mgmt.yuva.param&SERVICE=conn>;
  mn53.mgmt.Yuma.pram[image:
conn:green:5h49m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn53.mgmt.yuva.param&SERVICE=conn>;
  mn54.mgmt.Yuma.pram[image:
conn:green:5h49m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn54.mgmt.yuva.param&SERVICE=conn>;

and for ssh i have

   mn49.mgmt.Yuma.pram[image:
ssh:green:5h48m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn49.mgmt.yuva.param&SERVICE=ssh>;
  mn50.mgmt.Yuma.pram[image:
ssh:green:5h48m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn50.mgmt.yuva.param&SERVICE=ssh>;
  mn51.mgmt.Yuma.pram[image:
ssh:green:5h48m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn51.mgmt.yuva.param&SERVICE=ssh>;
  mn52.mgmt.Yuma.pram[image:
ssh:green:5h48m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn52.mgmt.yuva.param&SERVICE=ssh>;
  mn53.mgmt.Yuma.pram[image:
ssh:green:5h48m]<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn53.mgmt.yuva.param&SERVICE=ssh>;
  mn54.mgmt.Yuma.pram-
 like this for every set of nodes .
When i do as suggested by  Malcolm Hunter,
i get error of
Host a.b.c.d appears twice in bb-hosts! This may cause strange results.
and if i do as i given in my firsh query,
i get purple ssh.
kindly suggest.


On Fri, Nov 20, 2009 at 12:16 AM, Greg Hubbard <user-435e16ecfd6a@xymon.invalid> wrote:
Yes, but it makes more sense to me to define the tests on the "real"
entries instead of on the copies.  That is not to say that your suggestion
would not work!

GLH

On Thu, Nov 19, 2009 at 11:41 AM, Malcolm Hunter <user-b3e590ffeb6d@xymon.invalid
wrote:
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
Except the "group-only conn" will not show the ssh column. So you only
need to do this for the "group-only ssh" groups.

Regards,

Malcolm


--
Technical copy-editor & proofreader

KDE Proofreading Team
KDE British English Translation Team

http://l10n.kde.org/team-infos.php?teamcode=en_GB

Facebook: http://www.facebook.com/FriendlyAtheist

Preisknaller: GMX DSL Flatrate für nur 16,99 Euro/mtl.!
http://portal.gmx.net/de/go/dsl02

--
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.
-- 
Pankaj V. Dorlikar