vRealize Hyperic Agent - could not send plugin status to server.

By | May 11, 2015

Recently I have been doing a POC of vRealize Operations Manager. During the installation of Hyperic Agents on Windows Machines, I got problems with auto-discovery agents by Hyperic Server. In the agent.log I could find the following error:

21-04-2015 08:56:24,573 CEST INFO [autoinventory-scanner] [AutoinventoryCommandsServer@367] no resource is auto approved
21-04-2015 08:56:24,573 CEST ERROR [autoinventory-scanner] [AutoinventoryCommandsServer@280] Unable to send autoinventory platform data to server, sleeping for 15 secs before retrying. Error: Unable to communicate with server -- provider not yet setup
21-04-2015 08:56:26,010 CEST WARN [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry: java.lang.NullPointerException
21-04-2015 08:56:31,010 CEST WARN [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry: java.lang.NullPointerException
21-04-2015 08:56:36,015 CEST WARN [PluginStatusSender] [AgentDaemon@776] could not send plugin status to server, will retry: java.lang.NullPointerException

I followed KB here about above error but it did not help. I got problems only on clustered windows machine. After investigating, I realized that Hyperic Agent tries to connect to the Hyperic Server via incorrect network card (there were some network cards with IP addresses). There are two ways to install Hyperic Agent:

  • vRealize Hyperic 5.8.4 Agent -Windows installer (.exe)
  • vRealize Hyperic 5.8.4 Agent - Windows (.zip)

HQ agent took another interface (exactly the cluster hearbeat) and HQ Server could not contact with HQ Agent. I used the Windows Installer but unfortunately, the installer does not support to specify what IP (network card) should HQ use to contact the agent. To specify IP address/interface, you need to install vRealize Hyperic Agent manually (using the zip file) as shown on the below figure:

vRealize Hyperic Agent - could not send plugin status to server

vRealize Hyperic Agent - could not send plugin status to server