Tivoli Monitoring, Version 6.2

tacmd login

Description

Use the tacmd login command to log into a monitoring server and create a security token used by subsequent tacmd commands.

Note:
Different warning messages might be returned by this command if the command is run more than once. This command enables you to specify the protocol (http or https), and to default to the correct protocol and server port. The command's connection PROTOCOL defaults to https and then to http if a connection cannot be established using https. Therefore the connection depends on which protocol the Tivoli Enterpriseā„¢ Monitoring Server is running on. If it connects to http, a warning message displays.

CLI syntax

tacmd login {-s|--server} {[protocol://]host[:port]}
             [{-u|--username} username]
             [{-p|--password} password]
             [{-t|--timeout} timeout]

where:

-s|--server [protocol://]host[:port]
Specifies the host name of the Tivoli Enterprise Monitoring Server to log into.
-u|--username username
Specifies the user to authenticate.
-p|--password password
Specifies the password of the user to authenticate.
-t|--timeout timeout
Specifies the maximum number of minutes that can elapse between invocations of tacmd before the user is denied access. The default timeout is 15 minutes. The maximum timeout is 1440 minutes (24 hours).

If a user name and password are not specified, you are prompted for them.

CLI example

This command logs into the Tivoli Enterprise Monitoring Server on pebble.ibm.com with the user ID, administrator, the password, mypassword, and a login expiration time of 1440 minutes.

   tacmd login -s pebble.ibm.com -u administrator -p mypassword -t 1440

Return values

See Table 2.

Related commands

tacmd logout




Feedback

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