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

56.6 Adding a Custom Metric

VERSION 3  Click to view document history
Created on: Mar 1, 2010 8:20 AM by Zenoss API - Last Modified:  Mar 1, 2010 8:34 AM 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. Select the template to which you want to add the data source.

  2. From the DataSources list of options, select Add Datasource.

    The Add DataSource dialog appears.

     

    Figure 56.10. Add Data Source

    Add Data Source

  3. Select the VMware data source from the list of options.

  4. Enter or select values to create the data source:

    Event Key - Not used.

    Severity - Not used.

    Group, Counter, and Roll-up 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)