The dpmce ceconfig -configuremetric command lets you add, change, and delete metrics on a host.
This command has the following format:
dpmce ceconfig -configuremetric [-sc sc_url] -host_name hostname -operation add|delete -sourceType 3 -metricname metricname -metric_type metrictype -metric_subtype metricsubtype -metric_instance metricinstance [-metric_method exact|complement] [-metric_datatype metricdatatype] [-lower_threshold lowerthreshold] [-upper_threshold upperthreshold] [-metric_enabled metricenabled] [metric_update yes|no][-ws_user username -ws_password password][-locale iso629value]
(Optional) Defines the URL for the service controller host.
Example: https://hostname:port/...
Defines the fully qualified host where the service controller is installed.
Example: localhost.ca.com
Defines the listening port for the service controller server.
Example: 80
Defines the name of the host computer.
Adds or deletes an alias (-setalias) or metric (-configuremetric).
Defines the source for collecting metrics. Valid entries: 1 = System Metrics (Performance Lite metrics), 3 = collection from SNMP interface.
Defines a name for the metric.
The MIB name followed by the symbolic name of the metric.
Defines the MIB Object Identifier (OID) that uniquely identifies managed objects.
The column number for collecting data.
Defines the methods for calculation and collection. Valid entries:
complement_delta = uses the difference between consecutive values in a complementary way. Example: CPU Total Idle.
Defines the data type for the metric. Valid entries: integer, floating-point, or double.
Defines the lower overall usage threshold for the Data Center. The lower threshold must always be less than the upper threshold.
Limits: 0-100%
Defines the upper overall usage threshold for the Data Center. The upper threshold must always be greater than the lower threshold.
Limits: 1-100%
Defines if the metric is enabled for collection. Valid entries: yes or no.
Defines whether the metric is updated in the database. Valid entries: yes or no.
(Optional) Specifies the credentials to use for the web service security check. If you do not include credentials, you are prompted to enter them. Avoid the prompt for credentials by setting up your own session using caaipsecurity.
(Optional) Specifies an IS0 639_3166 combination to override the default English output, for example, fr_FR for French. To use the locale of the command prompt, specify "native".
Example: Configure Metric for Data Collection
This example adds metric configuration data for the host.
dpmce ceconfig -configuremetric -host_name SOL1054 -operation add -sourceType 3 -metricname SysEDGE.loadAverage15Min -metric_type SysEDGE.loadAverage15Min -metric_subtype 1.3.6.1.4.1.546.1.1.7.8.28.0 -metric_method exact -metric_update yes -ws_user admin -ws_password admin
Copyright © 2013 CA. All rights reserved. |
|