Closed Dees7 closed 6 years ago
Looks like telegraf disconected and doesn't try reconnecting. mosquitto doesn't publish messaget to telegraf
1536337620: Received PINGREQ from telegraf
1536337620: Sending PINGRESP to telegraf
1536337621: Sending PUBLISH to telegraf (d0, q0, r0, m0, 'tele/piduino/stat', ... (99 bytes))
1536337661: Sending PUBLISH to telegraf (d0, q0, r0, m0, 'tele/sdm/STATE', ... (144 bytes))
1536337662: Sending PUBLISH to telegraf (d0, q0, r0, m0, 'tele/sdm/SENSOR', ... (353 bytes))
judging by logs telegraf begins gather less metrics with no error messages
2018-09-07T21:25:00Z D! Output [influxdb] wrote batch of 45 metrics in 55.868805ms
2018-09-07T21:26:20Z D! Output [influxdb] buffer fullness: 77 / 1000 metrics.
2018-09-07T21:26:20Z D! Output [influxdb] wrote batch of 77 metrics in 57.227782ms
2018-09-07T21:27:40Z D! Output [influxdb] buffer fullness: 40 / 1000 metrics.
2018-09-07T21:27:40Z D! Output [influxdb] wrote batch of 40 metrics in 33.749056ms
I think this is a duplicate of #4594
Relevant telegraf.conf:
System info:
Telegraf unknown (git: master 3268937c) mosquitto version 1.4.10 (build date Fri, 22 Dec 2017 08:19:25 +0000) Description: Raspbian GNU/Linux 9.4 (stretch)
Steps to reproduce:
Unexpected stops gathering metrics
Debug log looks like
When stops gathering metrics telegraf pushes only diskio\mem\cpu\etc metric (no mqtt)
But there is more debug info in #921. How can I enable this debug?