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

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 2.0.3
    • Fix Version/s: None
    • Environment:
      Zabbix server + agent: 2.0.3, os RHEL 5

      Description

      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

      .

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: