Skip to content

Instantly share code, notes, and snippets.

@ohofmann
Created October 17, 2014 04:05
Show Gist options
  • Select an option

  • Save ohofmann/3195d585fb9343b4a6c0 to your computer and use it in GitHub Desktop.

Select an option

Save ohofmann/3195d585fb9343b4a6c0 to your computer and use it in GitHub Desktop.
# Install collectd if needed. For Debian-based systems:
$ sudo apt-get update
$ sudo apt-get -y install collectd
# Open collectd.conf for editing
$ sudo vi /etc/collectd/collectd.conf
Uncomment the line containing "LoadPlugin write_http"
# Then add the following:
<Plugin write_http>
<URL "https://collectd.librato.com/v1/measurements">
User "ohofmann72@gmail.com"
Password "bb15a194dd6614175a903eb48b40ba5f199bd5232564fcd2e9273bc745436dd6"
Format "JSON"
</URL>
</Plugin>
# Save and bounce collectd
$ sudo service collectd restart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment