To deploy an OS agent from the command-line interface,
use the tacmd createNode command.
For example, the following command deploys the UNIX OS monitoring agent on the server1.ibm.com
computer in the /opt/IBM/ITM directory. The installation is done as
the root user. The option property
EXECPREREQCHECK=Y performs
a prerequisite check on the agent. For more information, see
Prerequisite Scanner for IBM Tivoli Monitoring agents.
tacmd createNode -h server1.ibm.com -d /opt/IBM/ITM -u root -o EXECPREREQCHECK=Y
Important: Unless you specifically indicate
otherwise, the agent that you deploy using this command assumes that
the monitoring server to which it connects is the monitoring server
from which you run the command. The agent also uses the default settings
for the communications protocol (IP.PIPE for protocol type and 1918
for the port). To change these default values (especially if you are
not using the IP.PIPE protocol), use the following property (specified
with the -p parameter) when running the command:
SERVER=[PROTOCOL://][HOST|IP][:PORT]. For example, SERVER=IP.PIPE://server1.ibm.com:1918.
The tacmd createNode command
contains the optional –k group parameter. Passing
the -k parameter when you remotely deploy an OS agent
will execute the secureMain utility at the end of the deployment process
to secure your IBM® Tivoli® Monitoring environment. For more information,
see Securing your IBM Tivoli Monitoring installation on Linux or UNIX.
For the full syntax, including parameter descriptions, see the IBM Tivoli Monitoring Command Reference.