Monitor Universal Messaging 10.5 Event Queue

In Universal Messaging 10.5 enterprise manager I can see number of events in queue yet to be subscribed, I need to monitor this queue in production environment, It should not be huge lag in Published yet to be subscribed events (Events in queue should not increase, its impacting performance of APIs when lag increased).

I have tried to runUMTool MonitorChannels, I am only getting Totals parts of these details but I want Event store details also.

Please help to get these details if any other command or parameter available.

In Event store as highlighted below,

image

Try (source)

runUMTool IdentifyLargeDurableOutstandingEvents
  -rname=<rname> -threshold=<threshold>
  [optional_args]

or implement your own simple java app with the sample below. If you have command central, it might have a command that you can use as well.
https://documentation.softwareag.com/universal_messaging/num10-15/webhelp/num-webhelp/#page/num-webhelp%2Fre-java_console_based_realm_monitor.html%23wwconnect_header

Hi Sarlak
Tried above command but getting error as below -

We have initialised IdentifyLargeDurableOutstandingEvents with: {rname=<removed>, threshold=100}
Incorrect channel mode. Check availability of operation on this channel mode. [Store is a nQueue]
Throwable occurred: com.pcbsys.nirvana.client.nIllegalChannelMode: Store is a nQueue
        at com.pcbsys.nirvana.base.clientimpl.singleconnection.nStoreManagerImpl.validateChannel(nStoreManagerImpl.java:203)
        at com.pcbsys.nirvana.base.clientimpl.singleconnection.nStoreManagerImpl.getChannel(nStoreManagerImpl.java:193)
        at com.pcbsys.nirvana.client.nSession.findChannel(nSession.java:1987)
        at com.softwareag.um.tools.diagnostic.IdentifyLargeDurableOutstandingEvents.execute(Unknown Source)
        at com.softwareag.um.tools.UMToolCommon.executeTool(Unknown Source)
        at com.softwareag.um.tools.UMToolCommon.executeTool(Unknown Source)
        at com.softwareag.um.tools.UMTools.main(Unknown Source)

Unfortunately, I don’t know how to resolve that exception. You can use the java admin API and get the data yourself. Or you can create a topic in IBM community. I don’t know if anyone else is still watching webMethods topics here since it is now IBM webMethods.