Use the itmcmd config command to configure or reconfigure the execution environment for an agent or server, including the following IBM Tivoli Monitoring items:
You can only configure one product at a time. If you reconfigure a monitoring server, you must stop and restart that monitoring server before the changes take effect.
The itmcmd config command prompts for input for the required parameters. Scripts are located in the install_dir/bin directory where install_dir is the directory into which you installed IBM Tivoli Monitoring.
On UNIX® or Linux® only, add the same variable and location to the kbbenv.ini file located in itm_installdir/config/kbbenv.ini. If you do not add the variable to the kbbenv.ini file, it is deleted from the KBBENV file the next time the monitoring server is re-configured.
Use the following syntax to configure a monitoring server:
Use the following syntax to configure a monitoring agent:
Use the following syntax to configure an Oracle agent:
where:
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.
This parameter enables you to configure an agent and a monitoring server for an architecture other than the one that you are on. For example, if you are on AIX® and want to configure for Solaris computer, then this option is required. Otherwise the default is the computer you are on.
The following example configures the monitoring server ms1:
itmcmd config -S -t hub_ms1
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.
[ Top of Page | Previous Page | Next Page | Contents | Index ]