I was researching on monitoring tools. The aim is to check for a tool that will have a minimum resource consumption on Linux operating system.I found collectd.
Building JVM plugin to the collectd..seems to be much more interesting. The mailing list discussion is at http://marc.info/?l=collectd&r=1&b=200902&w=2
Collectd – the system statistics collection daemon
collectd is a daemon which collects system performance statistics periodically and provides mechanisms to store the values in a variety of ways, for example in RRD-files.”
Ubuntu collectd 4.3.0-1 installation can be installed using apt-get:
# sudo apt-get install collectd
But to get the latest code and build it:
# cd /mnt/projects/
# git clone git://git.verplant.org/collectd.git
# sudo apt-get install flex bison autoconf automake libtool libltdl3-dev
# cd collectd
# sudo ./make && make install
I’m very interested how to write and test Java plugins for collectd, currently it accepts C and Perl for plugins. For the meantime, I still need to read more about the internal structure of the application.
More to learn from collectd and monitoring tools.
“Hyperic HQ: Hyperic HQ is the first software that allows companies to monitor cloud services securely alongside their internal infrastructure. HQ’s unique ability to automatically discover, monitor and manage software services, regardless of type or location, enables companies to easily create a unified view of the performance and health of their applications. With HQ’s fast deployment, enterprise security, and extensibility, organizations have all the tools they need to support the demands of cloud computing.”
Using Hyperic AMI inside EC2, I was able to spin up hyperic
AWS instance and install another separate instance with the Hyperic Agent.
After assigning the static IP for the Hyperic Instance, I need to install the Hyperic agent to one of the exising nodes in our EC2 account.
The commands to show how I install Hyperic agent:
tar -zxvf hyperic-hq-agent-4.0.1-EE-905-x86-linux.tgz
ln -s hyperic-hq-agent-4.0.1-EE agent
Configure to use static IP of the Hyperic HQ Server and the node was discovered inside the Hyperic Dashboard.
See screenshots below:
What can I say?
A one of a neat tool in monitoring server for cloud computing.