collectd 1) is a daemon which collects system and application performance metrics periodically and provides mechanisms to store the values. (written in c)
The binary protocol is the protocol implemented by the Network plugin and some external implementations to exchange data collected by collectd or to send data to an instance of collectd.
From:
# Install prerequisites
yum -y install libcurl libcurl-devel rrdtool rrdtool-devel rrdtool-prel libgcrypt-devel gcc make gcc-c++
# Unzip the source
tar xf collectd-version.tar.bz2
# Go to the source dir
cd collectd-version
# Check the library and dependency
./configure
# Install
make all install
Installation:
Daemon:
# Copy the default init.d script
cp /root/collectd-version/contrib/redhat/init.d-collectd /etc/init.d/collectd
# Set the correct permissions
chmod +x /etc/init.d/collectd
# Start the deamon
service collectd start
If you built from source, the configure script tries to provide a small, working default configuration in etc/collectd.conf.
For each plugin, there is a LoadPlugin line in the configuration.
The number of comment characters used is significant. Lines commented out with
By default the following plugins are enabled: CPU, Interface, Load, and Memory.
JCollectd is a javaagent. ie a JVM “plugin” (a .jar file) that utilizes the Instrumentation API (sinceJava 1.5) that the JVM provides. (froked from Jmxetric
https://github.com/collectd/go-collectd