Ad Widget

Collapse

How to get LLD discovered entities via Zabbix API?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • macgaffin2
    Junior Member
    • Sep 2016
    • 1

    #1

    How to get LLD discovered entities via Zabbix API?

    We can get the LLD discovered items via item.get.
    but, I want to get LLD discovered entities,such as:
    File Systems: "/", "/opt"......
    Interfaces: "eth0", "eth1"......
    CPUs: "cpu0", "cpu1"......

    I tried querying item.get API with:
    {
    "host": "Zabbix server",
    "output": "extend",
    "search": {
    "key_": "vfs.fs.discovery"
    },
    "sortfield": "name"
    }

    but I got response:
    {
    "jsonrpc": "2.0",
    "result": "[]",
    "id": 0
    }

    It seems nothing here!

    And I tried creating an item with key "vfs.fs.discovery", but Zabbix says --
    Item with key "vfs.fs.discovery" already exists on "Zabbix server".

    How could I approach the goal!

    Thank you!

    Last edited by macgaffin2; 23-09-2016, 02:55.
Working...