Issue with NOCOLUMNS in default section of hosts.cfg
list James B Huber
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
list Kris Springer
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
list Steffan Noord
Hello Jim, 0.0.0.0 .default. # NOCOLUMNS:procs,ports,clientlog,files ssldays=14 Is working for me on 4.3.30 I have it on top of the hosts.cfg file Chears, Steffan
▸
-----Oorspronkelijk bericht-----
Van: Xymon <xymon-bounces at xymon.com> Namens James B Huber
Verzonden: donderdag 26 maart 2020 16:19
Aan: xymon at xymon.com
Onderwerp: [Xymon] Issue with NOCOLUMNS in default section of hosts.cfg
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
list John Horne
▸
On Thu, 2020-03-26 at 16:47 +0100, user-a2c231b1253e@xymon.invalid wrote:
Hello Jim, 0.0.0.0 .default. # NOCOLUMNS:procs,ports,clientlog,files ssldays=14 Is working for me on 4.3.30 I have it on top of the hosts.cfg file
Yes, likewise the format I have is different from those shown by the OP. Ours starts with: 0.0.0.0 .default. # NOCOLUMNS:bbd,... Perhaps it's just the space between the '#' and 'NOCOLUMNS' that is required. John
▸
-----Oorspronkelijk bericht----- Van: Xymon <xymon-bounces at xymon.com> Namens James B Huber Verzonden: donderdag 26 maart 2020 16:19 Aan: xymon at xymon.com Onderwerp: [Xymon] Issue with NOCOLUMNS in default section of hosts.cfg 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
--
John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK [http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>; This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
list James B Huber
John, Thank you, you were correct, it needs the space between the "#" and "NOCOLUMNS" 0.0.0.0 .default. #NOCOLUMNS:files,ports Works great. Really appreciate the help folks ! Jim
▸
On Thu, 2020-03-26 at 16:25 +0000, John Horne wrote:On Thu, 2020-03-26 at 16:47 +0100, user-a2c231b1253e@xymon.invalid wrote:Hello Jim, 0.0.0.0 .default. # NOCOLUMNS:procs,ports,clientlog,files ssldays=14 Is working for me on 4.3.30 I have it on top of the hosts.cfg fileYes, likewise the format I have is different from those shown by the OP. Ours starts with: 0.0.0.0 .default. # NOCOLUMNS:bbd,... Perhaps it's just the space between the '#' and 'NOCOLUMNS' that is required. John-----Oorspronkelijk bericht----- Van: Xymon <xymon-bounces at xymon.com> Namens James B Huber Verzonden: donderdag 26 maart 2020 16:19 Aan: xymon at xymon.com Onderwerp: [Xymon] Issue with NOCOLUMNS in default section of hosts.cfg 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-- John Horne | Senior Operations Analyst | Technology and Information Services University of Plymouth | Drake Circus | Plymouth | Devon | PL4 8AA | UK [ http://www.plymouth.ac.uk/images/email_footer.gif]<http://www.plymouth.ac.uk/worldclass>; ; This email and any files with it are confidential and intended solely for the use of the recipient to whom it is addressed. If you are not the intended recipient then copying, distribution or other use of the information contained is strictly prohibited and you should not rely on it. If you have received this email in error please let the sender know immediately and delete it from your system(s). Internet emails are not necessarily secure. While we take every care, University of Plymouth accepts no responsibility for viruses and it is your responsibility to scan emails and their attachments. University of Plymouth does not accept responsibility for any changes made after it was sent. Nothing in this email or its attachments constitutes an order for goods or services unless accompanied by an official order form.
list Mark O. Stitson
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. Mark
▸
From: Xymon <xymon-bounces at xymon.com> On Behalf Of IO Support
Sent: 26 March 2020 15:43
To: user-d49abaff4f88@xymon.invalid; 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
user-a65af99e49c9@xymon.invalid <mailto: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