Archived community.zenoss.org | full text search
Skip navigation
Currently Being Moderated

62.6 Adding a Custom Metric

VERSION 4  Click to view document history
Created on: Aug 10, 2010 5:41 PM by Zenoss API - Last Modified:  Aug 10, 2010 5:59 PM by Zenoss API

 6. Adding a Custom Metric

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:

  1. Navigate to Advanced > Monitoring Templates and select the template to which you want to add the data source.

  2. From the Data Sources area, click to add a data source.

    The Add Data Source dialog appears.

     

    Figure 62.7. Add Data Source

    Add Data Source

  3. Enter a name and select the VMware data source from the list of options, and then click Submit.

  4. 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}.

  5. Click Save to save the new data source.

Comments (0)