To resolve this issue, add an additional directive to the Hyperic Agent configuration file (agent.properties) which over-rides the discovered value and force the use of the desired host name with the correct naming convention.
To edit the agent configuration file on the windows platform:
- Change to the agent_home\bin directory and stop the agent process by running this command:
hq-agent.bat stop
- Change to the agent_home\directory and delete the agent_home\data directory.
- Change to the agent_home\conf directory and edit the agent.properties file.
- Add the following directive as a new line in the file:
platform.name=<correct platform name>
- Change to the agent_home\bin directory and start the agent process by running this command:
hq-agent.bat start
Note:
- Verify that the Hyperic Agent starts and retrieves a token from the Hyperic Server.
- Confirm that the platform name used in the directive matches the desired hostname as presented in the error message.