Skip to content

Instantly share code, notes, and snippets.

View Here-Be-Dragons's full-sized avatar

Jerad Jacob Here-Be-Dragons

  • Disney Signature Experiences
  • Orlando, Florida
View GitHub Profile
@Here-Be-Dragons
Here-Be-Dragons / gist:e32d73815d0c834ef64caeb9c1e2c16b
Created August 8, 2016 17:30 — forked from tnolet/gist:7361441
Install collectd 5.4 on Centos 6.x and make it spit out cool metrics. Copied from http://linuxdrops.com/install-collectd-statistics-collecter-on-centos-rhel-ubuntu-debian/ and tweaked for your and my pleasure. For all other cool options, check the provided link.
#!/bin/bash
# Perform installation as root
# Install prereqs
SOURCE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
yum -y install libcurl libcurl-devel rrdtool rrdtool-devel rrdtool-perl libgcrypt-devel gcc make gcc-c++ yajl yajl-devel perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
# Get Collectd, untar it, make it and install