In Zenoss, metric-bearing VMware entities (such as Hosts, Guests, and Clusters) have associated templates. These templates define which metrics are gathered. By default, only a subset is collected; however, you can add more by adding data sources to the templates. Once created, you can then create custom graphs from these data sources.
To create a custom data source:
Navigate to Advanced > Monitoring Templates and select the template to which you want to add the data source.
From the Data Sources area, click to add a data source.
The Add Data Source dialog appears.
Enter a name and select the
VMware
data source from the list of options, and then click Submit.Double-click the newly created data source to edit it. Enter or select values:
Event Key - Not used.
Severity - Not used.
Group, Counter, and Rollup Type - VMware-specific data points are determined by this trio of strings. For information about each of these metrics, see the chapter titled "Performance Counters Reference" in the VI SDK Programming Guide.
Instance - Certain metrics are further specified by an instance name. For example, the metric whose Group/Counter/Rollup Type triplet is Network/Network Data Receive Rate/average requires the name of the actual interface for full specification. In Zenoss, this metric is represented by the data source nicRx on the template VMwareNic. The VMwareNic template is bound to the individual host interfaces, each of whose ID is the interface name. In this case, the instance name is ${here/instanceId}.
Click
to save the new data source.