Author |
Message
|
bobbee |
Posted: Wed Jun 17, 2020 10:27 am Post subject: System Resource Monitoring |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
I exercised the AMQSRUA sample program for every option. When the subscriptions were set up as it ran I copied the and the dumped the TOPIC tree for system resources. What is the difference between these two I got the fist from AMQSRUA but not the second which showed up when I dumped the tree. I searched the 9.1 IC for METADATA. Not much.
Code: |
TOPICSTR($SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/OPENCLOSE)
TOPICSTR($SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/OPENCLOSE) |
[/code] |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Jun 18, 2020 4:40 am Post subject: Re: System Resource Monitoring |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
bobbee wrote: |
I exercised the AMQSRUA sample program for every option. When the subscriptions were set up as it ran I copied the and the dumped the TOPIC tree for system resources. What is the difference between these two I got the fist from AMQSRUA but not the second which showed up when I dumped the tree. I searched the 9.1 IC for METADATA. Not much.
Code: |
TOPICSTR($SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/OPENCLOSE)
TOPICSTR($SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/OPENCLOSE) |
|
Have you subscribed to the METADATA topic? What kind of information did you get? I'd expect it to give you information on the meaning of the values in the non metadata topic, i.e. if the value is number of calls, %of resources etc...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
bobbee |
Posted: Thu Jun 18, 2020 6:22 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
SO I did find this blurb in a DevWorkd article someone pointed me to.
Which statistics a queue manager publishes is dynamic and can be discovered by subscribing to metadata on a system topic. |
|
Back to top |
|
 |
bruce2359 |
Posted: Thu Jun 18, 2020 7:06 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
|
Back to top |
|
 |
bobbee |
Posted: Thu Jun 18, 2020 7:40 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
|
Back to top |
|
 |
hughson |
Posted: Thu Jun 18, 2020 7:16 pm Post subject: |
|
|
 Padawan
Joined: 09 May 2013 Posts: 1959 Location: Bay of Plenty, New Zealand
|
The METADATA topics allow you to subscribe to the meaning of the other topics. In theory the topic tree is self-describing and IBM can add to it in the future and applications such as amqsrua would immediately know what the new stuff was because of the METADATA.
If you write your own version of amqsrua, then they would be pertinent. If you just run amqsrua, then you can ignore them.
Cheers,
Morag _________________ Morag Hughson @MoragHughson
IBM MQ Technical Education Specialist
Get your IBM MQ training here!
MQGem Software |
|
Back to top |
|
 |
bobbee |
Posted: Fri Jun 19, 2020 4:32 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
I am reviewing amqsrua right now and looking into incorporating it into the client current custom monitoring approach. I am learning. |
|
Back to top |
|
 |
bobbee |
Posted: Fri Jun 19, 2020 11:04 am Post subject: |
|
|
 Knight
Joined: 20 Sep 2001 Posts: 545 Location: Tampa
|
Interesting, when you turn on DEBUG in amqsrua you see the wonders of the universe. My hats off to the developer who created this program.
Code: |
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/CONNDISC
0002 0000 0000 0002 MQCONN/MQCONNX count
0002 0000 0001 0002 Failed MQCONN/MQCONNX count
0002 0000 0002 0001 Concurrent connections - high water mark
0002 0000 0003 0002 MQDISC count
0002 0000 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/CONNDISC
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/OPENCLOSE
0002 0001 0000 0002 MQOPEN count
0002 0001 0001 0002 Failed MQOPEN count
0002 0001 0002 0002 MQCLOSE count
0002 0001 0003 0002 Failed MQCLOSE count
0002 0001 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/OPENCLOSE
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/INQSET
0002 0002 0000 0002 MQINQ count
0002 0002 0001 0002 Failed MQINQ count
0002 0002 0002 0002 MQSET count
0002 0002 0003 0002 Failed MQSET count
0002 0002 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/INQSET
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/PUT
0002 0003 0000 0002 Interval total MQPUT/MQPUT1 count
0002 0003 0001 0002 Interval total MQPUT/MQPUT1 byte count
0002 0003 0002 0002 Non-persistent message MQPUT count
0002 0003 0003 0002 Persistent message MQPUT count
0002 0003 0004 0002 Failed MQPUT count
0002 0003 0005 0002 Non-persistent message MQPUT1 count
0002 0003 0006 0002 Persistent message MQPUT1 count
0002 0003 0007 0002 Failed MQPUT1 count
0002 0003 0008 0002 Put non-persistent messages - byte count
0002 0003 0009 0002 Put persistent messages - byte count
0002 0003 0010 0002 MQSTAT count
0002 0003 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/PUT
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/GET
0002 0004 0000 0002 Interval total destructive get- count
0002 0004 0001 0002 Interval total destructive get - byte count
0002 0004 0002 0002 Non-persistent message destructive get - count
0002 0004 0003 0002 Persistent message destructive get - count
0002 0004 0004 0002 Failed MQGET - count
0002 0004 0005 0002 Got non-persistent messages - byte count
0002 0004 0006 0002 Got persistent messages - byte count
0002 0004 0007 0002 Non-persistent message browse - count
0002 0004 0008 0002 Persistent message browse - count
0002 0004 0009 0002 Failed browse count
0002 0004 0010 0002 Non-persistent message browse - byte count
0002 0004 0011 0002 Persistent message browse - byte count
0002 0004 0012 0002 Expired message count
0002 0004 0013 0002 Purged queue count
0002 0004 0014 0002 MQCB count
0002 0004 0015 0002 Failed MQCB count
0002 0004 0016 0002 MQCTL count
0002 0004 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/GET
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/SYNCPOINT
0002 0005 0000 0002 Commit count
0002 0005 0002 0002 Rollback count
0002 0005 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/SYNCPOINT
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/SUBSCRIBE
0002 0006 0000 0002 Create durable subscription count
0002 0006 0001 0002 Alter durable subscription count
0002 0006 0002 0002 Resume durable subscription count
0002 0006 0003 0002 Create non-durable subscription count
0002 0006 0006 0002 Failed create/alter/resume subscription count
0002 0006 0007 0002 Delete durable subscription count
0002 0006 0008 0002 Delete non-durable subscription count
0002 0006 0009 0002 Subscription delete failure count
0002 0006 0010 0002 MQSUBRQ count
0002 0006 0011 0002 Failed MQSUBRQ count
0002 0006 0012 0001 Durable subscriber - high water mark
0002 0006 0013 0001 Durable subscriber - low water mark
0002 0006 0014 0001 Non-durable subscriber - high water mark
0002 0006 0015 0001 Non-durable subscriber - low water mark
0002 0006 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/SUBSCRIBE
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATMQI/PUBLISH
0002 0007 0000 0002 Topic MQPUT/MQPUT1 interval total
0002 0007 0001 0002 Interval total topic bytes put
0002 0007 0002 0002 Published to subscribers - message count
0002 0007 0003 0002 Published to subscribers - byte count
0002 0007 0004 0002 Non-persistent - topic MQPUT/MQPUT1 count
0002 0007 0005 0002 Persistent - topic MQPUT/MQPUT1 count
0002 0007 0006 0002 Failed topic MQPUT/MQPUT1 count
0002 0007 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATMQI/PUBLISH
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATQ/OPENCLOSE
0003 0000 0000 0002 MQOPEN count
0003 0000 0001 0002 MQCLOSE count
0003 0000 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATQ/%s/OPENCLOSE
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATQ/INQSET
0003 0001 0000 0002 MQINQ count
0003 0001 0001 0002 MQSET count
0003 0001 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATQ/%s/INQSET
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATQ/PUT
0003 0002 0000 0002 MQPUT/MQPUT1 count
0003 0002 0001 0002 MQPUT byte count
0003 0002 0002 0002 MQPUT non-persistent message count
0003 0002 0003 0002 MQPUT persistent message count
0003 0002 0004 0002 MQPUT1 non-persistent message count
0003 0002 0005 0002 MQPUT1 persistent message count
0003 0002 0006 0002 non-persistent byte count
0003 0002 0007 0002 persistent byte count
0003 0002 0008 10000 queue avoided puts
0003 0002 0009 10000 queue avoided bytes
0003 0002 0010 10000 lock contention
0003 0002 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATQ/%s/PUT
Subscribing to topic: $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/METADATA/STATQ/GET
0003 0003 0000 0002 MQGET count
0003 0003 0001 0002 MQGET byte count
0003 0003 0002 0002 destructive MQGET non-persistent message count
0003 0003 0003 0002 destructive MQGET persistent message count
0003 0003 0004 0002 destructive MQGET non-persistent byte count
0003 0003 0005 0002 destructive MQGET persistent byte count
0003 0003 0006 0002 MQGET browse non-persistent message count
0003 0003 0007 0002 MQGET browse persistent message count
0003 0003 0008 0002 MQGET browse non-persistent byte count
0003 0003 0009 0002 MQGET browse persistent byte count
0003 0003 0010 0002 messages expired
0003 0003 0011 0002 queue purged count
0003 0003 0012 1000000 average queue time
0003 0003 0013 0001 Queue depth
0003 0003 $SYS/MQ/INFO/QMGR/BOBBEE/Monitor/STATQ/%s/GET |
|
|
Back to top |
|
 |
|