Xymon Mailing List Archive search

What determines displayed columns?

list Michael Beatty
Fri, 11 Jan 2013 15:16:49 -0500
Message-Id: <user-3d18b15e8b1f@xymon.invalid>

The tags you place after the host tell xymon which tags are relevant for that host, this is how xymon knows to run tests for those hosts.  The tags have no impact on which column heading appear.

Xymon generates columns for EVERYTHING unless you tell it not too.  If you don't want all those columns showing up, you need to tell Xymon this using the "group-only" or "group-except" designation.  If I'm understanding you correctly, your hosts.cfg file should look like:

group-only bbd|conn|http|mem|procs|disk|ssh|ntp
1.2.3.4 dwru002   #bbd ssh ntp ENV:winall,2 ENV:global,2 ENV:vlan,12 http://dwru002
1.2.3.4 Surprise #bbd ssh ntp ENV:winall,2 ENV:global,2 ENV:vlan,12 http://dwru002

Michael Beatty

On 01/11/2013 02:50 PM, Mills, David (IS) wrote:

Thanks Michael / Larry!

OK -- here's what I'm finding as I continue to probe the guts of hobbit (Xymon 4.3.3) in my environment:

I have a host with the following column headings:

bbd        conn      cpu         disk        http info        iostat     iostat2   mem2  memory  meta  msgs \

nfs  ntp  ports    procs     prtdiag   raid  sar  ssh tm          trends  xymond  xymongen  \

xymonnet zones

It's config looks like this in hosts.cfg:

group   Some Group Heading

x.x.x.x    dwru002      # bbd ssh ntp      ENV:winall,2 ENV:global,2 ENV:vlan,12 http://dwru002

I copy that same line and paste it below this host, but change the name from "dwru002" to "Surprise" -- same IP --  like this:

group   Some Group Heading

x.x.x.x    dwru002      # bbd ssh ntp      ENV:winall,2 ENV:global,2 ENV:vlan,12 http://dwru002

x.x.x.x    Surprise       #  bbd ssh ntp ENV:winall,2 ENV:global,2 ENV:vlan,12 http://dwru002

The only columns populating besides "trends" and "info" for "Surprise" are:

bbd  conn  http  ntp  ssh

So somewhere in the Xymon config, it's keying off the exact name of "dwru002" to generate all these other columns of data, but where?

Also -- I thought I should get "cpu, mem, procs, disk" and a few others by default, unless quashed in the tag fields. What gives?

Thanks for any ideas...

david

*From:*Larry Barber [mailto:user-6ef9c2864140@xymon.invalid]
*Sent:* Wednesday, January 09, 2013 5:18 PM
*To:* Mills, David (IS)
*Cc:* xymon at xymon.com
*Subject:* EXT :Re: [Xymon] What determines displayed columns?

By default Xymon will display every test it has data for. You can use the 'xymon' command to find out what these are these: xymon <xymonhostname> 'xymondboard host=<hostname>'. You can control which tests get displayed by using the "group" directive in your hosts.cfg file. See the hosts.cfg man page for details.

Thanks,

Larry Barber

On Wed, Jan 9, 2013 at 5:10 PM, Mills, David (IS) <user-eb64c112f0e9@xymon.invalid <mailto:user-eb64c112f0e9@xymon.invalid>> wrote:

All --

Besides adding specific tags for services / tests in hosts.cfg, what determines which service columns appear on web page for a particular client? I.e. I have some clients in my environment which do not have any tags in hosts.cfg, but display several "tests".

I see part of the puzzle: the client runs (in my case): ~/xymon/client_sunos-5.10/bin/xymonclient-sunos.sh, which generates the following columns of data

date

uname

uptime

who

df

mount

prtconf

memory

swap

swaplist

ifconfig

route

netstat

ports

ifstat

ps

top

I also see there's a file called ~/xymon/client/etc/clientlaunch.cfg, which is like the server-side "tasks.cfg" in concept / syntax.

However, what determines which of these stanzas applies for which-host?

Thanks!

david

~~~~~~~~~~~~~~~~~~~
*David Mills*
Systems Administrator
*/Northrop Grumman/*

XXX-XXX-XXXX <tel:XXX-XXX-XXXX>
user-eb64c112f0e9@xymon.invalid <mailto:user-eb64c112f0e9@xymon.invalid>