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

Listener metrics #244

Closed
SandyIrvin opened this issue Aug 8, 2023 · 3 comments
Closed

Listener metrics #244

SandyIrvin opened this issue Aug 8, 2023 · 3 comments

Comments

@SandyIrvin
Copy link

SandyIrvin commented Aug 8, 2023

I am running IBM MQ 9.3.x on Linux system and trying to capture metrics and create Dashboards on grafana. I have followed steps, compiled the code and deployed to queue manager as a service. However when i see the metrics getting exported, i dont see anything associated with listener at all.

Here is how i am invoking the code using a shell script.

exec mq_prometheus -ibmmq.queueManager=$qMgr -ibmmq.httpListenPort=$port -ibmmq.monitoredQueues=* -ibmmq.monitoredChannels=* -ibmmq.showInactiveChannels=true -ibmmq.monitoredTopics=# -ibmmq.monitoredSubscriptions=* -rediscoverInterval=1h -ibmmq.useStatus=true -log.level=error

@ibmmqmet
Copy link
Collaborator

ibmmqmet commented Aug 9, 2023

What metrics are you expecting? The only one reported is qmgr_active_listeners. And that requires the useObjectStatus option (or UseStatus when setting on the command line) to be enabled.

@SandyIrvin
Copy link
Author

SandyIrvin commented Aug 31, 2023

I have useStatus set to true in command line. The listener is defined inside the queue manager and controlled by qmgr

@ibmmqmet
Copy link
Collaborator

ibmmqmet commented Sep 5, 2023

And are you not seeing the qmgr_active_listeners metric? Are you expecting something else?

@ibmmqmet ibmmqmet closed this as completed Mar 4, 2024
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