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

zabbix_get returns empty result instead of metric value or error code/msg

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Incomplete
    • Icon: Minor Minor
    • None
    • 2.0.3
    • Zabbix server + agent: 2.0.3, os RHEL 5

      Running zabbix_get I would expect to either get a valid metric or an error but sometimes all I get is a blank line (empty result), even for keys which I know never has a blank value.
      The return code of zabbix_get after a empty result is 0, which does not indicate an error.

      If empty result is a valid result,I suggest the resolution to this issue is updating the documentation at http://www.zabbix.com/documentation/2.0/manpages/zabbix_get to explain the scenario

      .

            Unassigned Unassigned
            lynggaard Henrik Lynggaard
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: