mq-java-exporter icon indicating copy to clipboard operation
mq-java-exporter copied to clipboard

What is the metric used to monitor Oldest Message age, QMGR status and QMGR Suspend status in AIX exporter

Open harish225n opened this issue 3 years ago • 6 comments

May i know "What is the metrics query name to monitor Oldest Message age, QMGR status and QMGR Suspend status in AIX exporter"

harish225n avatar Apr 29 '22 10:04 harish225n

Did you check he IBM docs?

ouwe-knutselaar avatar May 01 '22 19:05 ouwe-knutselaar

@ouwe-knutselaar Can i get the link of that IBM Doc's? Please.

harish225n avatar May 02 '22 09:05 harish225n

I found a lot for my own Prometheus exporter in: https://www.ibm.com/docs/en/ibm-mq/9.1?topic=java-mqconstants

Is has a lot, and it is not the most easy to work with. I think it is the mainframe lecagy that makes it complex

ouwe-knutselaar avatar May 02 '22 18:05 ouwe-knutselaar

HI @ouwe-knutselaar. Sorry, in the Given link i didn't find any Metrics related to oldest messages age. in AIX Prometheus exporter endpoint i found metrics like this "mqobject_queue_queue_max_depth_messages".

I am looking for the metrics like this(mqobject_queue_queue_max_depth_messages) to oldest message age also, In the end point page. But i didn't find it in endpoint page.

harish225n avatar May 09 '22 10:05 harish225n

What you also could do is to grab a metric of the number of messages sent or received. The moment that the line is flat you know that this was the last moment of trnasport.

ouwe-knutselaar avatar May 09 '22 13:05 ouwe-knutselaar

Found this constant in the documentation: MQIACF_OLDEST_MSG_AGE How can I use the MQConstants.lookup with it? https://www.ibm.com/docs/api/v1/content/SSFKSJ_9.1.0/com.ibm.mq.javadoc.doc/WMQJavaClasses/com/ibm/mq/constants/CMQCFC.html#MQIACF_OLDEST_MSG_AGE

tcivie avatar May 04 '23 11:05 tcivie