# Creating alert for MSGW status on IBMi

**URL:** <https://community.dynatrace.com/t/creating-alert-for-msgw-status-on-ibmi/48970>\
**Category:** Extensions\
**Tags:** ibm, extensions, logs\
**Created:** [November 19, 2024, 9:58pm UTC](https://community.dynatrace.com/t/creating-alert-for-msgw-status-on-ibmi/48970 "2024-11-19T21:58:55Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![soportetr](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@soportetr](https://community.dynatrace.com/u/soportetr)\
**Post date:** [November 19, 2024, 9:58pm UTC](https://community.dynatrace.com/t/creating-alert-for-msgw-status-on-ibmi/48970/1 "2024-11-19T21:58:55Z")

</div>

Hi,

A customer asked us in the IBMi extension, that when some subsystem is in MSGW status, Dynatrace will alert it. At the moment it was configured in the metrics extraction using logs. I would like to know if there is an alternative that is more detailed (For example, that job\_user, job\_name, etc.). I attached some captures that visualizes an example

 ![logs-msgw.png](https://global.discourse-cdn.com/dynatrace/original/2X/e/ecac26001a4693d375228b80512a83f26d458c97.png)

I hope you can help us. Thank you in advance

---

<div class="post-metadata">

**Author:** ![Peter\_Youssef](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/peter_youssef/32/14668_2.png) [@Peter\_Youssef](https://community.dynatrace.com/u/Peter_Youssef)\
**Post date:** [November 20, 2024, 5:58am UTC](https://community.dynatrace.com/t/creating-alert-for-msgw-status-on-ibmi/48970/2 "2024-11-20T05:58:06Z")

</div>

Hello&nbsp;[@soportetr](https://community.dynatrace.com/user/41008)

You can proceed with the related alerting through the DQL as per attached resources, it’s easy and straight forward configurations.

- [Dynatrace Query Language — Dynatrace Docs](https://docs.dynatrace.com/docs/discover-dynatrace/references/dynatrace-query-language)
- [Dynatrace Intelligence DQL examples — Dynatrace Docs](https://docs.dynatrace.com/docs/discover-dynatrace/platform/davis-ai/use-cases/davis-dql-examples)

Keep up the good work && keep us posted 😉.

BR,&nbsp;  
Peter
