Grafana: различия между версиями

(Чуть дополнил)
Строка 195: Строка 195:
address 10.0.0.105
address 10.0.0.105
notifications true
notifications true
notification_topic /clientnotification/bridge1_status
notification_topic /client/ACAX3M6K/bridge1_status
remote_username test
remote_username test
remote_password test11test
remote_password test11test
Строка 203: Строка 203:


</syntaxhighlight>
</syntaxhighlight>
Для того чтобы отправить в influx '''все''' топики контроллера надо сделать
<syntaxhighlight lang="bash">
cat << EOFcommand > /etc/mosquitto/conf.d/bridge1.conf
connection bridge1
#address of server
address 10.0.0.105
notifications true
notification_topic /client/ACAX3M6K/bridge1_status
remote_username test
remote_password test11test
topic /# both 2 /devices /client/ACAX3M6K/devices
EOFcommand
</syntaxhighlight>
''Замените параметры (адрес, топик) на свои''
''Замените параметры (адрес, топик) на свои''


wb_editors
890

правок