Book Image

Oracle Enterprise Manager Grid Control 11g R1: Business Service Management

Book Image

Oracle Enterprise Manager Grid Control 11g R1: Business Service Management

Overview of this book

Table of Contents (16 chapters)
Oracle Enterprise Manager Grid Control 11gR1: Business Service Management
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface

Service metric creation using command line


As discussed in Chapter 4, OEM Grid Control provides command-line tools to create, modify, and remove the targets. The most common command line tool available for target-related configuration is emcli. The emcli is shipped as part of the OEM Grid Control installable and is available under the bin directory of the OMS.

emcli set_metric_promotion verb

The emcli command-line script provides an easy way to promote metrics of system component targets as well as service tests from various beacons as metrics of the associated service target using the verb set_metric_promotion.

The syntax for the set_metric_promotion keyword for promoting a system component-based metric is as follows:

emcli set_metric_promotion -name=<ServiceName> -type=<ServiceType> -category=<PromotedMetricCategory> -basedOn=system -aggFunction=<Function> -promotedMetricKey=<MetricName> -depTargetType=<TargetType>
-column=<MetricColumn> -metricName...