Skip to content

Instantly share code, notes, and snippets.

@standaloneSA
Created March 22, 2014 13:33
Show Gist options
  • Save standaloneSA/9707156 to your computer and use it in GitHub Desktop.
Save standaloneSA/9707156 to your computer and use it in GitHub Desktop.
node default {
class { 'apt':
always_apt_update => true,
}
apt::ppa { 'ppa:raravena80/collectd5': }
class { '::collectd':
require => Class['apt'],
}
class { 'collectd::plugin::df':
mountpoints => ['/u'],
fstypes => ['nfs','tmpfs','autofs','gpfs','proc','devpts'],
ignoreselected => true,
}
class { 'collectd::plugin::write_graphite':
graphitehost => 'localhost',
}
class { 'graphite':
before => Class['::collectd'],
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment