graylog-labs / graylog-plugin-mqtt

MQTT Input Plugin for Graylog

Home Page:https://www.graylog.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can not create two inputs for the same MQTT Server

autoantwort opened this issue · comments

I guess the client id used by the plugin in the same for every source. So the mqtt broker disconnects the connection constantly.

2022-12-09T01:57:28.872+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:28.872+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:28.924+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:28.924+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:28.975+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:28.975+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.027+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.027+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.079+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.079+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.130+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.130+01:00 DEBUG [ClientListener] Disconnected MQTT client
2022-12-09T01:57:29.182+01:00 WARN  [xenqtt] Connection to broker lost; scheduling a reconnect attempt for channel: MqttClientChannel[localAddress:N/A,remoteAddress:N/A]
2022-12-09T01:57:29.182+01:00 DEBUG [ClientListener] Disconnected MQTT client

If I stop one of the sources the problem disappears.