IBM Tivoli Monitoring, Version 6.2.2 Fix Pack 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, a list of specified system types, a specified object name, or a listfile containing object names. You must log in by using the login command before running the bulkimportsit command.

CLI syntax

tacmd bulkImportSit
                      [-p|--path SITUATIONFILEPATH ]
                      [-t|--type| --types TYPE]
                      [-n|--names SITUATIONNAMES]
                      [-l|--listfile SITUATIONFILENAME]
                      [-d|--distribution]
                      [-f|--force]

where:

-p|--path
Specifies the path name from where the objects are imported. The XML files for import should be made available in SITUATIONFILEPATH\Bulk\SITUATION\Productcode\ directory. The following example would import files from C:\temp\Bulk\SITUATION\NT\:
tacmd bulkimportsit -p C:\temp -t NT
-t|--type| –types
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 codes.
-n|--names
One or more object names. Specify a list of object names to import.
-l --listfile
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 confirmation.
-d|--distribution
Imports the distribution list of the situations along with the other details.

CLI example

For Windows® systems, this command imports all situations from the application type subdirectories (NT, UX, and so on) under the path C:\temp\Bulk\Situation\ directory into the Tivoli Enterprise Monitoring Server that the user is logged on to. 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.

This example imports the situation NT_Service_Error with its distribution.

Note:
This imports the distribution only if the situation was previously exported by specifying the -d option.
   tacmd bulkimportsit -n NT_Service_Error -d

Return values

See Table 6.

Related commands

Return to Table 1.


[ Top of Page | Previous Page | Next Page ]