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

Telegraf fails starting with MQTT consumer is connection_timeout is not defined #3301

Closed
dinacel opened this issue Oct 3, 2017 · 1 comment

Comments

@dinacel
Copy link

dinacel commented Oct 3, 2017

Bug report

Relevant telegraf.conf:

[[inputs.mqtt_consumer]]

   ## Connection timeout for initial connection in seconds
   connection_timeout = "30s"

System info:

Telegraf version 1.4.1-1

root@local:~# apt-cache policy telegraf
telegraf:
  Installed: 1.4.1-1
  Candidate: 1.4.1-1
  Version table:
 *** 1.4.1-1 0
        900 https://repos.influxdata.com/debian/ jessie/stable amd64 Packages
        100 /var/lib/dpkg/status

Steps to reproduce:

  1. Remove or comment "connection_timeout" parameter in the telegraf.conf (or upgrade telegraf from a previous version).
  2. Restart telegraf.

Expected behavior:

Telegraf start.

Actual behavior:

Telegraf fails starting with a message in the logs :

MQTT Consumer, invalid connection_timeout value: {0}
@danielnelson
Copy link
Contributor

Sorry about this regression, we have a fix for this in 1.4.2. #3284

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