Zabbix support

Материал из Wiren Board
Это утверждённая версия страницы. Она же — наиболее свежая версия.
Другие языки:

See Native bridge to Zabbix: https://github.com/contactless/wb-mqtt-zabbix Packages in Releases section.


Before you start

Install zabbix-agent:

apt-get install zabbix-agent


Settings for Zabbix Agent

The values of the variables To be used citenet V. retained receiving Zabbix-channels value.

To set the agent, you need to create a file

zabbix-mqtt.conf

in a folder

/etc/zabbix/zabbix_agentd.d/

with the following content:

UserParameter=mqtt.value[*],mosquitto_sub -t '$1' -C 1


Use

Accessing channels in Zabbix is as follows:

mqtt.value[topic]

where topic is the topic of the corresponding channel in MQTT MQTT


for example:

mqtt.value[/devices/sht1x/controls/humidity]
mqtt.value[/devices/sht1x/controls/temperature]