Open rohmattriindra opened 1 year ago
Hi @RizkyRajitha
I got an issue when the exporter running via docker.
2023/01/13 13:01:41 brokerAddress : xxx:1883 2023/01/13 13:01:41 username : xxxx 2023/01/13 13:01:41 mosquitto_mqtt_exporter listening on port : 9992 mosquitto_mqtt_exporter v A Mosquitto Mqtt Broker metric exporter for Prometheus 2023/01/13 13:01:41 Error connecting to mqtt broker identifier rejected
after investigation seems the issue occurred due to too many end block code in the variable password
the variable password should be ${password} not${password}} https://github.com/RizkyRajitha/mosquitto_mqtt_exporter/blob/master/Dockerfile#L28
${password}
${password}}
After change with proper config, the exporter is running properly
Hi @rohmattriindra ,
thank you very much for this contribution . i will update this.
Hi @RizkyRajitha
I got an issue when the exporter running via docker.
after investigation seems the issue occurred due to too many end block code in the variable password
the variable password should be
${password}
not${password}}
https://github.com/RizkyRajitha/mosquitto_mqtt_exporter/blob/master/Dockerfile#L28After change with proper config, the exporter is running properly