-
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
ERRO[0000] Invalid value for poll interval parameter: time: invalid duration "" #256
Comments
This is nearly unreadable because of the formatting. And you don't seem to have provided a copy of your collector configuration file - that's the one with the definitions of how to connect to the queue manager. The provided sample config has |
Thank you for your reply.. Location of the file
|
the poll_interval seems to be defined in config.common.yaml. Not sure if we need to modify anything in this file
|
@ibmmqmet here's the docker command that I am executing. I have commented out the poll_interval in config.common.yaml
|
It looks like you are only providing a partial configuration file (if any). As the README says, the full config file that you supply needs to be the combination of config.common.yaml and the config.collector.yaml in a single file for the specific collector program. |
Hi @ibmmqmet We haven't made any changes to config.common.yaml and config.collector.yaml . Here's the list of directories which we currently have . I have shared both the files in the previous comments and still get the invalid value error. Not sure how to troubleshoot this issue. Any help on this issue would be appreciated. Tried adding both config.common.yaml and config.collector.yaml in one single file and still getting the same error.
|
If you set loglevel to DEBUG it will print out what it thinks your configuration settings are. Of course, if you are pointing at the wrong configuration file then that change wouldn't take effect. Since you seem to be mounting the prometheus-specific source directory into /opt/config, then it will be looking for a |
|
Please include the following information in your ticket.
[mqm@localhost mq_prometheus]$ sudo docker run -p 9157:9157 -v /home/mqm/src/github.com/ibm-messaging/mq-metric-samples/cmd/mq_prometheus:/opt/config -it --rm mqprom:2.0
[sudo] password for mqm:
IBM MQ metrics exporter for Prometheus monitoring
MQ Go Version : v5.5.0
ERRO[0000] Invalid value for poll interval parameter: time: invalid duration ""
INFO[0000] Done.
[mqm@localhost mq_prometheus]$
Not sure where to fix the Invalid duration poll Interval parameter
Prometheus.yaml file
[mqm@localhost mq_prometheus]$ cat mq_prometheus.yaml
The text was updated successfully, but these errors were encountered: