vRealize Operation Endpoint Agent Unable to register error

When you install a vRealize Operation Endpoint Agent and then check status of Agent You will see similar message on screen: “Agent not yet setup”

You can check status of agent if you browse by CMD (run as administrator) the agent’s folder (default on Windows it is “C:\ep-agent\”) and go “bin” folder.

There are two files. In Windows environment you can select “ep-agent.bat” and write after that “status” command as you can see in picture below.

ep-agent.bat status result is “Agent not yet setup”

Start and stop agent or restart the agent follow the commands below:

“c:\ep-agent\bin\ep-agent.bat stop”
“c:\ep-agent\bin\ep-agent.bat start”

or

“c:\ep-agent\bin\ep-agent.bat restart”

start / stop agent or restart

End of process you will see this message: “Unable to register the agent due to server error.”

Login to Node (in this case we use Remote Collector) by SSH and go
“cd /storage/log/vcops/log/adapters/EndPointAdapter/”

In this folder you can find logs of End Point Adapter: EndPointAdapter_XXX.log

SSH

If you don’t confort with command line, you can find this log on vRealize Operation UI under “Administration/Support/Logs”
Open Node or Remote collector and browse this path: “Collector/Adapters/EndPointAdapters/EndPointAdapter_148.log”
Double click the log file and top of the logs click narrow next “Word Wrap”
Fill the “Search For” option by failed or ERROR text and hit enter.

GUI

2020-01-23 15:30:58,570 ERROR [http-nio-127.0.0.1-8877-exec-2] (148) com.vmware.vcops.aim.agent.webserver.AgentAdapterController.handleCommand – Error when executing the agent command REGISTERAGENT Token:1579787033467-1288668644369240284-1905636990515871091. Failed to create agent instance. Reason:Failed to create resource: message=ResourceKind is not found: {adKind=EP Ops Adapter, resKind=EP Ops Agent}, localizedMessage=ResourceKind is not found: {adKind=EP Ops Adapter, resKind=EP Ops Agent}, code=0; message=resourceKind is null for resourceKind Key: EP Ops Agent and adapterKind Key: EP Ops Adapter, code=0 [905] com.vmware.vcops.aim.exception.AgentAdapterException: Token:1579787033467-1288668644369240284-1905636990515871091. Failed to create agent instance. Reason:Failed to create resource: message=ResourceKind is not found: {adKind=EP Ops Adapter, resKind=EP Ops Agent}, localizedMessage=ResourceKind is not found: {adKind=EP Ops Adapter, resKind=EP Ops Agent}, code=0; message=resourceKind is null for resourceKind Key: EP Ops Agent and adapterKind Key: EP Ops Adapter, code=0

Fortunately the solution is really simple, just enable Operating Systems solution in vRealize Operation 🙂
“Administration/Solutions/” under Native management packs

ACTIVATE Operating Systems / Remote Service Monitoring

2 thoughts on “vRealize Operation Endpoint Agent Unable to register error

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.