webMethods Universal Messaging 10.15
I am attempting to use the: runUMTool.sh MonitorChannels command to check on queues and channels, and I have it working, but am perplexed by the fact that it runs continuously. I’d like the option to have it spin through the list of queues/channels just once, then quit. Is that possible?
The help for the command seems to have a “wait=” parameter, but it seems invalid. I’m wondering if the help does not match the actual code.
[/opt/webMethods/10.15/UniversalMessaging/tools/runner]$./runUMTool.sh MonitorChannels
UM Tools Runner
Monitors the channels and queues in a realm and prints totals.
Usage:
runUMTool MonitorChannels -rname= [optional_args]
Examples:
MonitorChannels -rname=nsp://localhost:9000 -channelname=channel0 -format=plaintext -wait=1
MonitorChannels -rname=nsp://localhost:9000 -channelname=queue10 -format=plaintext -wait=1
As can be seen here, the wait parameter is invalid:
[/opt/webMethods/10.15/UniversalMessaging/tools/runner]$./runUMTool.sh MonitorChannels -rname=nsp://localhost:9090 -channelname=PharmaRequest_Queue -wait=1
Invalid argument keyword specified. See usage message for valid keywords.