Commit 5bc85f8c authored by nimrod's avatar nimrod
Browse files

There will be no blog post on CollectD or Riemann, instead there will be...

There will be no blog post on CollectD or Riemann, instead there will be Ansible roles in my git repos.
parent 952917ed
Loading
Loading
Loading
Loading

content/collectd.rst

deleted100644 → 0
+0 −10
Original line number Diff line number Diff line
Configuring Collectd for use with Riemann
#########################################
:date: 2014-10-26
:summary: How I use Collectd to push information to Riemann
:status: draft

Installing Collectd
-------------------

content/riemann.rst

deleted100644 → 0
+0 −43
Original line number Diff line number Diff line
Installing Riemann on Debian Wheezy
###################################
:date: 2014-10-26
:summary: How I installed Riemann on Debian Wheezy.
:status: draft

#. Install dependencies. ::

   $ sudo apt-get install openjdk-7-jre ruby-dev build-essential

#. Grab the debian package from the riemann.io front page and install (at time
   of writing version 0.2.6) ::

   $ wget http://aphyr.com/riemann/riemann_0.2.6_all.deb
   $ sudo dpkg -i riemann_0.2.6_all.deb

#. Configure Riemann. In /etc/riemann/riemann.config change the host to 0.0.0.0
   . Add the following line to /etc/default/riemann:

   EXTRA_JAVA_OPTS="-Djava.net.preferIPv4Stack=true"

#. Start the service ::

   $ sudo service riemann start

#. Install the Riemann dashboard. ::

   $ sudo apt-get install ruby
   $ sudo gem install riemann-dash

#. Create an Upstart configuration file for riemann-dash.

   $ cat > /etc/init/riemann-dash.conf << EOF
   author "Nimrod Adar <nimrod.adar@wiser.com>"
   description "The Riemann dashboard."
   start on runlevel [2345]
   stop on runlevel [!2345]
   respawn
   respawn limit 10 10
   exec /usr/local/bin/riemann-dash
   EOF