|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Channels Monitors |
« View previous topic :: View next topic » |
Author |
Message
|
ajith.rajan |
Posted: Wed Oct 20, 2004 12:54 am Post subject: Channels Monitors |
|
|
Apprentice
Joined: 14 Sep 2004 Posts: 30
|
Hi
We would like to implement some health check on the channels running in our MQ Server. This would be something like checking for some java processes running in the MQ Server.
For Example, for any sender channels in our MQ Environment, we can use the following command to check whether the channel is running fine or not.
/usr/ucb/ps -axwww | grep <Channel Name>
This would return one row if the channel is running else does not return any. Although this is expected, for one particular sender channel, I am not able to find any relevant rows or processes running.
Any Idea why this is not happening??
Is there any better approach of implementing our monitors??
Kindly let me know.
Tnks.
Ajith |
|
Back to top |
|
 |
Nigelg |
Posted: Wed Oct 20, 2004 1:57 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Triggered channels will not run as a spearate process, but will run as a thread in amqrmppa, so ps will not find a process with the channel name as an argument. |
|
Back to top |
|
 |
gunter |
Posted: Wed Oct 20, 2004 1:58 am Post subject: |
|
|
Partisan
Joined: 21 Jan 2004 Posts: 307 Location: Germany, Frankfurt
|
I developed such a monitor with MQAI. MQAI isn't available for Java but It's even possible using PCF.
I used the system channel event queue to determine any statechange of a channel I interested in. After collecting events I inquired the channelstates and did the action.
It's a little tricky to get this working because an event isn't always an statechange and it isn't a good idea to inquire after every event. Sometimes I didn't expected the behavior of the system. It was a good experience for me, I learned a lot about intercommunication in Websphere MQ.
This program is part of a bigger system. Maybe there is a supportpack wich can do it for you. _________________ Gunter Jeschawitz
IBM Certified System Administrator - Websphere MQ, 5.3 |
|
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
|
|
|
|