[Xymon] What determines displayed columns?
Larry Barber
lebarber at gmail.com
Fri Jan 11 21:20:37 CET 2013
The Xymon client reports data by machine name (if its a *nix machine it's
the return from uname -n), so the only columns you will see for Surprise
are the network tests, which are pretty much the only ones that read the
hosts.cfg file. Your server is just not seeing any client tests for
Surprise.
Thanks,
Larry Barber
On Fri, Jan 11, 2013 at 1:50 PM, Mills, David (IS) <David.Mills at ngc.com>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:lebarber at gmail.com]
> *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) <David.Mills at ngc.com>
> 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* ****
>
> 512-595-1238
> david.mills at ngc.com ****
>
> ****
>
> ****
>
> ****
>
>
> _______________________________________________
> Xymon mailing list
> Xymon at xymon.com
> http://lists.xymon.com/mailman/listinfo/xymon****
>
> ** **
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20130111/b45d003c/attachment.html>
More information about the Xymon
mailing list