Author |
Message
|
TCV |
Posted: Fri May 20, 2005 6:39 pm Post subject: Keeping a channel stopped |
|
|
Apprentice
Joined: 21 Aug 2003 Posts: 48
|
Hi,
We want to keep a channel down since the recievine end server is down for some time. If i dont keep the channel down our alert script keep sending e-mails that the channel is down. How can i make the script not to see the CHANNEL down?Or simple just delete the channel and create when needed?? Any one had similar situation.
Thanks
TC Venkatesan |
|
Back to top |
|
 |
Michael Dag |
Posted: Sat May 21, 2005 1:04 am Post subject: Re: Keeping a channel stopped |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
TCV wrote: |
How can i make the script not to see the CHANNEL down? |
Change the script? or post the script so we can look at it... (no garantees for a solution...) _________________ Michael
MQSystems Facebook page |
|
Back to top |
|
 |
vennela |
Posted: Sat May 21, 2005 8:09 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
If the channel is not triggered, then
Code: |
stop channel(channel_name) status(inactive) |
|
|
Back to top |
|
 |
PeterPotkay |
Posted: Sat May 21, 2005 9:54 am Post subject: Re: Keeping a channel stopped |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
TCV wrote: |
If i dont keep the channel down our alert script keep sending e-mails that the channel is down. |
Huh?
Sounds like you got a script that alerts you when the channel is not running. The channel is not running. The script is alerting you.
If you don't want the alerts, kill the script, or solve the channel problem and get it running. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat May 21, 2005 3:42 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
You need to change your script. The channel status has more values than just running to indicate good health.
For instance a triggered channel in status "inactive" is still a sign of good health.
You need to explore your situations and change the script to alert you only to real situations.
Enjoy  |
|
Back to top |
|
 |
|