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 options. 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:
itmcmd config -S
-t tems_name
[-h install_dir]
[-p silent_response_file]
[-r ]
[-y ]
[-a arch]
itmcmd config -S
-t tems_name
-u
pc
[-h install_dir]
itmcmd config -S
[-t tems_name]
[-h install_dir]
[-g]
Use the following syntax to configure a monitoring agent:
itmcmd config -A
[-h install_dir]
[-p silent_response_file]
[-r ]
[-y ]
[-a arch]
[-t agent_host_name]
pc
itmcmd config -A
[-h install_dir]
[-p silent_response_file]
[-r ]
[-y ]
[-a arch]
[-o instance_name]
pc
itmcmd config -A
[-h install_dir]
[-g]
pc
Use the following syntax to configure the Tivoli Enterprise Monitoring Server Automation Server:
itmcmd config -A as
where:
Use the following syntax to configure an Oracle agent:
itmcmd config -A
or
[-h install_dir]
[-o "servername,userid,pwd"]
itmcmd config -A hd
itmcmd config -A sy
Also use this option to take action on an IBM Tivoli Monitoring installation directory other than the one in the current system.
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. (Optional)
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.
Return to Table 1.