<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style>
<!--
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
@font-face
        {font-family:"Arial Narrow"}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif"}
span.BalloonTextChar
        {font-family:"Tahoma","sans-serif"}
p.msochpdefault, li.msochpdefault, div.msochpdefault
        {margin-right:0in;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Calibri","sans-serif"}
span.emailstyle17
        {font-family:"Calibri","sans-serif";
        color:windowtext}
span.emailstyle19
        {font-family:"Arial","sans-serif";
        color:navy}
span.balloontextchar0
        {font-family:"Tahoma","sans-serif"}
span.emailstyle22
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
span.EmailStyle24
        {font-family:"Arial","sans-serif";
        color:navy}
span.EmailStyle25
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-size:10.0pt}
@page WordSection1
        {margin:1.0in 1.25in 1.0in 1.25in}
div.WordSection1
        {}
-->
</style>
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Neil,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks for the help.  I did a TCP dump to see what was going on.  It's definitely sending it as an external test, not as part of the collected data.  It's also prepending the status and hostname/filename to the
 message so I had that info in there twice because of that.  I converted it to an external test and corrected the first line and it's working.  Xymon doesn't seem to care whether it's coming from an internal test or an external test for the CPU column.  I still
 need to do some polishing, but at least it's reporting load correctly.  </span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">I'm disappointed there's no way to send this as a client message so the server can interpret it.  That blows. 
</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt; font-family:"Arial Narrow","sans-serif"; color:black">Scot Kreienkamp</span></b><span style="color:#1F497D">
</span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><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""> Neil Simmonds [mailto:Neil.Simmonds@express-gifts.co.uk]
<br>
<b>Sent:</b> Thursday, October 04, 2012 10:19 AM<br>
<b>To:</b> Scot Kreienkamp; xymon@xymon.com<br>
<b>Subject:</b> RE: [Xymon] BBWin Externals</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Hi Scott,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Might be a couple of obvious points but is the cpu file disappearing from /tmp and is it definitely called just cpu and not cpu.something.
</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">If it’s disappearing from the /tmp directory shortly after it got created then it should be getting to the server. The next thing I’d look at is the format of
 your file. I’m not sure that you can feed a file in from an external script and then get the server to check the values, you might need to amend the script to do the threshold checking for you and send a status in the file.
</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Try amending it to add a first line containing just [green] (with the square brackets) and see if it starts showing up.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">My other thought is that it may see cpu as a reserved column so you could try sending it in as Cpu instead of cpu. Maybe it might even work to just drop the cpu
 column you currently have. </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">I think Xymon or BBWin may be dealing with it differently because it is not part of the main
<i>servername</i>.txt file.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Neil.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><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""> Scot Kreienkamp [mailto:SKreien@la-z-boy.com]
<br>
<b>Sent:</b> 04 October 2012 14:51<br>
<b>To:</b> Neil Simmonds; xymon@xymon.com<br>
<b>Subject:</b> RE: [Xymon] BBWin Externals</span><span style="font-size:12.0pt; font-family:"Times New Roman","serif""></span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Hi Neil,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="color:#1F497D">That's what I thought too.  That was my first try.  The client is not reporting CPU data, confirmed by the CPU column being purple right now.  But the CPU data from the external isn't showing up.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt; font-family:"Arial Narrow","sans-serif"; color:black">Scot Kreienkamp</span></b><span style="color:#1F497D">
</span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"> </span></p>
<div style="border:none; border-left:solid blue 1.5pt; padding:0in 0in 0in 4.0pt">
<div>
<div style="border:none; border-top:solid #B5C4DF 1.0pt; padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><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""> Neil Simmonds [mailto:Neil.Simmonds@express-gifts.co.uk]
<br>
<b>Sent:</b> Thursday, October 04, 2012 9:48 AM<br>
<b>To:</b> xymon@xymon.com<br>
<b>Cc:</b> Scot Kreienkamp<br>
<b>Subject:</b> RE: [Xymon] BBWin Externals</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Hi Scott,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">The way I would do it is to comment out the cpu.dll line in BBWin.cfg so that you are not running the standard CPU test, then have your script write the file into
 %BBWIN%/tmp called ‘cpu’</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">That should make your external script output show up in the cpu column as if it was the normal BBWin test. If you are already writing it into /tmp as cpu but still
 have the inbuilt test switched on, that could be your problem.</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy"> </span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Regards,</span></p>
