# IBM MQ  Plugin - permissions

**URL:** <https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243>\
**Category:** Extensions\
**Tags:** activegate, user-management, extensions, ibm-mq\
**Created:** [October 9, 2019, 7:25am UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243 "2019-10-09T07:25:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [October 9, 2019, 7:25am UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/1 "2019-10-09T07:25:58Z")

</div>

Hello

I try implement IBM MQ ActiveGate Plugin

I have question about permissions.

In doc says that the user must have at least the following permissions: `connect`,`display`,`browse`,`put`,`inquire`

For what objects do you need to give these permissions?

Must we have permissions of for each queue ?

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [October 9, 2019, 2:55pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/2 "2019-10-09T14:55:55Z")

</div>

Hi Mikhail,

The user needs those permissions for queues, channels, listener and queue managers.

I don’t believe you need to specify it for each individual queue. You can apply it to all queues of the queue manager using wildcards.

You need these permissions because the plugin runs these PCF commands:  
MQCMD\_INQUIRE\_Q\_MGR\_STATUS  
MQCMD\_INQUIRE\_Q\_NAMES  
MQCMD\_INQUIRE\_Q  
MQCMD\_INQUIRE\_Q\_STATUS  
MQCMD\_INQUIRE\_CHANNEL\_STATUS  
MQCMD\_INQUIRE\_LISTENER\_STATUS  
MQCMD\_RESET\_Q\_STATS (if you collect Enqueue and Dequeue counts, you will also need the CHG permission on queues)

+put is required because it puts messages in command and audit queues when running those PCF commands.

Thanks,

Diego

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [December 17, 2019, 5:37pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/3 "2019-12-17T17:37:23Z")

</div>

Hello [@Diego M.](https://answers.dynatrace.com/users/5153/view.html)

Could you please tell us for which commands and queues we should give **put** permission to the plugin ?

That’s right I understand that’s enough SYSTEM.ADMIN.COMMAND.QUEUE

---

<div class="post-metadata">

**Author:** ![MAkimov](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@MAkimov](https://community.dynatrace.com/u/MAkimov)\
**Post date:** [December 22, 2019, 9:56am UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/4 "2019-12-22T09:56:40Z")

</div>

Hello [@Diego M.](https://answers.dynatrace.com/users/5153/view.html)

The security service of the Bank asks what permissions are required for the plugin. They cannot allow **put** permissions for all queues (there are several hundred of them)

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [December 24, 2019, 4:00pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/5 "2019-12-24T16:00:07Z")

</div>

Hi Mikhail,

You’re correct, the SYSTEM.ADMIN.COMMAND.QUEUE needs put permission and also the SYSTEM audit queues.

According to IBM:  
[https://www.ibm.com/support/knowledgecenter/en/SSFKSJ\_9.0.0/com.ibm.mq.adm.doc/q020060\_.htm](https://www.ibm.com/support/knowledgecenter/en/SSFKSJ_9.0.0/com.ibm.mq.adm.doc/q020060_.htm)

You need:

+dsp permissions to all objects (queue manager, queues, channels, listeners, namelists)  
+put permissions to the queues I mentioned above.  
+chg to queues you want to get enqueue/dequeue rate.  
+ctrl if you want to ping a queue manager to get whether it is responsive.  
+connect

With the above, make sure you can connect, inquire all objects.

Hope this helps,

Thanks,

Diego

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [October 30, 2023, 12:04pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/6 "2023-10-30T12:04:13Z")

</div>

[@diego\_morales](https://community.dynatrace.com/user/21611)&nbsp;can you tell me, what would happen if the PUT permission is NOT granted (on&nbsp;SYSTEM.ADMIN.COMMAND.QUEUE)?

What is the impact,&nbsp; would break/not be possible, using the extension?

 ![fstekelenburg_1-1698667353438.png](https://global.discourse-cdn.com/dynatrace/original/3X/4/0/4039b840c183a5cb5e254a0ff37e89514403d29d.png)

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [October 30, 2023, 1:48pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/7 "2023-10-30T13:48:40Z")

</div>

Indeed. Nothing would work. All the INQUIRE commands about queue manager status, queue status, channels, topics, clusters, etc. get PUT into that SYSTEM.ADMIN.COMMAND.QUEUE. IBM MQ then processes all those inquire commands and responds to them. Without that, it would never get metrics. That is the way IBM MQ operates with PCF commands (all those INQUIRE commands are PCF commands).

---

<div class="post-metadata">

**Author:** ![fstekelenburg](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/fstekelenburg/32/22029_2.png) [@fstekelenburg](https://community.dynatrace.com/u/fstekelenburg)\
**Post date:** [October 30, 2023, 2:41pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/8 "2023-10-30T14:41:55Z")

</div>

Thank you for the (swift) answer and confirming clarification,&nbsp;[@diego\_morales](https://community.dynatrace.com/user/21611).

One other question; I read somewhere that the activeGate polls every minute (perhaps also the oneagents extension)? If the connection is not possible between AG and MQ, do we miss datapoints, or is data for the missing period als collected, once re-established?

---

<div class="post-metadata">

**Author:** ![diego\_morales](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/diego_morales/32/2556_2.png) [@diego\_morales](https://community.dynatrace.com/u/diego_morales)\
**Post date:** [October 30, 2023, 2:51pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/9 "2023-10-30T14:51:16Z")

</div>

No prob!. You lose on those datapoints since it cannot connect to it and IBM MQ does not keep history of any of that. IBM MQ only reports values as they are right now. The extension collects those minute-to-minute snapshots when it connects to it.

---

<div class="post-metadata">

**Author:** ![sandeep\_kanchal](https://avatars.discourse-cdn.com/v4/letter/s/e19adc/32.png) [@sandeep\_kanchal](https://community.dynatrace.com/u/sandeep_kanchal)\
**Post date:** [February 11, 2025, 1:49pm UTC](https://community.dynatrace.com/t/ibm-mq-plugin-permissions/22243/10 "2025-02-11T13:49:25Z")

</div>

I’m getting all the metrics except channels. What could be the issue? Tried with mqm user as well.
