Enable write graphite plugin in Collectd
Most of the linux distros come with collectd without “write_graphite” enabled, which is used for sending time series data to Graphite .You will get this error while starting collectd, with write_graphite plugin configured in collectd.conf
1 2 3 | Starting collectd: Could not find plugin write_graphite. |
To enable “write_graphite” plugin, you need to install collectd from source
Step1 : Download Collectd source
1 2 3 4 | git clone git://github.com/collectd/collectd.git cd collectd |
Step2: create “configure” script
Collectd ships with a build.sh' script to generate the
configure’
Run
1 2 3 | ./build.sh |
Step3: Run configure
1 2 3 | ./configure —enable–all–pluginsc |
Step4: Install
make && make install
If there are no errors, you should be able to see Collectd installed under “/opt/collectd/”