<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:x="urn:schemas-microsoft-com:office:excel" 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)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@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:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman",serif;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri",sans-serif;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you again Jeremy. I’m going to see if I can tackle it via web page header modification.
</span><span style="font-size:11.0pt;color:#1F497D"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Jeremy Laidman [mailto:jeremy@laidman.org]
<br>
<b>Sent:</b> Wednesday, March 28, 2018 11:54 PM<br>
<b>To:</b> Ashu Patel <APatel@kgsalpha.com><br>
<b>Cc:</b> xymon@xymon.com<br>
<b>Subject:</b> Re: [Xymon] Help with removing top line of Combo Status page<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">It's tricky to modify a package. Best thing might be to get the equivalent source code, extract it, compile using instructions, then modify and recompile. This will make a new xymond. You can then copy this over the old xymond or copy next
 to it with a different name (eg xymond-patched) and adjust the tasks.cfg file accordingly.<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Another option, to avoid replacing a binary on the Xymon server, would be to modify the web page header with a bit of javascript that hunts down and removes the lines you don't want. You could do this in either xymonmenu.cfg or stdnormal_header.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 29 March 2018 at 02:42, Ashu Patel <<a href="mailto:APatel@kgsalpha.com" target="_blank">APatel@kgsalpha.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D">Thank you very much Jeremy. It appears that I’ll have to modify the combostatus.c file as the other
 options will not just remove the expression from the top without removing all of the lines in the combo. Now I’ll have to figure out how I can go about modifying the .c file and recompile Xymon using Terebithia package.  Any idea on how to go about doing that?
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">J</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma",sans-serif"> Jeremy Laidman [mailto:<a href="mailto:jeremy@laidman.org" target="_blank">jeremy@laidman.org</a>]
<br>
<b>Sent:</b> Tuesday, March 27, 2018 8:46 AM<br>
<b>To:</b> Ashu Patel<br>
<b>Cc:</b> <a href="mailto:xymon@xymon.com" target="_blank">xymon@xymon.com</a><br>
<b>Subject:</b> Re: [Xymon] Help with removing top line of Combo Status page</span><o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Update [combostatus] in tasks.cfg and add "--quiet" to the end of the CMD setting.<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">For more info, see "man combostatus".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">However, this will also remove the other lines that follow.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">There is an undocumented option "--clean" that sets the "cleanexpr" flag. This appears to print the combo status in a slightly different (and IMHO more readable) format, replacing
 "||" with "OR" and "&&" with "AND".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The only way to remove the combo status while leaving the other lines is to modify the code, which would be to edit combostatus.c and remove the lines around calls to "printify(...)".<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Cheers<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Jeremy<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On 23 February 2018 at 03:59, Ashu Patel <<a href="mailto:APatel@kgsalpha.com" target="_blank">APatel@kgsalpha.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello all, I need assistance with customizing the status page generated of a combo test. On the top (under the date/time), there is a line that lists the following: test1&&test2&&test3…
 = 1&&1&&1&&1.. = 1.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">How do I get rid of this line? (See the yellow highlighted in the attached image)<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><img border="0" width="988" height="103" style="width:10.2916in;height:1.0729in" id="m_9164195149858912769m_-4085936360380861311Picture_x0020_2" src="cid:image001.png@01D3C73B.242B4610"><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">This is informational only and is not a solicitation, commitment or confirmation. Transaction details are subject to official confirmation and terms of business. We may make markets,
 buy/sell as principal or have a position in financial instruments herein. We do not warrant that information is accurate, complete or that any returns will be achieved. Price/availability is subject to change. Changes to assumptions may have a material impact
 on price/returns. Other than transactions in financial instruments, any agreement KGS enters into must be executed by a KGS authorized signatory. If you received in error, please delete and advise sender. Communications are subject to review and archiving.
 Changes to assumptions may have material impact on price or returns. For more information, please contact your representative. If you received this message in error, please delete the message and advise the sender. Communications to and from our firm are subject
 to review and archiving. <o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;margin-bottom:12.0pt"><br>
_______________________________________________<br>
Xymon mailing list<br>
<a href="mailto:Xymon@xymon.com" target="_blank">Xymon@xymon.com</a><br>
<a href="http://lists.xymon.com/mailman/listinfo/xymon" target="_blank">http://lists.xymon.com/mailman/listinfo/xymon</a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
</div>
</div>
<div>
<div>
<p class="MsoNormal">This is informational only and is not a solicitation, commitment or confirmation. Transaction details are subject to official confirmation and terms of business. We may make markets, buy/sell as principal or have a position in financial
 instruments herein. We do not warrant that information is accurate, complete or that any returns will be achieved. Price/availability is subject to change. Changes to assumptions may have a material impact on price/returns. Other than transactions in financial
 instruments, any agreement KGS enters into must be executed by a KGS authorized signatory. If you received in error, please delete and advise sender. Communications are subject to review and archiving. Changes to assumptions may have material impact on price
 or returns. For more information, please contact your representative. If you received this message in error, please delete the message and advise the sender. Communications to and from our firm are subject to review and archiving.
<o:p></o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
This is informational only and is not a solicitation, commitment or confirmation. Transaction details are subject to official confirmation and terms of business. We may make markets, buy/sell as principal or have a position in financial instruments herein.
 We do not warrant that information is accurate, complete or that any returns will be achieved. Price/availability is subject to change. Changes to assumptions may have a material impact on price/returns. Other than transactions in financial instruments, any
 agreement KGS enters into must be executed by a KGS authorized signatory. If you received in error, please delete and advise sender. Communications are subject to review and archiving. Changes to assumptions may have material impact on price or returns. For
 more information, please contact your representative. If you received this message in error, please delete the message and advise the sender. Communications to and from our firm are subject to review and archiving.
</body>
</html>