Importing metadata XML or CSV configuration file via RTM Console
You can import a metadata configuration file in XML or CSV format. You can import through
the RTM
console or through command line
Importing through the console
About this task
Follow this procedure to import a metadata configuration file through the RTM
console.
Procedure
-
Click the Console tab.
-
Under the Configuration section of the Console menu bar, click Metadata
Settings.
-
Click Browse to open the metadata configuration XML or CSV file you want
to load.
-
Click Import.
Only XML or CSV files with properly-defined metadata configuration can be loaded.
Importing through the command line
About this task
Follow these examples to import a metadata configuration file through the RTM command
line.
Procedure
-
To import an XML configuration file:
php /opt/cacti/plugins/meta/metadata_cli.php –c –f <filename>
-
To import a CSV file:
php /opt/cacti/plugins/meta/metadata_cli.php –l –t <object_type> -f <filename>