JON Agent is unable to register with server due to "Server cannot ping the agent's endpoint."
Issue
- When running the rhq-agent.sh install process on the agent to be discovered, I am getting the following error:
The server has rejected the agent registration request. Cause: [org.rhq.core.clientapi.server.core.AgentRegistrationException:Server cannot ping the agent's endpoint. The agent's endpoint is probably invalid or there is a firewall preventing the server from connecting to the agent. Endpoint: socket://jon-agent:16163/?rhq.communications.connector.rhqtype=agent&numAcceptThreads=1&maxPoolSize=303&clientMaxPoolSize=304&socketTimeout=60000&enableTcpNoDelay=true&backlog=200] The agent cannot register with the server. Admin intervention needed! - JON Agent machine is behind a firewall but I have opened up both ports 7080 and 16163 on both the JON Server host and JON Agent host but I continue to get the following error:
The server has rejected the agent registration request. Cause: [org.rhq.core.clientapi.server.core.AgentRegistrationException:Server cannot ping the agent's endpoint. The agent's endpoint is probably invalid or there is a firewall preventing the server from connecting to the agent. Endpoint: socket://jon-agent:16163/?rhq.communications.connector.rhqtype=agent&numAcceptThreads=1&maxPoolSize=303&clientMaxPoolSize=304&socketTimeout=60000&enableTcpNoDelay=true&backlog=200] The agent cannot register with the server. Admin intervention needed! - Failed to install JBoss ON Agent
-
Agent registration is unsuccessful if the host name or IP address used during Agent configuration is invalid, unresolvable, or has no route from the JON Server.
Environment
- Red Hat JBoss Operations Network (JON) 2.3, 2.4, 3.0, 3.1, 3.2, 3.3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.