pratt26
Enthusiast
Enthusiast

VRealize 6.01 - List of Virtual Machine Metrics for creating XML files for Dashboards

Hi,

In the help for VRealize 6.01, There are metrics listed for Virtual Machines for items such as disk,network,system etc. I am trying to build a custom XML file to use as a Scoreboard. The Scoreboard never gets populated and shows a blue tile with a "?". Guessing, I don't have the metric defined correctly. Here is an example of one of the metrics I created using the sample XML file and the syntax from the help section in VRO

<Metric attrkey="sys | osUptime_latest" label="OS Uptime" unit="Second(s)" yellow="50" orange="60" red="80" />

My question if you can help:

1) Is there a master list of metrics and their formats (the help section contains a small subset, but not all of them) ?

Thanks

Tags (2)
0 Kudos
1 Reply
JihemmeT
Enthusiast
Enthusiast

Hello,

the easiest way to do this and retrieve metrics name is to create another dashboard with the exact metrics you need (just tie to any object of the same nature, no matter which one) and then, export your dashboard. All the metrics you need will appear in the JSON file.

Just copy / paste

For example :

                     {

                        "yellowBound": "",

                        "metricUnitId": "tb",

                        "resourceId": "resource:id:0_::_",

                        "metricName": "Memory|Provisioned Memory",

                        "metricKey": "mem|host_provisioned",

                        "resourceKindName": "",

                        "resourceName": "CLSCLDRESD01",

                        "isStringMetric": false,

                        "resourceKindId": "002006VMWAREClusterComputeResource",

                        "label": "",

                        "orangeBound": "",

                        "unit": "TB",

                        "redBound": "",

                        "colorMethod": true

                     },

                     {

                        "yellowBound": "",

                        "metricUnitId": null,

                        "resourceId": "resource:id:0_::_",

                        "metricName": "Super Metric|sm_cd330d7a-044f-439d-9868-5162069f995b",

                        "metricKey": "Super Metric|sm_cd330d7a-044f-439d-9868-5162069f995b",

                        "resourceKindName": "",

                        "resourceName": "CLSCLDRESD01",

                        "isStringMetric": false,

                        "resourceKindId": "002006VMWAREClusterComputeResource",

                        "label": "",

                        "orangeBound": "",

                        "unit": null,

                        "redBound": "",

                        "colorMethod": true

                     },

Here you have 2 metrics :

- mem|host_provisioned (and NOT Memory|Provisioned Memory)

- Super Metric|sm_cd330d7a-044f-439d-9868-5162069f995b

Gave the supermetric example because with vROps it is now much harder to get the right one since you need to use its ID and not its name, sad choice...

Hope this helps