[Xymon] MQ monitoring on Windows

Neil Simmonds Neil.Simmonds at express-gifts.co.uk
Tue Jan 7 12:42:45 CET 2014


I've got a number of MQ monitors currently running on Aix and Linux but I now have a requirement to add one on a Windows client.

My script for Linux looks something like this,

TMPFILE="$XYMONTMP/mq-$MACHINE.$$"

touch $TMPFILE

echo "client $MACHINE.mqcollect mqcollect" >$TMPFILE

#
while [ $# != 0 ]
do
    QMGR=$1; shift
    sudo -u mqm mqsc $QMGR 'display qlocal(*) curdepth' >> $TMPFILE
done
#

$XYMON $XYMSRV "@" < $TMPFILE

I'm pretty sure I can do the necessary to get the MQ data out into a temporary file, however I've only ever sent data to the server as external tests (by creating a file in the tmp directory) before whereas this seems to send it as Client data.

Has anyone done anything with sending data from BBWin as client data rather than as an external test.


Regards,

Neil Simmonds
Senior Operations Analyst (Operations Support Group)
Express Gifts Limited
Express House
Clayton Business Park
Accrington
Lancashire
BB5 5JY
T: 01254 303092 | E: neil.simmonds at Express-Gifts.co.uk<mailto:neil.simmonds at Express-Gifts.co.uk>

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/20140107/1bb122eb/attachment.html>


More information about the Xymon mailing list