<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>If anyone is interested I could share the code or provide it back to the maintainers.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Mark<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span lang=EN-US>From:</span></b><span lang=EN-US> Xymon <xymon-bounces@xymon.com> <b>On Behalf Of </b>IO Support<br><b>Sent:</b> 26 March 2020 15:43<br><b>To:</b> jbh@genesis-net.net; xymon@xymon.com<br><b>Subject:</b> Re: [Xymon] Issue with NOCOLUMNS in default section of hosts.cfg<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:10.0pt'>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.<br><br>group-only ping|http|content|sslcert|ssh|ftp|uptime|disk|cpu|memory|svcs|procs|files|msgs|timediff|libs|updates|who|clientlog|info|graphs Servers<br><br>Feel free to email me for hosts.cfg samples.<br></span><br><br><o:p></o:p></p><pre>Thank You,<o:p></o:p></pre><pre>Systems Admin<o:p></o:p></pre><pre>I/O Network Administration<o:p></o:p></pre><pre><a href="mailto:support@ionetworkadmin.com">support@ionetworkadmin.com</a><o:p></o:p></pre><pre><a href="https://www.ionetworkadmin.com">https://www.ionetworkadmin.com</a><o:p></o:p></pre><pre><o:p> </o:p></pre><pre><o:p> </o:p></pre><div><p class=MsoNormal>On 3/26/20 9:19 AM, James B Huber wrote:<o:p></o:p></p></div><blockquote style='margin-top:5.0pt;margin-bottom:5.0pt'><pre>This is doubtless a completely STUPID question.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Have been using Xymon since BB, then Hobbit days...recently upgraded to<o:p></o:p></pre><pre>4.3.30 and moved/replaced the main host it was running on.<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>To the point, I have everything working, but... on the main display, I<o:p></o:p></pre><pre>have getting columns for "files" and "ports".<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>More to the point, previously this worked. I have an entry at the TOP<o:p></o:p></pre><pre>of the hosts.cfg file that looks like this:<o:p></o:p></pre><pre># hosts.cfg file<o:p></o:p></pre><pre>.default.       NOCOLUMNS:ports,files<o:p></o:p></pre><pre>199.33.251.50   joshua.judahnet.net     # conn dns ntp bbd smtp ssh<o:p></o:p></pre><pre>199.33.251.52   ezekiel.judahnet.net    # conn dns ntp smtp ssh<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>And it worked..<o:p></o:p></pre><pre>I have tried changing that line to <o:p></o:p></pre><pre>.default.       #NOCOLUMNS:ports,files<o:p></o:p></pre><pre>OR<o:p></o:p></pre><pre>0.0.0.0.        .default.       #NOCOLUMNS:ports,files<o:p></o:p></pre><pre>OR<o:p></o:p></pre><pre>0.0.0.0.        .default.       NOCOLUMNS:ports,files<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>None of them work...<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>I can append on the END of all the individual HOSTS lines<o:p></o:p></pre><pre>"NOCOLUMNS:ports,files"... and that works...<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>What am I doing wrong with default section ?<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>Jim<o:p></o:p></pre><pre><o:p> </o:p></pre><pre>_______________________________________________<o:p></o:p></pre><pre>Xymon mailing list<o:p></o:p></pre><pre><a href="mailto:Xymon@xymon.com">Xymon@xymon.com</a><o:p></o:p></pre><pre><a href="http://lists.xymon.com/mailman/listinfo/xymon">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></pre></blockquote><p class=MsoNormal><o:p> </o:p></p></div></body></html>