Created
February 17, 2017 00:46
-
-
Save jagregory/152a88773c4abdfbf85b5447b6fda4cf to your computer and use it in GitHub Desktop.
Kapacitor chart generated config
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
| data_dir = "/var/lib/kapacitor" | |
| default-retention-policy = "" | |
| hostname = "localhost" | |
| skip-config-overrides = false | |
| [[influx]] | |
| default = true | |
| disable-subscriptions = false | |
| enabled = true | |
| http-port = 0 | |
| insecure-skip-verify = false | |
| kapacitor-hostname = "" | |
| name = "localhsot" | |
| password = "" | |
| startup-timeout = "5m" | |
| subscription-protocol = "http" | |
| subscriptions-sync-interval = "1m0s" | |
| timeout = 0 | |
| udp-bind = "" | |
| udp-buffer = 1000 | |
| udp-read-buffer = 0 | |
| urls = [ | |
| "http://localhost:8086", | |
| ] | |
| username = "" | |
| [influx.subscriptions] | |
| [influx.excluded-subscriptions] | |
| [alerta] | |
| enabled = false | |
| environment = "" | |
| origin = "kapacitor" | |
| token = "" | |
| token-prefix = "Bearer" | |
| url = "" | |
| [collectd] | |
| batch-pending = 5 | |
| batch-size = 1000 | |
| batch-timeout = "10s" | |
| bind-address = ":25826" | |
| database = "collectd" | |
| enabled = false | |
| retention-policy = "" | |
| typesdb = "/usr/share/collectd/types.db" | |
| [config-override] | |
| enabled = true | |
| [deadman] | |
| global = false | |
| id = "node 'NODE_NAME' in task '{{ .TaskName }}'" | |
| interval = "10s" | |
| message = "{{ .ID }} is {{ if eq .Level \"OK\" }}alive{{ else }}dead{{ end }}: {{ index .Fields \"collected\" | printf \"%0.3f\" }} points/INTERVAL." | |
| [hipchat] | |
| enabled = false | |
| global = false | |
| room = "" | |
| state-changes-only = false | |
| token = "" | |
| url = "https://subdomain.hipchat.com/v2/room" | |
| [http] | |
| bind-address = ":9092" | |
| https-certificate = "/etc/ssl/kapacitor.pem" | |
| https-enabled = false | |
| log-enabled = true | |
| pprof-enabled = false | |
| write-tracing = false | |
| [kubernetes] | |
| enabled = false | |
| [logging] | |
| file = "/var/log/kapacitor/kapacitor.log" | |
| level = "INFO" | |
| [opentsdb] | |
| batch-pending = 5 | |
| batch-size = 1000 | |
| batch-timeout = "1s" | |
| bind-address = ":4242" | |
| certificate = "/etc/ssl/influxdb.pem" | |
| consistency-level = "one" | |
| database = "opentsdb" | |
| enabled = false | |
| retention-policy = "" | |
| tls-enabled = false | |
| [opsgenie] | |
| api-key = "" | |
| enabled = false | |
| global = false | |
| recovery_url = "https://api.opsgenie.com/v1/json/alert/note" | |
| url = "https://api.opsgenie.com/v1/json/alert" | |
| [pagerduty] | |
| enabled = false | |
| global = false | |
| service-key = "" | |
| url = "https://events.pagerduty.com/generic/2010-04-15/create_event.json" | |
| [replay] | |
| dir = "/var/lib/kapacitor/replay" | |
| [reporting] | |
| enabled = true | |
| url = "https://usage.influxdata.com" | |
| [sensu] | |
| addr = "sensu-client:3030" | |
| enabled = false | |
| source = "Kapacitor" | |
| [slack] | |
| channel = "" | |
| enabled = true | |
| global = false | |
| state-changes-only = false | |
| url = "https://hooks.slack.com/services/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" | |
| [smtp] | |
| enabled = false | |
| from = "" | |
| global = false | |
| host = "localhost" | |
| idle-timeout = "30s" | |
| no-verify = false | |
| password = "" | |
| port = 25 | |
| state-changes-only = false | |
| username = "" | |
| [snmptrap] | |
| addr = "localhost:162" | |
| community = "kapacitor" | |
| enabled = false | |
| retries = 1 | |
| [stats] | |
| database = "_kapacitor" | |
| enabled = true | |
| retention-policy = "autogen" | |
| stats-interval = "10s" | |
| [storage] | |
| boltdb = "/var/lib/kapacitor/kapacitor.db" | |
| [talk] | |
| author_name = "Kapacitor" | |
| enabled = false | |
| url = "https://jianliao.com/v2/services/webhook/uuid" | |
| [task] | |
| dir = "/var/lib/kapacitor/tasks" | |
| snapshot-interval = "60s" | |
| [telegram] | |
| chat-id = "" | |
| disable-notification = false | |
| disable-web-page-preview = false | |
| enabled = false | |
| global = false | |
| state-changes-only = false | |
| token = "" | |
| url = "https://api.telegram.org/bot" | |
| [udf] | |
| [udf.functions] | |
| [udf.functions.goavg] | |
| args = [ | |
| ] | |
| prog = "./avg_udf" | |
| timeout = "10s" | |
| [udf.functions.myCustomUDF] | |
| socket = "/path/to/socket" | |
| timeout = "10s" | |
| [udf.functions.pyavg] | |
| args = [ | |
| "-u", | |
| "./udf/agent/examples/moving_avg.py", | |
| ] | |
| prog = "/usr/bin/python2" | |
| timeout = "10s" | |
| [udf.functions.pyavg.env] | |
| PYTHONPATH = "./udf/agent/py" | |
| [victorops] | |
| api-key = "" | |
| enabled = false | |
| global = false | |
| routing-key = "" | |
| url = "https://alert.victorops.com/integrations/generic/20131114/alert" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment