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 » Create alert on queue manager full

Post new topic  Reply to topic
 Create alert on queue manager full « View previous topic :: View next topic » 
Author Message
basabi2520
PostPosted: Tue Jun 26, 2012 1:09 am    Post subject: Create alert on queue manager full Reply with quote

Apprentice

Joined: 05 Jun 2012
Posts: 28
Location: singapore

Hi ,

Am new to MQ . My task is to get an alert like mail when queue manager is nearing 80% . Listed out some points according to my understanding:
1. Enable queue event
ALTER QMGR PERFMEV(ENABLED)
ALTER QLOCAL('MYQUEUE') QDEPTHHI(80) QDPHIEV(ENABLED)

2. When the queue reaches 80% and will be returned to the following :
SYSTEM.ADMIN.QMGR.EVENT

my question is how to trigger an alert to know the queu reaches 80%. Do we need to write an user application to get an alert? or is there any default commands or functions?

Need some of your guidlines and suggestions in which way i need to continue. Refered some manuals couldnt understand properly. Also if there is any previous post pls give the link
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jun 26, 2012 1:27 am    Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

COTS monitoring solutions, e.g. Tivoli, BMC Patrol (as was), or Auto-Pilot, will do it for you. Additionally, such tools will automate actions to prevent a queue full condition - bear in mind latency between the alert reaching you and what has happened to queue depth during that time.

You could write something that scrapes the messages from the event queue and sends an email, but why reinvent the wheel?
_________________
It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys.
Back to top
View user's profile Send private message
basabi2520
PostPosted: Tue Jun 26, 2012 10:13 pm    Post subject: Reply with quote

Apprentice

Joined: 05 Jun 2012
Posts: 28
Location: singapore

thanks for your reply . But still need more appropriate answer. Will appreciate if you could explain in better way . thanks a lot .
Back to top
View user's profile Send private message
Mr Butcher
PostPosted: Wed Jun 27, 2012 12:05 am    Post subject: Reply with quote

Padawan

Joined: 23 May 2005
Posts: 1716

you will receive event messages for the proper events in a queue. its up to you to handle them (write your own event msg handling application), or use a tool that already exists (as already suggested)
_________________
Regards, Butcher
Back to top
View user's profile Send private message
basabi2520
PostPosted: Wed Jun 27, 2012 12:17 am    Post subject: Reply with quote

Apprentice

Joined: 05 Jun 2012
Posts: 28
Location: singapore

Hi exerk & Butcher,
Thanks for your reply. Writing a java application to handle the events. Will disturb you again if i hav any queries . thanks once again
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jun 28, 2012 5:15 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

MO71 can do it for free.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jun 28, 2012 5:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Lots of things *can* do it for "free".

A homebrew app might be the cheapest free solution in this case.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Jun 28, 2012 12:55 pm    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

MO71 has an event message handler, that can run commands, forward the messages to another queue - all sorts of stuff. Even has a console/status interface - all that would take a fair time to code.

Of course if you don't need any of that - fair enough.
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 » Create alert on queue manager full
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.