5.6

Table Of Contents
Table 11-8. template import Command Options
Option Description
--force
Use this option to import the dashboard template even if a
dashboard template with the same name already exists on
the target system.
NOTE This option can cause the command to create a
duplicate dashboard tempate on the target system.
--share all | group-name[,group-name] List of user groups that can share the dashboard template on
the target system. Separate multiple names with a comma.
To share the dashboard template with all user groups, type
all instead of individual user group names.
--retry maxRetryMinutes 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
dashboard template when you initiate the command.
Example
The following template import command imports a dashboard template file named
templates\MyTemplate.bin and shares it with all existing user groups. If the required information is not
available when you initiate the command, the command retries the import operation at one-minute intervals
for up to 10 minutes.
dbcli.sh template import "templates\MyTemplate.bin" --retry 10 -share all
template export Command
You can use the template export command to export a dashboard template from a
vCenter Operations Manager instance. When you export a dashboard template,
vCenter Operations Manager creates a dashboard template file in Java binary object (.bin) format.
Command Syntax
The template export command has the following syntax.
template export "
template-name
" [
output-dir
]
template-name
is the name of the dashboard template to export. If the dashboard template does not exist, the
command fails.
output-dir
is the directory where the command exports the dashboard template file. If you do
not provide an output directory name, the command exports the dashboard template file to the current
directory.
Command Example
The following template export command exports a dashboard template named MyTemplate to a file named
MyTemplate.bin in the tools\dbcli\templates directory.
dbcli.sh template export "MyTemplate" templates
template share Command
You can use the template share command to to share a dashboard template with one or more user groups.
Command Syntax
The template share command has the following syntax.
VMware vCenter Operations Manager Administration Guide
150 VMware, Inc.