Skip to content

esx.counter.discovery[(uuid|name),counter,[interval]]

dav3860 edited this page Jul 8, 2016 · 3 revisions

Returns the list of instances of a VMWare Performance Manager counter for an ESX host.

  • The counter name can be found using the method esx.counter.list[(uuid|name)]
  • The interval parameter defines the how much data will be collected (in seconds).

Sample usage :

esx.counter.discovery[myesx01,datastore.datastoreReadIops.latest]
{
  "data": [
    {
      "{#METRICINSTANCE}": "54abdb23-2d2356f6-f002-001a4bef4838",
      "{#METRICNAME}": "DS01"
    },
    {
      "{#METRICINSTANCE}": "558ac8df-a17d83a4-4e64-a0b3cce0dcda",
      "{#METRICNAME}": "DS02"
    }
  ]
}
Clone this wiki locally