-
Notifications
You must be signed in to change notification settings - Fork 70
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
Error collecting status: MQGET: MQCC = MQCC_FAILED [2] MQRC = MQRC_NO_MSG_AVAILABLE [2033] #227
Comments
The most likely issue is that your qmgr is not responding quickly enough to the status requests - the collection has a 3 second timeout to get returned messages, which should be plenty of time. But perhaps your system is too busy. The quoted error log has 3 seconds between the first and second entry, which suggests that particular timeout - it's not configurable, but you can easily change it in the source code for status.go - look for But if it's taking that long to respond to simple status queries, then other metrics could well be delayed/out-of-date. And other monitoring requests will queue up. So it's not a good idea to ignore the problem. Better would be to work out why your qmgr is taking that long. |
I am getting the same issue with the JSON exporter. Does that have a WaitInterval as well? If so, where? |
I put logLevel=trace and found that, before each error, the collector get an RC=2085 (MQRC_UNKNOWN_OBJECT_NAME), followed by CC=1 RC=3008 (MQRCCF_COMMAND_FAILED). The relevant log entries are: |
The CFH response shown here corresponds to an earlier CollectQueueStatus operation |
Mark, perhaps a future release can have this parameter as a command-line option... That would be great, IMO. |
You can ignore my issue - I was testing the MQ system event error logging in JSON by killing an MQ Process ( I think it was the command server) but forgot to restart the queue manager to restart the killed process. Once I did, the mq JSON collector worked just fine. Sorry for the noise. |
I am using the InfluxDB exporter and there are some queue managers where the exporter aborts with the following in the log file:
The text was updated successfully, but these errors were encountered: