How to Install Hyperic Agent on Xenserver 5
The 64 bit package does not work, it throws the following error
Download the 386 package
wget http://nchc.dl.sourceforge.net/sourceforge/hyperic-hq/hyperic-hq-agent-4.0.2-939-x86-linux.tgz
untar it
tar xvfz hyperic-hq-agent-4.0.2-939-x86-linux.tgz
Open port 2144 in iptables on the xenserver so the Hyperic agent can communicate with the Hyperic server.
vi /etc/sysconfig/iptables
enter the following
-A RH-Firewall-1-INPUT -p tcp -m tcp –dport 2144 -j ACCEPT
restart firewall
service iptables restart
run the start script for Hyperic Agent
/opt/hyperic-hq-agent-4.0.2/bin/hq-agent.sh
To add the xenserver as a resource in the Hyperic server you will need to do the following.
(see instructions at http://support.hyperic.com/display/hypcomm/Citrix+XenServer for more indepth instructions.
- Goto resources
- Delete the Xenserver that was added automatically when you started the Hyperic Agent.
- Click on Tools Menu and select New Platform.
- Enter the info to add it as a resource.
- Click and go into the resource you have just created.
- Click on Tools Menu and select Configure Platform
- Enter something like http://yourhost.com:80 in URL
- platform.uuid = xenserver name
- Enter your username and password for the xenserver management tool.
- Save it.
Thats it.
Update – After installing and playing around I have found that the agent does not collect data on CPU or RAM for Xenserver 5.0 host or VM’s, this works only for Xenserver 4. An update is slated for sometime in 2009.



































