Tivoli Monitoring, Version 6.2

tacmd bulkImportSit

Description

Use the tacmd bulkImportSit command to import all the available objects to the Tivoli Enterprise™ Monitoring Server from BULK_OBJECT_PATH. You can filter for a specified system type, for a list of specified system types, for a specified object name, or for a listfile containing object names. You must log in using the login command before running the bulkimportsit command.

CLI syntax

tacmd bulkImportSit [-p|--path situation_filepaths]
                   [-t|--type| --types| type]
                   [-n|--names situation_names]
                   [-l|--listfile} file_name]
                   [-f|--force]

where:

-p|--path
Specifies the path name from where the objects will be imported. If not specified, picks from: 1) the environmental variable BULK_OBJECT_PATH 2) the current path.
-t|--type type
One or more system types. Specify a two digit character code of the system type name to import objects Specify 'Others' to import objects that do not pertain to any of the two digit product code.
-n|--names situation_names
One or more object names. Specify a list of object names to import.
-l --listfile file_name
Specifies the file name that contains the list of object names to import. Specify the file name without the file name extension. For example, object_name.xml would be object_name.
-f|--force
Imports the objects without user confirmation.

CLI example

For Windows® systems, this command imports all situations from the application type subdirectories (NT, UX, etc...) under the path C:\temp\Bulk\Situation\ directory into the Tivoli Enterprise Management Server that the user is logged into. The command executes without prompting for confirmation because the "-f" option was provided.

   tacmd bulkImportSit -p C:\temp -f

For UNIX® systems, this command imports all the situation objects that are available from the respective product code subdirectories under the path /tmp/Bulk/SITUATION/.

   tacmd bulkimportsit -p /tmp
Note:
SITUATION in the directory path is case sensitive in case of UNIX.

Return values

See Table 2.




Feedback

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