Zabbix API Call Item.get getting error while using Search Option

XMLWordPrintable

    • Type: Incident report
    • Resolution: Commercial support required
    • Priority: Major
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      WHILE USING OPTION FILTER I AM GETTING BELOW RESULTS WHICH IS I AM EXPECTED

      CODE:
      {
      "jsonrpc": "2.0",
      "method": "item.get",
      "params": {
      "output": "itemid",
      "filter":

      { "host": [ "RADNETMR1549_MR_UTCM5_USA", "580548BWB_MR_UTCM5_USA", "253219RMR_MR_UTCM5_USA", "410955MR6_MR_UTCM5_USA" ] }

      ,
      "sortfield": "name",
      "limit": 10
      },
      "auth": "e5e895c3e27d7bda14655862ba2c2234",
      "id": 1
      }

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

      { "itemid": "92991", "name": "ICMP loss" }

      ,

      { "itemid": "93152", "name": "ICMP loss" }

      ,

      { "itemid": "93159", "name": "ICMP loss" }

      ,

      { "itemid": "93166", "name": "ICMP loss" }

      ,

      { "itemid": "92990", "name": "ICMP ping" }

      ,

      { "itemid": "93151", "name": "ICMP ping" }

      ,

      { "itemid": "93158", "name": "ICMP ping" }

      ,

      { "itemid": "93165", "name": "ICMP ping" }

      ,

      { "itemid": "92992", "name": "ICMP response time" }

      ,

      { "itemid": "93153", "name": "ICMP response time" }

      ],
      "id": 1
      }

            Assignee:
            Unassigned
            Reporter:
            Avinash
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: