5.8.5

Table Of Contents
Table 136. supermetric import Command Options (Continued)
Option Description
--retry maxRetryMinutes--retry
Maximum amount of time, in minutes, that the command
retries the import operation. The command retries the import
operation at one-minute intervals until it reaches this time limit.
NOTE This option is useful if data is missing from the super
metric when you initiate the command.
--create
Creates missing resources, if any, in the imported configuration.
The following supermetric import command imports the SM1.xml super metric file. If the required
information is not available when you initiate the command, the command retries the import information at
one-minute intervals for up to 10 minutes. The command applies the import information to all super metric
packages and creates missing resources, if any, in the imported configuration.
dbcli.sh supermetric import "SM1.xml" --retry 10 --packages all --check true
Delete a Super Metric
You can use the dbcli supermetric delete command to delete a super metric.
The supermetric delete command has the following syntax.
supermetric delete "supermetric-name"
supermetric-name is the name of the super metric to delete. If multiple super metrics have the same name, the
command deletes all of those super metrics.
The following supermetric delete command deletes the super metric named SM1.
dbcli.sh supermetric delete "SM1"
Threshold Definitions
You can use the --thresholds option to define thresholds in the dbcli attribute configure and
supermetric configure commands. An attribute or super metric can have one or more threshold definitions
within an attribute package or super metric package.
The --thresholds option has the following syntax.
--thresholds {none | "threshold-def[;threshold-def]..."}
none is a special value that removes all existing thresholds. It does not create new thresholds. threshold-def
defines a threshold. Each threshold-def has the following format.
criticality-name,threshold-operator,compare-value,wait-cycle,cancel-cycle
criticality-name
Criticality level of the threshold. Can be one of the following values.
n
critical
n
immediate
n
warning
n
info
n
none
threshold-operator
Numeric operator. Can be one of the following values.
n
>
n
>=
VMware vCenter Operations Manager Administration Guide
166 VMware, Inc.