summaryrefslogtreecommitdiffstats
path: root/modules/tick/templates/kapacitor.conf
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2020-06-24 02:38:05 -0400
committerJesse Luehrs <doy@tozt.net>2020-07-04 16:32:25 -0400
commit8248275d4e015042a89e3a3d95765193641bfda1 (patch)
tree578e5a8b3c1af6f30e82067a44886e888f34c612 /modules/tick/templates/kapacitor.conf
parentf7cb87b82615fbb0d4d6b63f709692e9732aeabf (diff)
downloadpuppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.tar.gz
puppet-tozt-8248275d4e015042a89e3a3d95765193641bfda1.zip
add tick stack stuff
Diffstat (limited to 'modules/tick/templates/kapacitor.conf')
-rw-r--r--modules/tick/templates/kapacitor.conf34
1 files changed, 34 insertions, 0 deletions
diff --git a/modules/tick/templates/kapacitor.conf b/modules/tick/templates/kapacitor.conf
new file mode 100644
index 0000000..4b6a307
--- /dev/null
+++ b/modules/tick/templates/kapacitor.conf
@@ -0,0 +1,34 @@
+hostname = "localhost"
+data_dir = "/media/persistent/kapacitor"
+[http]
+ bind-address = "127.0.0.1:9092"
+[logging]
+ file = "/var/log/kapacitor/kapacitor.log"
+ level = "INFO"
+[load]
+ enabled = true
+ dir = "/etc/kapacitor/load"
+[replay]
+ dir = "/media/persistent/kapacitor/replay"
+[storage]
+ boltdb = "/media/persistent/kapacitor/kapacitor.db"
+[deadman]
+ global = true
+ threshold = 0.0
+ interval = "10s"
+ id = "node 'NODE_NAME' in task '{{ .TaskName }}'"
+ message = "{{ .ID }} is {{ if eq .Level \"OK\" }}alive{{ else }}dead{{ end }}: {{ index .Fields \"collected\" | printf \"%0.3f\" }} points/INTERVAL."
+[[influxdb]]
+ enabled = true
+ default = true
+ name = "localhost"
+ urls = ["http://localhost:8086"]
+[smtp]
+ enabled = true
+ host = "mail.tozt.net"
+ port = 465
+ username = "kapacitor-noreply@tozt.net"
+ password = "<%= @smtp_password %>"
+ from = "kapacitor-noreply@tozt.net"
+ global = true
+ state-changes-only = true