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

empty results from agent treated as network errors

    XMLWordPrintable

    Details

      Description

      Suppose we have an agent item that returns an empty string. This is valid after ZBX-8664:

      $ bin/zabbix_get --version
      Zabbix get v2.4.8rc1 (revision {ZABBIX_REVISION}) (12 November 2015)
      Compilation time: Jan 19 2016 14:23:45
      $ bin/zabbix_get -s 127.0.0.1 -p 10050 -k 'passwd[non-existent]'
      
      

      Unfortunately, Zabbix 3.0 no longer treats that as a valid response and assumes a permission error instead:

      $ bin/zabbix_get -V
      zabbix_get (Zabbix) 3.0.0rc1
      Revision {ZABBIX_REVISION} 29 January 2016, compilation time: Feb  1 2016 11:45:46
      $ bin/zabbix_get -s 127.0.0.1 -p 10050 -k 'passwd[non-existent]'
      zabbix_get [22212]: Check access restrictions in Zabbix agent configuration
      

      This may or may not be a regression from ZBXNEXT-1263.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            asaveljevs Aleksandrs Saveljevs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: