Use the itmcmd agent command to start and stop a monitoring agent. You can start or stop one agent, all agents, or multiple agents. You can also start the portal server and portal desktop client using this command.
You must run the itmcmd agent command on the architecture for which the agent is installed.
To start or stop agents for distributed database agent, see itmcmd dbagent. However, the itmcmd agent command can start and stop agents for distributed databases, it just cannot select monitors for individual database servers or activate debugging options.
itm_install/bin/cinfo -r
If the agent is using root, and that is not the desired user ID, then use the following steps to restart the agent:
If the agent was running as root because of a system reboot, then edit the startup file using the following steps so that the appropriate user ID is used the next time the system is rebooted:
The location of the startup file is platform dependent as follows:
/usr/bin/su - instancename -c "install_dir/bin/itmcmd agent -h install_dir -o instancename start product_code"Where:
Examples:
su - USER -c " /opt/IBM/ITM/bin/itmcmd agent -o INSTANCE start agent_code"Where:
/bin/su - USER -c " /opt/IBM/ITM/bin/itmcmd agent -o INSTANCE start agent_code >/dev/null 2>&1"Where:
where:
See cinfo to identify the product code for an agent or component.
itmcmd agent -p INST1 -f stop um
Also use this option to take action on an IBM Tivoli Monitoring installation directory other than the one in the current system.
Safe mode invokes the JRE with the -nojit option (no just-in-time compiler). If you encounter a Java™ failure error, try running the command as before, but also specifying the -s option.
The following example starts the Universal Agent:
itmcmd agent start um
The following example stops a non-default instance (inst1) of the Universal Agent:
itmcmd agent -p INST1 stop um
The following example starts the portal server:
itmcmd agent start cq
An exit status of 0 indicates that the command ran successfully. An exit status greater than 0 indicates that there was a failure in the process.
"** Process terminated by user **"
cinfo (to determine the product codes for agents and components)
[ Top of Page | Previous Page | Next Page | Contents | Index ]