Ad Widget

Collapse

MQTT in Zabbix 5.2 with Agent2 - using GoogleAPIS.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ITOMDave
    Member
    • Nov 2018
    • 53

    #1

    MQTT in Zabbix 5.2 with Agent2 - using GoogleAPIS.

    Hi everyone,
    I'm trying to make use of the MQTT plugin for Agent2 as supported by Zabbix 5.2

    My question relates to authentication to the MQTT broker provided on Google Cloud....... ( https://cloud.google.com/iot/docs/ho...g_mqtt_clients )

    The document suggests that the Google broker needs TLS authentication to be able to subscribe to MQTT topics.

    The problem is that the mqtt.get item available with Zabbix Agent2 allows us to only specify a Username / Password combination:

    MQTT Item Key Details

    Has anyone implemented this use case and is able to provide me with some advice ?

    i.e. Can we use Zabbix Agent2 to subscribe to mqtt topics which require TLS authentication? If so, how? If not, then any workarounds would be useful.

    As always, all advice is very welcome indeed.

    Many thanks,
    Dave



  • ITOMDave
    Member
    • Nov 2018
    • 53

    #2
    OK, so I didn't read deep enough into the MQTT plugin of Agent2.

    The online Zabbix 5.2 manual doesn't mention this but there is great information at : https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/go/plugins/mqtt?at=refs%2Fheads%2Frelease%2F5.2

    It'd be great if this info was added to the online manual, but the result is the same. Yes, because Zabbix uses the "paho" MQTT library we can specify TLS as the connection.

    Dave.

    Comment

    Working...