Hyperic HQ 云应用性能监控服务-代理安装示例

选择amazon ec2为例。

示例的环境: 开放端口 向外访问7443,7080; 向内访问 2144,地址是demo.innovatedigital.com

示例帐号:monitortest, 口令 monitortest

HQ server地址:monitor.innovatedigital.com http端口 7080; ssl端口 7443

uname -a 结果:

Linux ip-10-128-77-125 3.2.30-49.59.amzn1.i686 #1 SMP Wed Oct 3 19:55:00 UTC 2012 i686 i686 i386 GNU/Linux

下载代理程序:http://www.innovatedigital.com/software_download/hyperic-hq-agent-x86-li... 到 amazon ec2实例中。

登录到amazon ec2 ,例如:

ssh -i innovate.pem ec2-user@ec2-54-249-128-253.ap-northeast-1.compute.amazonaws.com

[ec2-user@ip-10-128-77-125 bin]$tar xzvf  hyperic-hq-agent-x86-linux-5.1.0.tar.gz
[ec2-user@ip-10-128-77-125 bin]$cd hyperic-hq-agent-5.1.0/bin
[ec2-user@ip-10-128-77-125 bin]$ ./hq-agent.sh start
Starting HQ Agent...... running (26366).
[ Running agent setup ]
What is the HQ server IP address: monitor.innovatedigital.com
Should Agent communications to HQ always be secure [default=yes]: 
What is the HQ server SSL port [default=7443]: 
- Testing secure connection ... Success
What is your HQ login [default=hqadmin]: monitortest
What is your HQ password: 
What IP should HQ use to contact the agent [default=10.128.77.125]: demo.innovatedigital.com
What port should HQ use to contact the agent [default=2144]: 
- Received temporary auth token from agent
- Registering agent with HQ
The server to agent communication channel is using a self-signed certificate and could not be verified
Are you sure you want to continue connecting? [default=no]: yes
- HQ gave us the following agent token
    1365392579058-9049013219234184846-8237194390810553404
- Informing agent of new HQ server
- Validating
- Successfully setup agent
 
[ec2-user@ip-10-128-77-125 bin]$ 

 打开浏览器,访问 http://monitor.innovatedigital.com:7080 如图

输入monitortest/monitortest 登录

单击 “增加到资源库”将发现的资源添加到资源库中

查看资源库中资源

单击查看每个资源

更多功能,欢迎继续探索。