Hello,
i tried now the MQTT plugin inside agent2.
Installed and configured like here: https://www.zabbix.com/de/integrations/mqtt
Created a host with running active checks (green symbol near host in overview)
other services/items are working (standard coming from templates to monitor the host).
Now i tried to add a item like "get-mqtt-temperature" with the following settings:
Type: zabbix agent (active)
Key: mqtt.get["eu1.cloud.thethings.network:1883","v3/sometest@ttn/devices/wp-temp1/up","somueuser@ttn","#somekey#"]
Type of information: Text
Enabled: yes
But the agent2 does not retrieve any topic data from the mqtt broker.
side by side is run a MQTT Explorer on same MQTT broker, and it is getting fine updates of my topics. But zabbix does not show anything.
I already tried to get the data from agent on commandline, but get the following error:
This i think maybe, because only active checks supported. But how i can test the MQTT plugin on commandline?
regards
Michael
i tried now the MQTT plugin inside agent2.
Installed and configured like here: https://www.zabbix.com/de/integrations/mqtt
Created a host with running active checks (green symbol near host in overview)
other services/items are working (standard coming from templates to monitor the host).
Now i tried to add a item like "get-mqtt-temperature" with the following settings:
Type: zabbix agent (active)
Key: mqtt.get["eu1.cloud.thethings.network:1883","v3/sometest@ttn/devices/wp-temp1/up","somueuser@ttn","#somekey#"]
Type of information: Text
Enabled: yes
But the agent2 does not retrieve any topic data from the mqtt broker.
side by side is run a MQTT Explorer on same MQTT broker, and it is getting fine updates of my topics. But zabbix does not show anything.
I already tried to get the data from agent on commandline, but get the following error:
Code:
ZBX_NOTSUPPORTED: The "mqtt.get[tcp://eu1.cloud.thethings.network:1883,v3/sometest@ttn/devices/wp-temp1/up,someuser@ttn,#somekey#]" key is not supported in test or single passive check mode
regards
Michael
Comment