diff options
Diffstat (limited to 'modules/tick/templates/kapacitor.conf')
-rw-r--r-- | modules/tick/templates/kapacitor.conf | 34 |
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 |