Ad Widget

Collapse

ability of setting mqtt client id in mqtt_get

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • zabbix@itaca,ch
    Junior Member
    • Aug 2020
    • 1

    #1

    ability of setting mqtt client id in mqtt_get

    It would be helpful to have the ability of setting the client id in mqtt_get prototype function as follows mqtt_get [ <broker_url>, topic , <username>, <password>, <clientID> ]
    By controlling the clientID it will enable to connect multiple zabbix hosts with their own macros on a single mqtt broker and use a standard template for a defined mqtt publisher.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    A very good addition, but you wrote it in the wrong place.
    Write to. https://support.zabbix.com/projects/ZBXNEXT/

    Comment

    • shkiper
      Senior Member
      • Mar 2016
      • 123

      #3
      also thought about it
      now this can be solved by macros
      if separate url and topics, how it will be solved at the listening port level?
      multiple requests, for single IP and single port, meaningless
      at its best, the connection will be single, else will be collisions

      the entire stream must be read of single connection
      the problem is that - one mqtt.get is needed for all mqtt templates (with one IP address)

      Comment

      Working...