Tivoli Monitoring, Version 6.2

tacmd bulkExportSit

Description

Use the tacmd bulkExportSit command to export all the available situations from the Tivoli Enterpriseā„¢ Monitoring Server. You can filter for a specified system type, for a list of specified system types, for a specified situation name, or for a listfile containing situation names. You must log in using the login command before running the bulkexportsit command.

CLI syntax

tacmd bulkExportSit  [-p|--path situation_filepath ]
                   [-t|--type| --types type]
                   [-n|--names situation_names]
                   [-f|--force]

tacmd bulkExportSit  [-p|--path situation_filepath ]
                   [-l|--listfile] file_name
                   [-f|--force]

where:

-t|--type types
Specifies the application two digit code or 'Others'. All the situations with affinity value that does not correspond to a specific two digit code would be classified under 'Others'.
-l --listfile file_name
Specifies the file name which contains the list of situation names to export.
-n|--names situation_names
Specifies the list of situation names to export.
-p|--path
Specifies the path name where the situation XML files are to be created. If not specified, picks from: 1) the environmental variable BULK_OBJECT_PATH 2) the current path.
-f|--force
Exports the situation files without prompting for a confirmation from the user.

CLI example

This command exports all situations for the "NT" application type to multiple files in the C:\IBM\ITM\BIN\Bulk\Situation\NT directory. The file name for each exported situation corresponds to the situation name with ".xml" extension . The path C:\IBM\ITM\BIN\ would be picked up from the BULK_OBJECT_PATH environment variable; if BULK_OBJECT_PATH is not defined in the environment, the current working directory would be used.

   tacmd bulkExportSit -t NT -f

Return values

See Table 2.




Feedback

[ Top of Page | Previous Page | Next Page | Contents | Index ]