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
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 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
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: 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> 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
Xymon mailing list Xymon at xymon.com <mailto:Xymon at xymon.com> http://lists.xymon.com/mailman/listinfo/xymon
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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
On Thu, 2020-03-26 at 16:47 +0100, mailinglist at tikklik.nl 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- 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.
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, mailinglist at tikklik.nl 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
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
-- 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.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
participants (5)
-
jbh@genesis-net.net
-
john.horne@plymouth.ac.uk
-
mailinglist@tikklik.nl
-
mark@stitson.com
-
support@ionetworkadmin.com