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, a list of specified system
types, a specified situation name, or a listfile containing situation
names. You must log in by using the login command
before running the bulkexportsit command.
CLI syntax
tacmd bulkExportSit
[-p|--path SITUATION_FILEPATH ]
[-t|--type| --types TYPE]
[-n|--names SITUATIONNAMES]
[-d|--distribution]
[-h|--historical]
[-f|--force]
tacmd bulkExportSit
[-p|--path SITUATION_FILEPATH ]
[-l|--listfile] FILENAME
[-d|--distribution]
[-h|--historical]
[-f|--force]
where:
- -t|--type| --types
- One or more system types. Specify a two-digit character code
of the system type name to export situations to. Specify 'Others'
to export situations that are not related to any of the two-digit
product code.
- -l|--listfile
- Specifies the file name which contains the list of situation
names to export.
- -n|--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 either the environmental
variable BULK_OBJECT_PATH or the current path.
- -f|--force
- Exports the situation files without prompting for a confirmation
from the user.
- -d|--distribution
- Exports the distribution list of the situations along with other
details.
- -h|--historical
- Exports only the collections, which are historical situations.
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
This command exports all the NT situation details along
with their distribution details to multiple xml files in the
C:\IBM\ITM\BIN\Bulk\Situation\NT directory.
tacmd bulkExportSit -t NT –d -f
Related commands
Return to Table 1.