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

Host.Get using Filter: by host(Name) returns the first Host always

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.2.14
    • API (A)
    • CentOS 5.3, PHP, MySQL

      No matter what host is passed to the API, it always has the same response. Even for host that don't exists.

      Request:

      {"params": [{"filter": {"host": ["019615"]}, "output": ["extended"]}], "jsonrpc": "2.0", "method": "host.get", "auth": "b9d8c3c7f0c08bdd2c20f1ddb023cb27", "id": 9}
      

      Response:

      {"jsonrpc":"2.0","result":[{"hostid":"10096"}],"id":9}
      

            Unassigned Unassigned
            robert.burkhall Robert Burkhall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: