Hi; In recent project I have been asked to write a small script to monitor MQ Channel status, i did it and I have used ping channel(channel_name) and grep for MQ Channel complete. I thought it would work fine, but later realized that it would throw lot's of errors in AMQERR0?.LOG as MQ channel may be active when you are attempting to do ping. This is not correct way to get the status of channel.
It's better to do a display chstatus(channel_name) and look for status running. This would give more info than dumping some errors in log files. Also it's good to have a monitoring solution if MQ availability is important.
Saturday, August 25, 2007
Subscribe to:
Comments (Atom)