import_template
Imports a monitoring template from an XML or zip file. The resulting definition is saved in the repository.
Format
emcli import_template -files="file1;file2;..."
Options
-
files
Path/file name of an XML file, which contains a valid template definition. You can specify multiple files with this option by separating each file with a semi-colon ( ; ).
Examples
Example 1
This example imports a template from template.xml
.
emcli import_template -files="template.xml"
Example 2
This example imports three templates — one from each of the files specified.
emcli import_template -files="e1.xml;e2.xml;e3.xml"