Xymon Mailing List Archive search

Issue with NOCOLUMNS in default section of hosts.cfg

list Kris Springer
Thu, 26 Mar 2020 09:43:19 -0600
Message-Id: <user-5292b9583e91@xymon.invalid>

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
user-a65af99e49c9@xymon.invalid
https://www.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
199.33.251.50   joshua.judahnet.net     # conn dns ntp bbd smtp ssh
199.33.251.52   ezekiel.judahnet.net    # conn dns ntp smtp ssh

And it worked..
I have tried changing that line to
.default.       #NOCOLUMNS:ports,files
OR
0.0.0.0.        .default.       #NOCOLUMNS:ports,files
OR
0.0.0.0.        .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 ?

Jim