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

hostname and description tags for qmgr #184

Closed
AntonioTrindade opened this issue Nov 22, 2022 · 2 comments
Closed

hostname and description tags for qmgr #184

AntonioTrindade opened this issue Nov 22, 2022 · 2 comments

Comments

@AntonioTrindade
Copy link

Greetings,

Is it possible to include the host name and the queue manager's description (DESCR field) as tags.
I have hundreds of queue managers and is would be a lot easier to select the queue manager by description instead of by name.

Also, I have found that, at least in the mq_influx collector, the host tag gets set to the destination InfluxDB hostname and not the queue manager's host name.

Thanks in advance.

@ibmmqmet
Copy link
Collaborator

Adding the qmgr description is reasonable, and I'll think about adding it for the next update.
Hostname is not currently feasible - if connecting as a client, the collector doesn't necessarily know where the qmgr is actually running. Especially in various HA environments where the qmgr might be active on one of several different systems.

If the qmgr starts to report its own current hostname, then I would be able to report it.

The host reported by influx is not really anything directly reported here - it has to be an influx view of its own location.

ibmmqmet added a commit to ibm-messaging/mq-golang that referenced this issue Jan 10, 2023
- mqmetric - New metric qmgr_active_listeners (ibm-messaging/mq-metric-samples#183)
- mqmetric - Add qmgr description as tag (ibm-messaging/mq-metric-samples#184)
- mqmetric - Add metrics.txt
ibmmqmet added a commit to ibm-messaging/mq-golang that referenced this issue Feb 17, 2023
- mqmetric - Add hostname tag for 9.3.2 qmgrs (added to DIS QMSTATUS response) (ibm-messaging/mq-metric-samples#184)
- mqmetric - Add subscriptions to NativeHA published metrics
- mqmetric - Add metrics for status of log extents
@ibmmqmet
Copy link
Collaborator

MQ 932 added hostname as a status attribute, and that's now available as a tag in the collectors

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