VMware Cloud Community
Colombia_hyperi
Contributor
Contributor

Unable to connect agent with hq-server

I have two machines on the same network. One has the hq-agent and the other has the hq-server. When I run >hq-agent.exe Start and input the hq-server IP I get the following error: "Testing insecure connection ...Failure"

I am able to connect the agent running on the same hq-server, but when I install the agent on a different machine, I am not able to make the connection.

What am I missing here?
0 Kudos
3 Replies
cwitt_hyperic
Hot Shot
Hot Shot

Just based on the success installing the agent on the machine running the server, I would look for a firewall rule problem somewhere if general network connectivity between the two machines is working. The agent needs to be able to talk to port 7080 on the server, and the server needs to be able to talk to port 2144 on the agent if you used installation defaults. Can you provide a little more information about your environment? Sounds like you are trying to install a Windows agent on the box giving your problems. What OS are you using for the server?

Do the [install_path]/log/agent.log on the failing installation, or the [install_path]/logs/server.log files provide any indication about what may be going on?
0 Kudos
Colombia_hyperi
Contributor
Contributor

I am running the Server on an IBM Thinkpad with Windows XP Professional. Here are the logs form the agent machine:

2007-01-11 14:22:59,423 INFO [AgentCommandsServer] Agent commands loaded
2007-01-11 14:22:59,502 INFO [AgentDaemon] Agent starting up
2007-01-11 14:23:00,033 INFO [ProductPluginManager] Loading plugin: system-plugin.jar
2007-01-11 14:23:00,486 INFO [ProductPluginManager] Loading plugin: netservices-plugin.jar
2007-01-11 14:23:00,705 INFO [MeasurementPlugin] Register TCP Socket proxy for domain: socket
2007-01-11 14:23:00,705 INFO [MeasurementPlugin] Register HTTP proxy for domain: http
2007-01-11 14:23:00,705 INFO [MeasurementPlugin] Register HTTP proxy for domain: url.availability
2007-01-11 14:23:00,705 INFO [MeasurementPlugin] Register FTP proxy for domain: ftp
2007-01-11 14:23:00,705 INFO [ProductPluginManager] Loading plugin: sqlquery-plugin.jar
2007-01-11 14:23:00,767 INFO [SQLQueryMeasurementPlugin] Registered proxy for domain: sql
2007-01-11 14:23:00,767 INFO [ProductPluginManager] Loading plugin: activemq-plugin.xml
2007-01-11 14:23:00,877 INFO [ProductPluginManager] Loading plugin: apache-plugin.jar
2007-01-11 14:23:01,236 INFO [ProductPluginManager] Loading plugin: bind-plugin.jar
2007-01-11 14:23:01,283 INFO [ProductPluginManager] Loading plugin: db2-plugin.jar
2007-01-11 14:23:01,767 INFO [ProductPluginManager] Loading plugin: dotnet-plugin.jar
2007-01-11 14:23:01,939 INFO [ProductPluginManager] Loading plugin: exchange-plugin.jar
2007-01-11 14:23:02,314 INFO [ProductPluginManager] Loading plugin: geronimo-plugin.xml
2007-01-11 14:23:02,376 INFO [ProductPluginManager] Loading plugin: hqagent-plugin.jar
2007-01-11 14:23:02,439 INFO [ProductPluginManager] Loading plugin: iis-plugin.jar
2007-01-11 14:23:02,626 INFO [ProductPluginManager] Loading plugin: iplanet-plugin.jar
2007-01-11 14:23:03,251 INFO [iPlanetMeasurementPlugin] Defaulting to 6.1, loading: webserv61.mib
2007-01-11 14:23:03,314 INFO [ProductPluginManager] Loading plugin: jboss-plugin.jar
2007-01-11 14:23:03,751 INFO [ProductPluginManager] Loading plugin: jmx-plugin.xml
2007-01-11 14:23:03,814 INFO [ProductPluginManager] Loading plugin: memcached-plugin.jar
2007-01-11 14:23:03,861 INFO [ProductPluginManager] Loading plugin: mqseries-plugin.jar
2007-01-11 14:23:03,986 INFO [ProductPluginManager] Loading plugin: mssql-plugin.jar
2007-01-11 14:23:04,111 INFO [ProductPluginManager] Loading plugin: mule-plugin.jar
2007-01-11 14:23:04,189 INFO [ProductPluginManager] Loading plugin: mysql-plugin.jar
2007-01-11 14:23:04,470 INFO [ProductPluginManager] Loading plugin: nagios-plugin.jar
2007-01-11 14:23:04,533 INFO [ProductPluginManager] Loading plugin: netdevice-plugin.jar
2007-01-11 14:23:05,064 INFO [ProductPluginManager] Loading plugin: ntds-plugin.jar
2007-01-11 14:23:05,126 INFO [ProductPluginManager] Loading plugin: ntp-plugin.jar
2007-01-11 14:23:05,173 INFO [ProductPluginManager] Loading plugin: oracle-plugin.jar
2007-01-11 14:23:05,423 INFO [ProductPluginManager] Loading plugin: postfix-plugin.jar
2007-01-11 14:23:05,470 INFO [ProductPluginManager] Loading plugin: postgresql-plugin.jar
2007-01-11 14:23:05,595 INFO [ProductPluginManager] Loading plugin: resin-plugin.xml
2007-01-11 14:23:05,673 INFO [ProductPluginManager] Loading plugin: servlet-plugin.jar
2007-01-11 14:23:05,970 INFO [ProductPluginManager] Loading plugin: sybase-plugin.jar
2007-01-11 14:23:06,095 INFO [ProductPluginManager] Loading plugin: vmware-plugin.jar
2007-01-11 14:23:06,298 INFO [ProductPluginManager] Loading plugin: weblogic-plugin.jar
2007-01-11 14:23:07,595 INFO [ProductPluginManager] Loading plugin: websphere-plugin.jar
2007-01-11 14:23:08,142 INFO [AgentDaemon] Product Plugin Manager initalized
2007-01-11 14:23:08,142 INFO [AgentCommandsServer] Agent commands started up
2007-01-11 14:23:08,158 INFO [AutoinventoryCommandsServer] Autoinventory Commands Server started up
2007-01-11 14:23:08,283 INFO [CommandsServer] Commands Server started up
2007-01-11 14:23:08,298 INFO [SenderThread] Maximum metric batch size set to 500
2007-01-11 14:23:08,314 INFO [MeasurementCommandsServer] Measurement Commands Server started up
2007-01-11 14:23:08,501 INFO [AgentDaemon] Agent started successfully
2007-01-11 14:23:10,923 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 15 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:23:25,938 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 22 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:23:48,437 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 33 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:24:22,186 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 50 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:25:12,809 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 75 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:26:28,744 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 113 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:28:22,630 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 170 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:31:13,483 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 256 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:35:29,770 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 384 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:41:54,177 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 576 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
2007-01-11 14:51:30,795 ERROR [AutoinventoryCommandsServer] Unable to send autoinventory platform data to server, sleeping for 864 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
0 Kudos
cwitt_hyperic
Hot Shot
Hot Shot

If you have already got the agent installed as a service and started, you will want to stop it through the Windows Service Control Panel. You may then want to reinitialize the agent configuration by running:

hq-agent.exe setup

It will ask you for the configuration information again, and then should successfully connect to the server. If it still does not work, and you are running SP2 on your Windows XP box, you may want to verify the firewall is turned off, or is allowing connections to the ports being used by HQ.
0 Kudos