Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-13131

Multiline text values are truncated to the first line in the discovery SNMP checks

    Details

    • Team:
      Team A
    • Sprint:
      Sprint 25, Sprint 26
    • Story Points:
      0.5

      Description

      If a discovery rule contains the SNMP check which retrieves multiline text value only the first line stores to DB. If the OID will be polled by the item no truncation applied. In the 3.2 the SNMP checks return whole value too.

      It seems that the issue is in the zbx_snmp_set_result(), which in the 3.2 expects 4 arguments including the "value type", but in the 3.4 there are only 2 args and no "value type" passed. Inside the function the type set to 'ITEM_VALUE_TYPE_TEXT', while in the discover_service() after the get_value_agent() call goes the GET_STR_RESUTL() call which returns the first line for the text value.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                viktors.tjarve Viktors Tjarve
                Reporter:
                rakcheyev Igor Rakcheyev
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: