Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Question] Permissions needed and behaviour of exporter #271

Open
paologallinaharbur opened this issue Dec 8, 2023 · 2 comments
Open

[Question] Permissions needed and behaviour of exporter #271

paologallinaharbur opened this issue Dec 8, 2023 · 2 comments

Comments

@paologallinaharbur
Copy link
Contributor

paologallinaharbur commented Dec 8, 2023

Hello, first of all, thanks for building and maintaining this exporter! I have some questions regarding the Prometheus exporter permissions and, in general, how this component works.

  • Is there a document going over the permissions required to run this exporter or use mqmetric package?
  • I understand that the exporter needs to put messages to queues and therefore needs MQPUT for MQI calls. Is there any doc explaining which messages and why?
  • In a different issue they mention" temporary dynamic queues". Any particular permission is required to create them?
    • Are those related to non-durable subscriptions (model queues) and could be avoided with durable ones?

Thanks again for the help 😄

@paologallinaharbur paologallinaharbur changed the title [Question] Permission needed and behaviour [Question] Permissions needed and behaviour of exporter Dec 8, 2023
@ibmmqmet
Copy link
Collaborator

There's no specific document.

#145 has detailed information from a z/OS perspective; on a different platform the settings are controlled differently. And the command queue has a different name. Mostly it's going to just require "DISPLAY" authority for the various object types. See https://www.ibm.com/docs/en/ibm-mq/9.3?topic=windows-authorizations-pcf-commands for more about authorisations.

Dynamic queues have no direct relationship to non-durable publications.

If you are not authorised to do something, then the queue manager will generate appropriate reports (error logs/events) so you can fix up the permissions.

@paologallinaharbur
Copy link
Contributor Author

paologallinaharbur commented Dec 11, 2023

#145 has detailed information from a z/OS perspective; on a different platform the settings are controlled differently. And the command queue has a different name. [...]

Have you linked the right issue? I only see a dependabot PR listing unrelated changes, unless I am missing something

Ok, to wrap up the answer is that it depends, but:

  • usually it requires the DISPLAY.
  • We can try to run it and if any additional permission is needed we can check related reports
  • Regarding the MQI also it depends, but I understand that put -> MQPUT is required as well as get ->MQGET (with BROWSE), right?
Screenshot 2023-12-11 at 13 16 31

Thanks again for your time and help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants