IBM Tivoli Monitoring, Version 6.3

tacmd listQueries

Description

Use the tacmd listQueries command to display a list of Tivoli® Enterprise Portal queries on the Tivoli Enterprise Portal Server. You can optionally filter the list by query names or product codes. The query name and product code are displayed for each query.
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 listQueries 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 listQueries
                      [{-u|--username} TEPS_USER]
                      [{-p|--password} TEPS_PASSWORD]
                      [{-s|--server} TEPS_HOST[:PORT]]
                      [{-q|--query} QUERY ... ]
                      [{-t|--type} TYPE ... ]
                      [{-e|--exclude} ]
            

where:
-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.
-q|--query
Specifies the names of one or more queries to display.
-t|--type
Specifies an IBM® Tivoli Monitoring product type code. If a 2-character type is entered, the letter 'k' will be prepended automatically to form a 3-character product type code.
-e|--exclude
Excludes the specified query names and also product types from the list operation.

CLI example

The following example displays a list of queries on the Tivoli Enterprise Portal Server at HDCHASDSTC0420:

tacmd listQueries -s HDCHASDSTC0420 -u sysadmin -p *****

Return values

See Table 1.

Related commands

Return to Table 1.



Feedback