Tailor Metric Collection for a Resource Type

Topics marked with * relate to features available only in vFabric Hyperic.

Metric collection settings for a resource type are configured on the Monitoring Defaults page for the resource type.

Template Changes Vs. Custom Configurations

Note that an authorized user can tailor metric collection settings on a per resource basis (on the resource's Metric Data minitab in the Resource Hub.) When you save changes to the metric collection settings for a resource type on the Monitoring Defaults page, the settings you configure will apply to all resources of that type in inventory. So, any custom metric collection configuration for resources of that type will be overwritten.

Note however, that if a user has chosen a different set of indicator metrics for a resource instance (on the resource's Indicators minitab in the Resource Hub) changing the indicator metrics for a resource type on the Monitoring Defaults page will not override the user's selections.

Navigate to the Monitoring Defaults Page for a Resource Type

  1. Click the Administration tab.

  2. Click Monitoring Defaults in the "HQ Server Settings" section of the Administration tab.

  3. Scroll to the desired resource type on the Monitoring Defaults page, and click Edit Metric Template in that row.

The screenshot below is the Monitoring Defaults page for the vSphere Host resource type.

images/download/attachments/79038211/VsphereHostMonitoringDefaults.png

Enable Collection of a Metric

To enable the collection of a metric, follow the directions in Change a Metric Collection Interval. Collection of the metric is now enabled by default with the specified collection interval on every resource of this type.

Disable Collection of a Metric

To disable the collection of a metric, check the metric name at the left and click Disable Collection at the bottom of the page.

Change a Metric Collection Interval

  1. Check the metric name at the left.

  2. In Collection Interval for Selected at the bottom of the page, enter a time value and select a unit of time measure for the collection interval.

  3. Click the Collection Interval for Selected control at the bottom of the Monitoring Defaults page.

Set Indicator Metrics

To select the indicator metrics for a resource type (indicator metrics are the metrics that are charted on a resource's Indicators minitab in the Resource Hub) check the metric name at the left for each metric you wish to be an indicator, and click the Set Selected Metrics as Indicators control at the bottom of the Monitoring Defaults page.

The metrics you configure will be the default indicators for the resource type.

Changes to indicator metrics apply to existing resources but only for users that have not explicitly changed the default indicator page on the resources (of the specified type). If a user has changed the default indicator page for a resource, that will not be overwritten with changes made here.

APIs for Metric Collection Settings

As an alternative to the updating updating metric collection settings from the Hyperic user interface, you can use Hyperic APIs to perform updates from the command line or from scripts to perform bulk updates:

For general information, see vFabric Hyperic Web Services API.