[hobbit] not getting ssh status for any host

Everett, Vernon Vernon.Everett at woodside.com.au
Mon Nov 23 02:23:00 CET 2009


To have a host appear in multiple places is supported and easy - we do it all the time, presenting different view for different groups, some with a limited number of columns.

The error you describe can be avoided by having only ONE "real" entry for your server, and it should look like this.
1.2.3.4  server1 # ssh prefer

All other entries for this server should look like this
0.0.0.0 server1 # noconn

If you want a page with only conn (or any other subgroup of columns) look for the group-only and group-except clauses in the bb-host man pages.
You should have something like this, assuming it is listed elsewhere as the "real" entry.
group-only conn My Servers (Conn only)
0.0.0.0 server1 # noconn

Cheers
      Vernon




________________________________
From: pankaj dorlikar [mailto:pankaj.dorlikar at gmail.com]
Sent: Monday, 23 November 2009 2:11 AM
To: hobbit at hswn.dk
Subject: Re: [hobbit] not getting ssh status for any host


Thanks.But my problem is not yet solved.Please advise/help me.
On Sun, Nov 22, 2009 at 11:43 AM, Jerald Sheets <questy at gmail.com<mailto:questy at gmail.com>> wrote:
I think your best scenario is one where you divorce yourself from the idea of placing a single host's status across multiple pages.

For instance, in an installation with a couple thousand hosts, I too would like to have a page where I could just have my conn status and subpages filled with the rest of what I'm monitoring.  However, I think you're asking a little much of the system (unless Henrik wants to correct me)     :)

What I've found myself doing most is grouping my hosts logically into subpages and sorting by function.  Once into the subpage, then all statuses are completely viewable and available.

I will say this, though, I use the "All Non-Green" view more than anything else in Hobbit/Xymon.  It is our dashboard and our lifeline throughout the day.  We've caught a ton of things that other monitors have missed or fallen short on via that page.

Perhaps looking at the system a different way will give you the coverage you need.

Wish I could be of more help.

--jms



On Nov 21, 2009, at 3:29 PM, pankaj dorlikar wrote:

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  have 3 links only.After clicking on one of the links,i have other links and after clicking that other page link,i get list of hosts as first colmn and single test as 2nd colun .
on display page,i get,
first  page for conn of row1-rack1 subpage,is : http://192.168.4.60/xymon/rack001/rack1003/rack1002.html
              conn
host1       **
host2       **
host3       **
**-indiactes green

2nd
This page is : http://192.168.4.60/xymon/rack001/rack1003/rack1003.html
              ssh
host1       *
host2       *
host3       *
*-indiactes purple

This page is : http://192.168.4.60/xymon/rack001/rack1003/rack1005.html
              homemount
host1       ^
host2       ^
host3       ^
^-indiactes green

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 Sat, Nov 21, 2009 at 8:49 PM, Jerald Sheets <questy at gmail.com<mailto:questy at gmail.com>> wrote:
Could you re-post this in plain text or something?

In the translation, everything got mangled and I've got all sorts of weird colors and strange white backgrounds with illegible foregrounds.

I'd love to help you if I could, but if I can't even see the issue you're having (or read the seeming mobile-texting speak in your email) then it'll be very hard to give you answers.

--jms


On Nov 21, 2009, at 4:49 AM, pankaj dorlikar wrote:

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<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn49.mgmt.yuva.param&SERVICE=conn>   mn50.mgmt.Yuma.pram<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn50.mgmt.yuva.param&SERVICE=conn>   mn51.mgmt.Yuma.pram<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn51.mgmt.yuva.param&SERVICE=conn>   mn52.mgmt.Yuma.pram<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn52.mgmt.yuva.param&SERVICE=conn>   mn53.mgmt.Yuma.pram<http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn53.mgmt.yuva.param&SERVICE=conn>   mn54.mgmt.Yuma.pram<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   <http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn49.mgmt.yuva.param&SERVICE=ssh>
  mn50.mgmt.Yuma.pram   <http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn50.mgmt.yuva.param&SERVICE=ssh>
  mn51.mgmt.Yuma.pram   <http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn51.mgmt.yuva.param&SERVICE=ssh>
  mn52.mgmt.Yuma.pram   <http://192.168.9.104/xymon-cgi/bb-hostsvc.sh?HOST=mn52.mgmt.yuva.param&SERVICE=ssh>
  mn53.mgmt.Yuma.pram   <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 <glh.forums at gmail.com<mailto:glh.forums at gmail.com>> 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 <malcolm.hunter at gmx.co.uk<mailto:malcolm.hunter at gmx.co.uk>> 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<http://mn49.mgmt.acc.in/>    #   ssh
> 172.29.1.50   mn50.mgmt.acc.in<http://mn50.mgmt.acc.in/>    #   ssh
> 172.29.1.51   mn51.mgmt.acc.in<http://mn51.mgmt.acc.in/>    #   ssh
> 172.29.1.52   mn52.mgmt.acc.in<http://mn52.mgmt.acc.in/>    #   ssh
> 172.29.1.53   mn53.mgmt.acc.in<http://mn53.mgmt.acc.in/>    #   ssh
> 172.29.1.54   mn54.mgmt.acc.in<http://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

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





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




--
Pankaj V. Dorlikar




--
Pankaj V. Dorlikar

NOTICE: This email and any attachments are confidential. 
They may contain legally privileged information or 
copyright material. You must not read, copy, use or 
disclose them without authorisation. If you are not an 
intended recipient, please contact us at once by return 
email and then delete both messages and all attachments.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20091123/e3e660aa/attachment.html>


More information about the Xymon mailing list