Created
October 17, 2014 04:05
-
-
Save ohofmann/3195d585fb9343b4a6c0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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