Author |
Message
|
srvm |
Posted: Mon Jan 31, 2005 8:31 am Post subject: Sending PERF Events to AMQERR01.LOG |
|
|
Apprentice
Joined: 18 Aug 2004 Posts: 43
|
I know there r bunch of tools that do this - monitor event queues. I am trying to find a simpler solution w/o writing a dameon or buyign anything.
Is there a way I can send the PERF event ( Queue Depth High, Low, etc.) to AMQERR01.LOG file?
Reason: I have a log file adapter that can look for pattern and send page etc. I would like to use that.
I am aware that I need to (re)enable event once a event occurs ( as it toggles). I have other option to do that. First, I want to see if I can send say for example AMQ8101 to the log file.
Thank you.
Raj |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jan 31, 2005 8:40 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Whenever I see anyone trying to scrimp and save money on MQ Monitoring, I question the actual value of the data being produced.
Before you decide how much you have available to spend on monitoring your MQ, you should find out how much loss you'll suffer without the information or how much value you gain from having the information.
Requirements without valuation is poor business.
Besides which, you could just as easily "save money" by having your applications keep running logs of the number and time of the messages they put and the messages they get. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
srvm |
Posted: Mon Jan 31, 2005 9:07 am Post subject: |
|
|
Apprentice
Joined: 18 Aug 2004 Posts: 43
|
Jeff,
I have not mentioned in my email *anywhere* about money side of the project. This is no way a business decision/money-saving scheme. I am trying to explore a possibility, whether it can even be impelemented.
At present I am looking for technical expertise to tell me, if this is possible to do, and if it is - how?
Raj |
|
Back to top |
|
 |
jefflowrey |
Posted: Mon Jan 31, 2005 9:18 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
You did specify one of your requirements for this technical solution as "without buying anything". _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
csmith28 |
Posted: Mon Jan 31, 2005 10:08 am Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
You can TRIGGER your event Queue's and set up a script that will get the messages from the Queue's and put them in a file but I would not recomend using the AMQERR0*.LOG's for this. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
srvm |
Posted: Mon Jan 31, 2005 10:16 am Post subject: |
|
|
Apprentice
Joined: 18 Aug 2004 Posts: 43
|
Thank you, csmith28. I understand this approach. I can use syslogger to send the events directly to syslog.
Am I correct in understanding that these events by altering any option be send to log file ( AMQ ERR01.LOG or anythign else). They always go to Event Q.
Not sure why they couldn't send it to a file ( if enabled), along with sending to Event Q's? May be performance reason I suppose???
Raj |
|
Back to top |
|
 |
|