<p class="MsoNormal"><span style="font-size:10.0pt; font-family:"Arial","sans-serif"; color:navy">Neil.</span></p>
<div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><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""> xymon-bounces@xymon.com [mailto:xymon-bounces@xymon.com]
<b>On Behalf Of </b>Scot Kreienkamp<br>
<b>Sent:</b> 04 October 2012 14:26<br>
<b>To:</b> xymon@xymon.com<br>
<b>Subject:</b> [Xymon] BBWin Externals</span></p>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hey,</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Does anyone know if it's possible to build an externals test and have it sent in with the regular collected data with BBWin?<br>
<br>
I have a machine with a large number of cores and BBWin's CPU section is unable to handle reporting on it.  I've made an external whose output exactly matches the CPU section of the data collected and sent to Xymon by BBWin but I'm struggling on how to get
 the data sent to Xymon.  When I write out the data to a file in %BBWIN%/tmp it is sent to the Xymon server but it seems like nothing is happening with it.  Likely because the server is expecting a full external test and I'm not sending like that. 
</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Any ideas?</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Thanks!</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal"><b><span style="font-size:9.0pt; font-family:"Arial Narrow","sans-serif"; color:black">Scot Kreienkamp</span></b><span style="color:#1F497D">
</span></p>
<p class="MsoNormal"> </p>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""><br>
<br>
<br>
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly
 prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number.
 Thank you. </span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151.</span></p>
<div style="border:none; border-bottom:solid windowtext 1.5pt; padding:0in 0in 1.0pt 0in">
<p class="MsoNormal"><span style="font-size:9.0pt">Express Gifts Limited is authorised and regulated by the Financial Services Authority</span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:9.0pt">NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely
 for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Findel PLC and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will
 destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Findel PLC. If you are not the intended recipient, be advised that you have received this email
 in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any
 consequences arising from it. Findel Plc reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error please notify our IT helpdesk on +44(0) 1254 303030</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt"> </span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:12.0pt; font-family:"Times New Roman","serif""><br>
<br>
<br>
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly
 prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number.
 Thank you. </span></p>
<p class="MsoNormal"><span style="font-size:9.0pt">Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151.</span></p>
<div style="border:none; border-bottom:solid windowtext 1.5pt; padding:0in 0in 1.0pt 0in">
<p class="MsoNormal" style="border:none; padding:0in"><span style="font-size:9.0pt">Express Gifts Limited is authorised and regulated by the Financial Services Authority</span></p>
</div>
<div class="MsoNormal" align="center" style="text-align:center"><span style="font-size:12.0pt; font-family:"Times New Roman","serif"">
<hr size="2" width="100%" align="center">
</span></div>
<p class="MsoNormal"><span style="font-size:9.0pt">NOTE: This email and any information contained within or attached in a separate file is confidential and intended solely for the Individual to whom it is addressed. The information or data included is solely
 for the purpose indicated or previously agreed. Any information or data included with this e-mail remains the property of Findel PLC and the recipient will refrain from utilising the information for any purpose other than that indicated and upon request will
 destroy the information and remove it from their records. Any views or opinions presented are solely those of the author and do not necessarily represent those of Findel PLC. If you are not the intended recipient, be advised that you have received this email
 in error and that any use, dissemination, forwarding, printing, or copying of this email is strictly prohibited. No warranties or assurances are made in relation to the safety and content of this e-mail and any attachments. No liability is accepted for any
 consequences arising from it. Findel Plc reserves the right to monitor all e-mail communications through its internal and external networks. If you have received this email in error please notify our IT helpdesk on +44(0) 1254 303030</span></p>
<p class="MsoNormal"><span style="font-size:9.0pt"> </span></p>
</div>
</div>
<br>
<br>
<br>
This message is intended only for the individual or entity to which it is addressed. It may contain privileged, confidential information which is exempt from disclosure under applicable laws. If you are not the intended recipient, please note that you are strictly
 prohibited from disseminating or distributing this information (other than to the intended recipient) or copying this information. If you have received this communication in error, please notify us immediately by e-mail or by telephone at the above number.
 Thank you.
</body>
</html>