# best practice for alerting on ibm mq metrics(particularly oldest message age)?

**URL:** <https://community.dynatrace.com/t/best-practice-for-alerting-on-ibm-mq-metrics-particularly-oldest-message-age/55414>\
**Category:** Extensions\
**Tags:** problem-detection, problem-notification, extensions, queues, ibm-mq\
**Created:** [March 30, 2026, 6:43pm UTC](https://community.dynatrace.com/t/best-practice-for-alerting-on-ibm-mq-metrics-particularly-oldest-message-age/55414 "2026-03-30T18:43:56Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tris\_m](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tris\_m](https://community.dynatrace.com/u/tris_m)\
**Post date:** [March 30, 2026, 6:43pm UTC](https://community.dynatrace.com/t/best-practice-for-alerting-on-ibm-mq-metrics-particularly-oldest-message-age/55414/1 "2026-03-30T18:43:56Z")

</div>

we have some queue depth and oldest message dql queries setup in our environment and the issues is that  
we’re constantly getting&nbsp; problem open and problem resolved notifications every time the value increases which is about every minute.  
According to documentation, its best practice for dql queries interval to be set at 1 minute.z  
My thinking if is the breached threshold is increasing and not decreasing, we should not be getting a resolved notification.

For example, We have ibmmq.queue.oldest\_message set to alert 600 s  
If a queue breaches that threshold with 700 s…and then 2 minutes later its at 750s, we should not receive a resolved because it has still breached 600.  
what we get right now is a problem opening at 700(600 breached), value raises to 720, problem resolves and then immediate opens a new problem at 720.  
The original problem should just stay open until it comes back down past 600.

Ideally the team wants a 24 hour window where we get one oldest message alert for a given queue and then have a day to troubleshoot it before another alert is fired. I’ve searched the community page for that and it seems there is moderate interest in this but there doesnt appear to be a current solution for it.

thoughts and Ideas are appreciated
