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 » IBM MQ Performance Monitoring » command automation

Post new topic  Reply to topic
 command automation « View previous topic :: View next topic » 
Author Message
ajpet
PostPosted: Tue Jun 22, 2004 12:38 am    Post subject: command automation Reply with quote

Newbie

Joined: 22 Jun 2004
Posts: 2
Location: Johannesburg, South Africa

Hi There, I am currently using Candle XE to monitor MQ v 5 and i need to automate the channel restarts and send a SMS message or email to notify someone about it if it does not succeed. Does anybody know how the automation can be done across 3 platforms viz. Windows, Unix and Z/OS. Secondly how can i extract the channel name and QM name from the Candle alert and use it in another notification.

Regards,

Andre
_________________
andre@lifeline.za.com
Back to top
View user's profile Send private message
rtsujimoto
PostPosted: Thu Jun 24, 2004 8:22 am    Post subject: Reply with quote

Centurion

Joined: 16 Jun 2004
Posts: 119
Location: Lake Success, NY

You can write a situation to execute an MQ command, or fire off a script which, in turn, would issue an MQ command to start the channel. The name of the channel is availble from the situation. We currently issue an email alert when a channel fails using this method. But, if you need to know if the START CHL command worked is a bit tricky. Your script would have to issue an MQ command to inquire the status of the channel after you issue the START CHL command. This is a timing thing, because if you don't pause before issuing the INQ command, you may get a false negative.
Back to top
View user's profile Send private message
ajpet
PostPosted: Thu Jun 24, 2004 11:22 pm    Post subject: Reply with quote

Newbie

Joined: 22 Jun 2004
Posts: 2
Location: Johannesburg, South Africa

rtsujimoto wrote:
You can write a situation to execute an MQ command, or fire off a script which, in turn, would issue an MQ command to start the channel. The name of the channel is availble from the situation. We currently issue an email alert when a channel fails using this method. But, if you need to know if the START CHL command worked is a bit tricky. Your script would have to issue an MQ command to inquire the status of the channel after you issue the START CHL command. This is a timing thing, because if you don't pause before issuing the INQ command, you may get a false negative.


ajpet wrote:
Thanks for the response. I am using the automation commands within the situations and i know about the policies. I need to know how i can extract the the parameters eg. QM name, Channel Name, DLQ nam,etc. from the alert to populate a email or sms should the automation fail.

_________________
andre@lifeline.za.com
Back to top
View user's profile Send private message
balaji sr
PostPosted: Fri Jun 25, 2004 5:23 am    Post subject: Reply with quote

Apprentice

Joined: 07 Jan 2003
Posts: 28

You can get these MQ parametes (Queue manager name, Channel names etc.,) by clicking the attribute button on the action - settings tab.
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Performance Monitoring » command automation
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.