1>打开hyperic agent的调试模式。
- Stop the Agent.
- Go to the /agent-version-EE/conf directory.
- Set agent.logLevel=DEBUG in the agent.properties file.
- For VMware vFabric Hyperic 4.6 and later, add this to the agent.properties file to decrease overly verbose logging:
log4j.logger.org.hyperic.hq.agent.server.CommandListener=INFO log4j.logger.org.hyperic.util.security.DbKeyStore=INFO log4j.logger.org.hyperic.util.security.MarkedStringEncryptor=INFO log4j.logger.org.hyperic.hq.stats.AbstractStatsWriter=INFO
- Restart the Agent if you are using VMware vFabric Hyperic 4.5 and earlier.
2>在环境中重现出现的问题。
3〉收集日志信息。
--Debug agent log
--Server log for the same timing
--Hq health report
--Navigate to administration--> hq-health--> printand save the file