[Xymon] Issue with NOCOLUMNS in default section of hosts.cfg

Mark O. Stitson mark at stitson.com
Thu Mar 26 17:45:34 CET 2020

I went the opposite way and used the group-except directive to hide things that already appear on combo tests. I did change the source code to allow group-except to take regular expressions though.


If anyone is interested I could share the code or provide it back to the maintainers.




From: Xymon <xymon-bounces at xymon.com> On Behalf Of IO Support
Sent: 26 March 2020 15:43
To: jbh at genesis-net.net; xymon at xymon.com
Subject: Re: [Xymon] Issue with NOCOLUMNS in default section of hosts.cfg


I take a slightly different approach.  Instead of leaving all the defaults active and trying to hide certain columns, I use the 'group-only' option in my hosts.cfg file to only display the columns that I want to see for certain lists of hosts.  This way I can statically add/remove columns as desired.  It works great for lists of hosts that I'm only pinging or checking for http uptime.  It also gives me an easy way to move the columns around to display in the order that I prefer.  I also have my stuff sorted using the 'page' option which keeps things even more organized.

group-only ping|http|content|sslcert|ssh|ftp|uptime|disk|cpu|memory|svcs|procs|files|msgs|timediff|libs|updates|who|clientlog|info|graphs Servers

Feel free to email me for hosts.cfg samples.

Thank You,
Systems Admin
I/O Network Administration
support at ionetworkadmin.com <mailto:support at ionetworkadmin.com> 

On 3/26/20 9:19 AM, James B Huber wrote:

This is doubtless a completely STUPID question.
Have been using Xymon since BB, then Hobbit days...recently upgraded to
4.3.30 and moved/replaced the main host it was running on.
To the point, I have everything working, but... on the main display, I
have getting columns for "files" and "ports".
More to the point, previously this worked. I have an entry at the TOP
of the hosts.cfg file that looks like this:
# hosts.cfg file
.default.       NOCOLUMNS:ports,files   joshua.judahnet.net     # conn dns ntp bbd smtp ssh   ezekiel.judahnet.net    # conn dns ntp smtp ssh
And it worked..
I have tried changing that line to 
.default.       #NOCOLUMNS:ports,files
OR        .default.       #NOCOLUMNS:ports,files
OR        .default.       NOCOLUMNS:ports,files
None of them work...
I can append on the END of all the individual HOSTS lines
"NOCOLUMNS:ports,files"... and that works...
What am I doing wrong with default section ?
Xymon mailing list
Xymon at xymon.com <mailto:Xymon at xymon.com> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20200326/5a207be0/attachment.htm>

More information about the Xymon mailing list