VMware Cloud Community
Morten_hyperic
Contributor
Contributor

agent connection exception

I installed the server and agent on a win 2003 box and now am getting these errors, any ideas or hints?


The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Unable to connect to SNMP Agent

2006-11-15 17:35:38,531 ERROR [SSLConnectionListener] Rejecting client from /127.0.0.1: Passed an invalid auth token (1163631170483-3689340132681481088-1237218284925969521)
2006-11-15 17:35:38,547 ERROR [CommandListener] Failed handling new connection
org.hyperic.hq.agent.AgentConnectionException: Client from /127.0.0.1 unauthorized
Reply
0 Kudos
3 Replies
Morten_hyperic
Contributor
Contributor

here is the agent status
C:\hyperic\agent-2.7.5>hq-agent.exe status
Server IP address: 127.0.0.1
Server port: 7080
Agent listen port: 2144

Reading throught the forum, I wonder if it is because I do not have admin right to the computer and am not allowed to connect to port 161?

The configuration has not been set for this resource due to : Invalid configuration: Error contacting resource: Unable to connect to SNMP Agent (127.0.0.1:161 v2c,public)
Reply
0 Kudos
Morten_hyperic
Contributor
Contributor

I set the snmp to version 3 and got:

The configuration has not been set for this resource due to : Invalid configuration: Error reported by Agent @ 10.160.152.213:2144: java.lang.UnsupportedOperationException: v3 snmp4j support not yet

So it loook like contact to the agent is established but the agent is not allowed to use port 161, maybe??
Reply
0 Kudos
john_hyperic
Hot Shot
Hot Shot

You're going to have to take a step back. I'm not clear on what's
happening. Exactly what are you trying to do? Are you having problems
with the HQ Agent in general or are you having problems contacting a
network device or something over SNMP?

This error:

2006-11-15 17:35:38,547 ERROR [CommandListener] Failed handling new
connection
org.hyperic.hq.agent.AgentConnectionException: Client from /127.0.0.1
unauthorized

Looks like it's from the agent.log and is saying that the HQ Agent is
rejecting an unauthorized connection. This would happen if an HQ Server
that this agent is not configured to communicate with tries to contact
the agent.

This error:

The configuration has not been set for this resource due to : Invalid
configuration: Error contacting resource: Unable to connect to SNMP
Agent (127.0.0.1:161 v2c,public)

Looks like it's from the HQ GUI and appears to be a problem setting up
an SNMP resource.

These are two different problems. Please explain exactly what you are
trying to do and exactly what behavior you're seeing.

Reply
0 Kudos