Skip to content

Instantly share code, notes, and snippets.

@jtbonhomme
Last active October 16, 2015 21:21
Show Gist options
  • Save jtbonhomme/f41249f25e4cc31d56cd to your computer and use it in GitHub Desktop.
Save jtbonhomme/f41249f25e4cc31d56cd to your computer and use it in GitHub Desktop.
telegraf launching
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