Agent 2 does not show full message in Latest data for mqtt.get item

XMLWordPrintable

      Description:

      There is a behavioral difference between Zabbix 7.4 and the current master branch when processing long MQTT messages in mqtt.get items with topics containing “/”.

      In master:

      • The full message is not displayed in the hint box and History in Latest data (it appears truncated).

      In Zabbix 7.4:

      • The full message is correctly displayed in both the hint box and History in Latest data.

      Precondition:

      Message broker should be set up

      Steps to reproduce:

      1. Go to "Host" 
      2. Create item
        1. Type: "Zabbix agent (active)"
        2. Key: mqtt.get[localhost,"test/b"]
      3. Click "Update"
      4. Send long message to Item (300 characters)
      5. Go to "Latest data" and check message in hint box and History

      Result:

      Full message is not shown in hint box and History in Latest data on master

      Please see screencast:

      Expected:
      Full message should be displayed

        1. fullMessage.gif
          7.90 MB
          Glebs Mirosnikovs

            Assignee:
            Zabbix Development Team
            Reporter:
            Glebs Mirosnikovs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: