ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Channels Monitors

Post new topic  Reply to topic
 Channels Monitors « View previous topic :: View next topic » 
Author Message
ajith.rajan
PostPosted: Wed Oct 20, 2004 12:54 am    Post subject: Channels Monitors Reply with quote

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
View user's profile Send private message
Nigelg
PostPosted: Wed Oct 20, 2004 1:57 am    Post subject: Reply with quote

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
View user's profile Send private message
gunter
PostPosted: Wed Oct 20, 2004 1:58 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Channels Monitors
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.