influxdata/telegraf

[outputs.mqtt] Allow setting last will and testament

Open

#16,046 opened on Oct 20, 2024

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Go (9,892 stars) (4,161 forks)batch import
feature requesthelp wantedsize/m

Description

Use Case

Bing able to set the last will and testament means that we can tell if telegraf has disconnected ungracefully from the mqtt broker on the subscriber side.

Expected behavior

mqtt producer plugin has options to set the last will and testament topic/payload/retain/qos which are sent to the broker on connect.

Actual behavior

These options don't exist yet.

Additional info

No response

Contributor guide