Last active
October 16, 2015 21:21
-
-
Save jtbonhomme/f41249f25e4cc31d56cd to your computer and use it in GitHub Desktop.
telegraf launching
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
To have launchd start telegraf at login: | |
ln -sfv /usr/local/opt/telegraf/*.plist ~/Library/LaunchAgents | |
Then to load telegraf now: | |
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.telegraf.plist | |
Or, if you don't want/need launchctl, you can just run: | |
telegraf -config /usr/local/etc/telegraf.conf | |
or | |
telegraf -sample-config > telegraf.conf to create an initial configuration | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment