hyperic / hq

Hyperic open source
107 stars 91 forks source link

hq-agent failed to sent data the hyperic agent #17

Open dhrsong opened 7 years ago

dhrsong commented 7 years ago

Version: hyperic-hq-agent-5.0.0

We have 5 pairs of different linux boxes. Each pair has the hq-agent 5.0 installed one one box and the hyperic server running on the other box. I noticed one of the hyperic-servers has no metric data displayed. I suspected its HQ-agent did not send any data to the hyperic server. After checking the hyperic log, I saw the following exceptions were thrown: image.

I tried to some steps to see if I could get HQ-agent to work normally again:

  1. restart the HQ-agent service
  2. restart the linux box that runs HQ-agent.
  3. delete the files form the hyperic-hq-agent-5.0.0/data folder The error still exists after I tried the each step above. I don't have the reproduce steps. Would you provide any clue what might cause the errors?
scottmf commented 7 years ago

Hi, Your best bet is reinitializing the agent. Looks like the your local store was over run or corrupted somehow.

  1. stop the agent
  2. remove the data dir (rm -rf /path/to/agent-xxx/data/)
  3. start the agent