Change agent registration parameters
To change agent registration parameters (for example, change the server address), perform the following steps:
-
Go to the
conf
folder of the agent installation directory and open the agent.properties file (agent configuration file). -
In the server.host parameter, specify the IP address of the SAYMON server to which the agent should connect. Save the changes and close the file.
-
Restart the agent service.
$ sudo service saymon-agent restart
To regenerate agentId (for example, if you need to connect the agent to another server), delete registration.json and restart the agent service.