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

Data type mismatch between Agentd and Agent 2 for the same item key

XMLWordPrintable

      When testing a custom item key using both  Agentd and Agent 2, the returned values are identical in content but differ in data type (e.g., unit vs string).

      Additional information: https://support.zabbix.com/browse/ZBX-25526?focusedId=1086618&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-1086618 

      To reproduce the issue, you need to test the item key on agentd and agent2 to see a different data type in the response:

      $ ./sbin/zabbix_agentd -t proc.num[,,all,]
      proc.num[,,all,]                              [u|343]
      $ ./sbin/zabbix_agent2 -t proc.num[,,all,]
      proc.num[,,all,]                              [s|343]
      

      Result:
      Different data type in response (from example: 'u' and 's').
      Expected:
      Should see the same data type.

            dgoloscapov Dmitrijs Goloscapovs
            dponomarenko Deniss Ponomarenko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: