A monitored environment with multiple Tivoli® Enterprise Monitoring Servers
can have all or some of the agents connect to remote monitoring servers.
You can change the monitoring server an agent connects to by reconfiguring
it.
About this task
Use one of these options to reassign a monitoring
agent to a different monitoring server:
Procedure
- Use the Manage Tivoli Enterprise Monitoring Services application
on the computer system where the agent is installed. Right-click the
monitoring agent, and click Reconfigure. Click
OK in the first Agent Advanced Configuration window, then enter the Hostname or IP
Address of the monitoring server you want to connect to.
If the port you are using is different from the default 1918, enter
the Port number.
If the agent
is installed on Linux or UNIX you can also use the itmcmd
agent -A <product_code> command to reconfigure.
- Use the tacmd setAgentConnection command
to remotely reconfigure the agent. See the IBM Tivoli Monitoring Command Reference for detailed
information on this command.
- On IBM® Tivoli Monitoring V6.3
or later monitoring servers, use the IBM Tivoli Monitoring login
daemon solution that is available on IBM Service Management Connect.
The login daemon is a tool which handles monitoring agents coming
online, then calls the following customer-provided scripts:
- Select TEMS
- This script returns an indication of what primary and secondary
monitoring servers an agent should be reconfigured to connect to,
if the agent connects to the wrong monitoring server.
- After Login
- This script can be used to perform setup or configuration of an
agent after it has connected to its designated monitoring server.
For example, this script can be used to add an agent to the managed
system groups or scan the system where the agent is installed and
remotely deploy additional agents as needed.
For more information on the login daemon
solution and whether or not it can be used in your environment, see TEMS login policies for agents or
go directly to the IBM Tivoli Monitoring Wiki and
search for "login policies". Note: This solution is only available
through IBM Service Management Connect.
What to do next
When
reconfiguring a Universal Agent to connect to a different monitoring
server, restart all the situations that are distributed to that managed
system. Otherwise, the situations that are set to autostart will fail
to start and an error will occur.