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.