Details

    • Type: Incident report
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.1
    • Fix Version/s: 2.2.2rc1
    • Component/s: API (A)

      Description

      In documentation output like this:
      {
      "jsonrpc": "2.0",
      "method": "host.get",
      "params": {
      "output": "extend",
      "filter":

      { "host": [ "Zabbix server", "Linux server" ] }


      },
      "auth": "038e1d7b1735c6a5436ee9eae095879e",
      "id": 1
      }

      {
      "jsonrpc": "2.0",
      "result": [

      { "maintenances": [], "hostid": "10167", "proxy_hostid": "0", "host": "Linux server", "status": "0", "disable_until": "0", "error": "", "available": "0", "errors_from": "0", "lastaccess": "0", "ipmi_authtype": "-1", "ipmi_privilege": "2", "ipmi_username": "", "ipmi_password": "", "ipmi_disable_until": "0", "ipmi_available": "0", "snmp_disable_until": "0", "snmp_available": "0", "maintenanceid": "0", "maintenance_status": "0", "maintenance_type": "0", "maintenance_from": "0", "ipmi_errors_from": "0", "snmp_errors_from": "0", "ipmi_error": "", "snmp_error": "", "jmx_disable_until": "0", "jmx_available": "0", "jmx_errors_from": "0", "jmx_error": "", "name": "Linux server" }

      ],
      "id": 1
      }

      The true result is:

      {
      "jsonrpc": "2.0",
      "result": [{
      "templates":[

      {"templateid":"0","hostid":"0"}

      ],
      "maintenances": [],
      "hostid": "10167",
      "proxy_hostid": "0",
      "host": "Linux server",
      "status": "0",
      "disable_until": "0",
      "error": "",
      "available": "0",
      "errors_from": "0",
      "lastaccess": "0",
      "ipmi_authtype": "-1",
      "ipmi_privilege": "2",
      "ipmi_username": "",
      "ipmi_password": "",
      "ipmi_disable_until": "0",
      "ipmi_available": "0",
      "snmp_disable_until": "0",
      "snmp_available": "0",
      "maintenanceid": "0",
      "maintenance_status": "0",
      "maintenance_type": "0",
      "maintenance_from": "0",
      "ipmi_errors_from": "0",
      "snmp_errors_from": "0",
      "ipmi_error": "",
      "snmp_error": "",
      "jmx_disable_until": "0",
      "jmx_available": "0",
      "jmx_errors_from": "0",
      "jmx_error": "",
      "name": "Linux server"
      }
      ],
      "id": 1
      }

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              neogan Andrei Gushchin
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: