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

Problems getting QMGR monitored with lots of objects (more than 1200) #88

Open
manwe81 opened this issue Jan 17, 2022 · 1 comment
Open

Comments

@manwe81
Copy link

manwe81 commented Jan 17, 2022

QMGR Version 9.1.0.9
we use the latest mqprometheus build for 9.1.x
we set max handles to 10240
we have the following config and run the deamon as client:

queues="VERS.,EPZ.,AZL.,HD.,GOLV.,FN.,DMS.,CMD.,CLIENT.,PUBLIC.,READ.,AKO.,GELD.,DBC.,VAUST.,IMMO.,ALF.,GGF.,COM.,ESB.,VGT.,APL.,DE.,SYSTEM.,ADMIN.,TEST.,MQ*"

An alternative is to have a file containing the patterns, and named

via the ibmmq.monitoredQueuesFile option.

Do similar for channels

channels="2*,MQ*,CL*"

See config.go for all recognised flags

ARGS="-ibmmq.queueManager=$qMgr"
ARGS="$ARGS -ibmmq.monitoredQueues=$queues"
ARGS="$ARGS -ibmmq.monitoredChannels=$channels"
ARGS="$ARGS -ibmmq.monitoredTopics=#"
ARGS="$ARGS -ibmmq.monitoredSubscriptions=*"
ARGS="$ARGS -rediscoverInterval=1h"
ARGS="$ARGS -pollInterval=600s"
ARGS="$ARGS -ibmmq.httpListenHost=xxxx.xxxx.xxxx.xxxx"
ARGS="$ARGS -ibmmq.httpListenPort=$port"
ARGS="$ARGS -ibmmq.tzOffset=1h"
ARGS="$ARGS -ibmmq.replyQueue=ADMIN.PROMETHEUS.MON.AGENT"
ARGS="$ARGS -ibmmq.queueSubscriptionSelector=put,get"
ARGS="$ARGS -ibmmq.useStatus=true"
ARGS="$ARGS -log.level=error"

we see just filling up the reply Queues and that some messages are processed but seem to be dropped from the prometheus server.
Is there someone around with the same problem and/or got it working with a huge amount of queues/channels? Thanks in advance for any hint.

@WockaFlockaRist
Copy link

my team is experiencing the same thing in our testenvironments.

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