IBM Tivoli Monitoring, Version 6.3

tacmd importQueries

Description

Use the tacmd importQueries command to import Tivoli Enterprise Portal queries from an XML file to the Tivoli Enterprise Portal Server.
Note: If you want to use the current tacmd tepsLogin values for username, password, and server hostname, do not enter any of these options for the importQueries command. If you specify values for some, but not all of these options, you are prompted to specify the username and password if they are missing.

CLI syntax

tacmd importQueries
                       {-x|--xmlFile} XMLFILE
                       [{-u|--username} TEPS_USER]
                       [{-p|--password} TEPS_PASSWORD]
                       [{-s|--server} TEPS_HOST[:PORT]]
                       [{-f|--force}]

            

where:
-x|--xmlFile
Specifies the name of the XML file accessible to the local file system where the query definitions are imported from. The file name can either be a relative or absolute file name.
-s|--server
Specifies which Tivoli Enterprise Portal Server to use.
-u|--username
Specifies the identifier of the user to authenticate to the Tivoli Enterprise Portal Server. The user must have 'Modify' permissions for the 'Query' object enabled on the server to execute the importQueries command. The 'Modify' permission for the 'Query' object is disabled by default for most users. The software prompts you for the username if you do not specify one.
-p|--password
Specifies the password of the user to authenticate to the Tivoli Enterprise Portal Server. The software prompts you for the password if you do not specify one.
-f|--force
Imports the queries without confirmation.

CLI example

The following example imports all the specified queries from the file importQueries.xml to the Tivoli® Enterprise Portal Server on HDCHASDSTC0420:

tacmd importqueries -x importQueries.xml -s HDCHASDSTC0420 -u sysadmin -p ***** -f

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback