Archive

Archive for the ‘Monitoring’ Category

Combined Windows Remote Desktop and SSH Tunnel Admin Tool

February 3rd, 2009 No comments

I love Apples remote desktop tool, it was a great all round administration tool. Since I moved away from Macs to Linux and Windows Server I have been looking for a combined tool for both Windows Remote Desktop and SSH sessions.

Found this one, looks interesting – http://www.visionapp.com/vrd09-functionality.html. It has a evaluation for 30 days and then limits some of the functionality.

Categories: General, Monitoring Tags: ,

How to Install Hyperic Agent on Xenserver 5

January 12th, 2009 No comments

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.

  1. Goto resources
  2. Delete the Xenserver that was added automatically when you started the Hyperic Agent.
  3. Click on Tools Menu and select New Platform.
  4. Enter the info to add it as a resource.
  5. Click and go into the resource you have just created.
  6. Click on Tools Menu and select Configure Platform
  7. Enter something like http://yourhost.com:80 in URL
  8. platform.uuid = xenserver name
  9. Enter your username and password for the xenserver management tool.
  10. 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.

Install Hyperic-HQ 4.0.2 rpm on Centos 5.2

January 12th, 2009 No comments

Download the Hyperic rpm

wget http://jaist.dl.sourceforge.net/sourceforge/hyperic-hq/hyperic-hq-installer-4.0.2-1.x86_64.rpm

Install required packages

yum install libXp expect

Install mysql if necessary

Install Hyperic 4.0.2 rpm

rpm -Uhv hyperic-hq-installer-4.0.2-1.x86_64.rpm

Start Hyperic by changing to the hyperic user and using hq-server.sh

su hyperic
/opt/hyperic/server-4.0.2/bin/hq-server.sh start

You can now logon using username – hqadmin, password hqadmin.