5.8.5

Table Of Contents
template delete "template-name"
template-name is the name of the dashboard template to delete.
The following template delete command deletes a dashboard template named MyTemplate.
dbcli.sh template delete "MyTemplate"
Managing Attributes and Super Metrics
You can use dbcli commands to manage attributes and super metrics.
You can also use the Custom user interface to perform attribute and super metric operations. For more
information, see Chapter 4, “Configuring Attribute Packages,” on page 39.
Configure an Attribute
You can use the dbcli attribute configure command to configure properties of an attribute in an attribute
package.
The attribute configure command provides similar functionality to the attribute package editor in the
Custom user interface. For more information, see “Add an Attribute Package,” on page 42.
The attribute configure command has the following syntax.
attribute configure "adapterkind-key:resourcekind-key" "attribute-name" --packages {all |
"package-name[,package-name]..."} --check {true | false} --ht {true | false} --htcriticality
level-name --dtabove {true | false} --dtbelow {true | false} --thresholds {none | "threshold-
def[;threshold-def]..."}
adapterkind-
key:resourcekind-key
Defines the resource kind to configure. The value consists of an adapter kind
key and a resource kind key. If the keys contain spaces, you must enclose the
combination of both values in quotes, for example,
"VMWARE:VirtualMachine".
attribute-name
Hierarchical name of the attribute to configure. Use the metric key naming
convention group_key[|group_key]|attributekind_key, for example, mem|
active_average.
Because the configuration is associated with attribute kinds, the attribute configure command ignores
group instance names.
The attribute configure command has certain options. All of the options are required.
Table 134. attribute configure Command Options
Option Description
--packages {all | "package-name[,package-name]..."}
List of attributes packages to which to apply the operation.
To apply the operation to all existing attribute packages,
type all instead of individual attribute package names. If a
named attribute package does not exist, the command
creates it.
--check {true | false}
Checks or unchecks the attribute for collection in the
specified attribute packages.
--ht {true | false}
Marks or unmarks hard threshold violations of the
attribute as KPI violations.
--htcriticality level-name
Sets the criticality level for hard threshold violations of the
attribute to generate KPI violations.
--dtabove {true | false}
Marks or unmarks violations above the dynamic threshold
of the attribute as KPI violations.
Chapter 13 Using the Database Command Line Interface
VMware, Inc. 163