# Active Gate MQ Monitoring Custom Event Filters and MQ Configs

**URL:** <https://community.dynatrace.com/t/active-gate-mq-monitoring-custom-event-filters-and-mq-configs/34257>\
**Category:** Alerting\
**Tags:** activegate, queues, problems-classic\
**Created:** [February 23, 2022, 5:13pm UTC](https://community.dynatrace.com/t/active-gate-mq-monitoring-custom-event-filters-and-mq-configs/34257 "2022-02-23T17:13:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Larry\_S](https://avatars.discourse-cdn.com/v4/letter/l/c6cbf5/32.png) [@Larry\_S](https://community.dynatrace.com/u/Larry_S)\
**Post date:** [February 23, 2022, 5:13pm UTC](https://community.dynatrace.com/t/active-gate-mq-monitoring-custom-event-filters-and-mq-configs/34257/1 "2022-02-23T17:13:10Z")

</div>

Hello folks-

I’m back with yet another question regarding Dynatrace Active Gate monitoring of MQSeries. {applause}

Aanyway… Does anyone here have any experience, or link to online documentation, that may help in our configuration of custom event filtering of conditions in MQ (i.e. queue at high depth, channel in retry, message in DLQ, etc.)?

I am feeling that (for message queues) that I have to set the&nbsp;QDPHIEV(ENABLED) to generate an event in MQ?&nbsp; And…maybe (at the QMgr level)&nbsp;LOCALEV (ENABLED)?&nbsp; Can anyone confirm this?

I have altered one of the message queues to (what i thought) trigger a Queue Depth High threshold alert (note:&nbsp; settings on the queue are :&nbsp;QDEPTHHI(80)&nbsp; &&nbsp;QDPHIEV(ENABLED)) but Dynatrace is not showing this queue (currently at a 96% usage) as an event in the dashboard.&nbsp; See screenshot.

 ![Dynatrace MQ Queue Depth 2022-02-23 121025.png](https://global.discourse-cdn.com/dynatrace/original/3X/b/9/b9d5da458efa31ff23518d555b44780ed0f2e3e5.png)

What am I doing wrong…or otherwise?

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [January 9, 2023, 9:23pm UTC](https://community.dynatrace.com/t/active-gate-mq-monitoring-custom-event-filters-and-mq-configs/34257/2 "2023-01-09T21:23:58Z")

</div>

[@MDRAHIM](https://community.dynatrace.com/user/57853)&nbsp;You are the MQ Master!

---

<div class="post-metadata">

**Author:** ![ChadTurner](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/chadturner/32/161_2.png) [@ChadTurner](https://community.dynatrace.com/u/ChadTurner)\
**Post date:** [May 11, 2023, 3:22pm UTC](https://community.dynatrace.com/t/active-gate-mq-monitoring-custom-event-filters-and-mq-configs/34257/3 "2023-05-11T15:22:36Z")

</div>

[@Larry\_S](https://community.dynatrace.com/user/48033)&nbsp;I don’t think alerting is out of the box for this, What you will need to do is to access the Metric Events to create an event which would trigger the alert. The easiest route to do this is to formulate the data in the data explorer, then take that code and paste it into the metric selector of the custom alert event.

 ![ChadTurner_0-1683818527387.png](https://global.discourse-cdn.com/dynatrace/original/2X/9/952fd68689597bf109ad330c61ba888fe2d92a81.png)
