|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
MQ Channel Monitoring |
« View previous topic :: View next topic » |
Author |
Message
|
dusktildawn |
Posted: Wed Dec 10, 2014 11:19 am Post subject: MQ Channel Monitoring |
|
|
Novice
Joined: 13 Nov 2014 Posts: 15
|
Hi, I was wondering if it's possible for MQ channels (set up on iSeries platform) to be monitored, so in the event that a channel (mainly sender or receiver) is, for example, not running that an e-mail notification can be sent to me to alert me of such. Does anyone monitor their channels? If it can be done via i Navigator, that ca work. |
|
Back to top |
|
 |
PaulClarke |
Posted: Wed Dec 10, 2014 11:58 am Post subject: |
|
|
 Grand Master
Joined: 17 Nov 2005 Posts: 1002 Location: New Zealand
|
When a channel end it will write a Channel Event message if you wish. This is a PCF Event message. You can have a program monitoring the event queue which can do anything you wish. There are a number of Administration utitlities around which can do this but the base MQ product itself will not to this. However, 'yes' with a monitoring product it is possible, without too much effort, to get them to email you (or whatever),
Cheers,
Paul. _________________ Paul Clarke
MQGem Software
www.mqgem.com |
|
Back to top |
|
 |
JosephGramig |
Posted: Thu Dec 11, 2014 6:08 am Post subject: |
|
|
 Grand Master
Joined: 09 Feb 2006 Posts: 1244 Location: Gold Coast of Florida, USA
|
It is common for channels not to be running. If XMITQs are configured correctly, the sender channel will auto start when msgs land on the XMITQ. If your qm.ini CHANNELS stanzas are correct, the receiver should start when the sender tries to connect to it.
Your inquiry would lead me to believe you have a situation where a channel stops and does not start when it has msgs to send. Is that the case? |
|
Back to top |
|
 |
zpat |
Posted: Thu Dec 11, 2014 7:05 am Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
Channels in "retry" or "binding" state - generally need attention (and monitoring).
Other states are normal. However you should test your xmit queue triggering.
If you want a channel to run all the time, you can set the DISCINT accordingly.
As for monitoring there any many possible solutions. You can code your own in your favourite language to use PCF or examine MQSC output for the channel status at intervals. Most monitoring products also work using PCF.
Receiving channel event messages is also possible in your own code or there are tools can that do this for you (such as MO71).
When such code or tools detect an issue, they could generate an Email or pass an alert via SNMP or whatever.
IBM have published a web based monitoring example tool recently
http://www.ibm.com/developerworks/websphere/library/techarticles/1311_jin/1311_jin.html
This is an open source tool, that could be extended to send mails
http://www.capitalware.com/mqcm_overview.html
A fairly powerful tool (free to use) is Qflex - this does offer Email alerts
http://netflexity.com/get-qflex-4/
Monitoring tools don't have to run on the same platform as the QM, as they can connect using MQ client.
Probably the simplest case would be a shell script running MQSC commands at intervals (or run via cron). _________________ Well, I don't think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error. |
|
Back to top |
|
 |
dusktildawn |
Posted: Thu Dec 11, 2014 9:04 am Post subject: |
|
|
Novice
Joined: 13 Nov 2014 Posts: 15
|
On the i, we do not have any issues with receiver channels not starting when msgs are put on them. I just want to monitor for the sender channels in particular, so in case it is down for whatever reason, I will get notified. Issues have arisen in the past but was on the remote system, so I just want to play it safe.
Thanks for the links, but can the Qflex be used to connect to an iSeries? |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Dec 11, 2014 12:01 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
Status of the sender channel will inevitably tell you about the sender-receiver channel at both ends. If the receiver end goes dead, the sender end will do so shortly. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
dusktildawn |
Posted: Fri Dec 12, 2014 8:08 am Post subject: |
|
|
Novice
Joined: 13 Nov 2014 Posts: 15
|
Yes, you are right. If anything, I will install the tool in our remote server, whcih is the AIX. Thanks everyone. |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|