Skip to content

Instantly share code, notes, and snippets.

@petecheslock
Created August 23, 2014 01:44
Show Gist options
  • Save petecheslock/d6c47edd2e32bf35ffb9 to your computer and use it in GitHub Desktop.
Save petecheslock/d6c47edd2e32bf35ffb9 to your computer and use it in GitHub Desktop.
Hostname "elasticsearch-test"
FQDNLookup false
Interval 30
LoadPlugin syslog
<Plugin syslog>
LogLevel info
</Plugin>
#LoadPlugin rrdtool
LoadPlugin cpu
LoadPlugin df
LoadPlugin disk
LoadPlugin interface
LoadPlugin load
LoadPlugin memory
LoadPlugin processes
LoadPlugin swap
LoadPlugin users
LoadPlugin write_http
<LoadPlugin python>
Globals true
</LoadPlugin>
<Plugin "python">
ModulePath "/usr/share/collectd/plugins/"
Import "elasticsearch"
<Module "elasticsearch">
Verbose true
Version "0.9"
Cluster "elasticsearch"
</Module>
</Plugin>
#<Plugin rrdtool>
# DataDir "/var/lib/collectd/rrd"
#</Plugin>
<Plugin df>
FSType rootfs
FSType sysfs
FSType proc
FSType devtmpfs
FSType devpts
FSType tmpfs
FSType fusectl
FSType cgroup
IgnoreSelected true
</Plugin>
<Plugin "write_http">
<URL "https://collectd.librato.com/v1/measurements">
User "username"
Password "xxxx"
Format "JSON"
</URL>
</Plugin>
<target "write">
Plugin write_http
</target>
<Include "/etc/collectd/collectd.conf.d">
Filter "*.conf"
</Include>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment