Skip to content

Instantly share code, notes, and snippets.

@zshamrock
Created December 2, 2016 14:23
Show Gist options
  • Save zshamrock/de36cfc0e3f5e596c501c7a965bda6f5 to your computer and use it in GitHub Desktop.
Save zshamrock/de36cfc0e3f5e596c501c7a965bda6f5 to your computer and use it in GitHub Desktop.
Define and enable Kapacitor task
./kapacitor-cli.sh 
root@kapacitor:~# kapacitor define cpu_alert -type stream -tick scripts/cpu_alert.tick -dbrp telegraf.autogen
root@kapacitor:~# kapacitor enable cpu_alert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment