Skip to content

vm.discovery.full[*]

dav3860 edited this page Jul 8, 2016 · 1 revision

Returns a JSON-formatted array of virtual machines for use with Zabbix Low-Level Discovery. This will return additional information, like the power state, and can take a significant amount of time (beware of timeouts with Zabbix), eg :

vm.discovery.full[*]
{
  "data": [
    {
      "{#VIRTUALMACHINE}": "VMTEST01",
      "{#UUID}": "5021e43c-8823-348c-5413-f5d120e4415d",
      "{#POWERSTATE}": 0
    },
    {
      "{#VIRTUALMACHINE}": "VMTEST02",
      "{#UUID}": "564d4eed-4568-a7e7-5fcf-4bdef19b8b7f",
      "{#POWERSTATE}": 0
    }
  ]
}
Clone this wiki locally