[Xymon] BBWin Externals

Scot Kreienkamp SKreien at la-z-boy.com
Thu Oct 4 16:33:53 CEST 2012


Hi Neil,

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.

I'm disappointed there's no way to send this as a client message so the server can interpret it.  That blows.

Scot Kreienkamp

From: Neil Simmonds [mailto:Neil.Simmonds at express-gifts.co.uk]
Sent: Thursday, October 04, 2012 10:19 AM
To: Scot Kreienkamp; xymon at xymon.com
Subject: RE: [Xymon] BBWin Externals

Hi Scott,

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.

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.

Try amending it to add a first line containing just [green] (with the square brackets) and see if it starts showing up.

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.

I think Xymon or BBWin may be dealing with it differently because it is not part of the main servername.txt file.

Neil.



________________________________
From: Scot Kreienkamp [mailto:SKreien at la-z-boy.com]
Sent: 04 October 2012 14:51
To: Neil Simmonds; xymon at xymon.com
Subject: RE: [Xymon] BBWin Externals

Hi Neil,

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.

Scot Kreienkamp

From: Neil Simmonds [mailto:Neil.Simmonds at express-gifts.co.uk]
Sent: Thursday, October 04, 2012 9:48 AM
To: xymon at xymon.com
Cc: Scot Kreienkamp
Subject: RE: [Xymon] BBWin Externals

Hi Scott,

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'

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.

Regards,
Neil.
________________________________
From: xymon-bounces at xymon.com [mailto:xymon-bounces at xymon.com] On Behalf Of Scot Kreienkamp
Sent: 04 October 2012 14:26
To: xymon at xymon.com
Subject: [Xymon] BBWin Externals

Hey,

Does anyone know if it's possible to build an externals test and have it sent in with the regular collected data with BBWin?

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.

Any ideas?

Thanks!

Scot Kreienkamp




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.
Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151.
Express Gifts Limited is authorised and regulated by the Financial Services Authority
________________________________
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




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.
Name & Registered Office: EXPRESS GIFTS LIMITED, 2 GREGORY ST, HYDE, CHESHIRE, ENGLAND, SK14 4TH, Company No. 00718151.
Express Gifts Limited is authorised and regulated by the Financial Services Authority
________________________________
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




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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20121004/e222f27e/attachment.html>


More information about the Xymon mailing list