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 » Monitor channel status

Post new topic  Reply to topic
 Monitor channel status « View previous topic :: View next topic » 
Author Message
wild_bill
PostPosted: Tue Jul 05, 2011 9:07 am    Post subject: Monitor channel status Reply with quote

Newbie

Joined: 05 Jul 2011
Posts: 3

We are using WebSphere MQ 5.3 running on Windows 2000. We have a single queue mananger with a Reciever channel and a sender channel. I would like an email be sent when the channel status is not "Running". Is there built in functionality for this type of monitoring? I have also developed a windows service in .NET that gets/puts messages onto various queues. I could add channel monitoring here, but I have not run across any sample code that details how to get a channel's status. My questions are, should I try to utilize some built in functionality or take advantage of the .NET API. In either case samples or documentation would be great. Thanks.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 05, 2011 9:29 am    Post subject: Re: Monitor channel status Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

wild_bill wrote:
I would like an email be sent when the channel status is not "Running".


No you wouldn't. A correctly configured channel will fill your inbox when it goes "Inactive".

wild_bill wrote:
Is there built in functionality for this type of monitoring?


No, because there is built in functionality to recover from the majority of channel problems.

wild_bill wrote:
I have not run across any sample code that details how to get a channel's status.


You're talking about issuing a PCF command.

wild_bill wrote:
My questions are, should I try to utilize some built in functionality or take advantage of the .NET API.


AFAIK (and that's not very far) the .NET API does not officially support PCF commands. But you'll find a number of potentially useful posts in here from people who have attempted it with varying degrees of success (if it worked first time & easily, they wouldn't have posted here......)
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
Vitor
PostPosted: Tue Jul 05, 2011 9:31 am    Post subject: Re: Monitor channel status Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

wild_bill wrote:
We are using WebSphere MQ 5.3 running on Windows 2000.


A separate issue is that version of WMQ is both old & out of support. So I'm unconvinced that it supports the dodges used to issue PCF with .NET.

For this and a multitude of other reasons, upgrade to WMQv7.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
wild_bill
PostPosted: Tue Jul 05, 2011 9:31 am    Post subject: Reply with quote

Newbie

Joined: 05 Jul 2011
Posts: 3

Thank you for your response, I will research PCF commands.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jul 05, 2011 9:39 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

wild_bill wrote:
We are using WebSphere MQ 5.3 running

First upgrade it to the latest version of mq ( if you can ).
wild_bill wrote:
I would like an email be sent when the channel status is not "Running".

You can have a script written and scheduled it. Or you can have a monitoring tool setup and set a condition accordingly.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Tue Jul 05, 2011 9:53 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

wild_bill wrote:
...how to get a channel's status...


Please refer link (where you can see many options to Monitor all other Websphere MQ Objects NOT just the "channels" )

[EDIT]
Another link has lots of information for you, to Monitor channel status and troubleshooting (though its bit an old post But not older then the version of mq you are using)

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
PeterPotkay
PostPosted: Tue Jul 05, 2011 12:43 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

The company that relies on this server, hopefully, has extensive monitoring in place across the enterprise. Check with the team that supports that monitoring. Odds are they have some MQ monitoring capability already in house.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
gbaddeley
PostPosted: Tue Jul 05, 2011 3:52 pm    Post subject: Re: Monitor channel status Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

wild_bill wrote:
.. I would like an email be sent when the channel status is not "Running".


What do you hope to gain by receiving these emails?

It is quite normal for channel status to be running or inactive, or to be in other states for short periods of time.

It might be more useful to monitor the depth of the transmission queues.
_________________
Glenn
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Jul 05, 2011 8:12 pm    Post subject: Re: Monitor channel status Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

gbaddeley wrote:
wild_bill wrote:
.. I would like an email be sent when the channel status is not "Running".


What do you hope to gain by receiving these emails?

It is quite normal for channel status to be running or inactive, or to be in other states for short periods of time.

It might be more useful to monitor the depth of the transmission queues.


Agree...and if that (xmitq) piles up then the depth of DLQ ! (when appls are not aware of POC is going on ) what if DLQ is full ? What if DLQ Handler is not in place ?
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
wild_bill
PostPosted: Wed Jul 06, 2011 7:06 am    Post subject: Reply with quote

Newbie

Joined: 05 Jul 2011
Posts: 3

PeterPotkay wrote:
The company that relies on this server, hopefully, has extensive monitoring in place across the enterprise. Check with the team that supports that monitoring. Odds are they have some MQ monitoring capability already in house.

I checked there first, no luck unfortunatly.

gbaddeley wrote:
wild_bill wrote:
.. I would like an email be sent when the channel status is not "Running".


What do you hope to gain by receiving these emails?

It is quite normal for channel status to be running or inactive, or to be in other states for short periods of time.

It might be more useful to monitor the depth of the transmission queues.

I think this is the direction I will be going, thanks for your suggestion.
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 » Monitor channel status
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.