[Xymon] MQ monitoring on Windows

Neil Simmonds Neil.Simmonds at express-gifts.co.uk
Fri Jan 10 10:14:24 CET 2014


I’ve tried the “drop a text file in tmp directory” with no success so I’m currently trying the send a status message option but I can’t find a way to pass the results of the runmqsc command to the bbwincmd.

I’ve tried redirecting from a file and I’ve also tried to get the contents into a variable but that doesn’t seem possible in DOS.

Next attempt is going to be a mix of powershell and DOS.

From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of henrik at hswn.dk
Sent: 10 January 2014 08:11
To: xymon at xymon.com
Subject: Re: [Xymon] MQ monitoring on Windows


Den 10.01.2014 08:38, Neil Simmonds skrev:
Could you tell me which version of Xymon the ability to send a status with “client” instead of colour was introduced?
Essentially, was it after 4.3.4?
It's been there since (before) 4.3.0.
I don't know if the "drop a text file in the tmp directory" way of sending such a status works with BBWin, I have only used it with a commandline utility so sending the data was done as on a Unix box.
For it to work, your data must mimic that which is generated by the "client/mq.sh" script on Unix. And in order to get "mqcollect" as the collector ID, the test name that you use in the status message must be "mqcollect".
So a status message with
    status myhost.mqcollect client
   ... output from the runmqsc commands ...
should work. If you want to try the "drop file in tmp directory", then the file must be called "mqcollect" and have "client" as the first word on line 1.

Regards,
Henrik

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


More information about the Xymon mailing list