Kapacitor
Version vom 17. Mai 2017, 13:02 Uhr von Janning (Diskussion | Beiträge)
Install
- wget https://dl.influxdata.com/kapacitor/releases/kapacitor_1.2.0_amd64.deb
- sudo dpkg -i kapacitor_1.2.0_amd64.deb
- systemctl start kapacitor
Configuration
- kapacitord config > kapacitor.conf (Konfigurationsdatei anlegen)
- vi /etc/kapacitor/kapacitor.conf
# Multiple InfluxDB configurations can be defined. # Exactly one must be marked as the default. # Each one will be given a name and can be referenced in batch queries and InfluxDBOut nodes. [[influxdb]] # Connect to an InfluxDB cluster # Kapacitor can subscribe, query and write to this cluster. # Using InfluxDB is not required and can be disabled. enabled = true default = true name = "telegraf" urls = ["http://localhost:8086"] username = "telegraf" password = "oimel" timeout = 0 # Absolute path to pem encoded CA file. # A CA can be provided without a key/cert pair # ssl-ca = "/etc/kapacitor/ca.pem" # Absolutes paths to pem encoded key and cert files. # ssl-cert = "/etc/kapacitor/cert.pem" # ssl-key = "/etc/kapacitor/key.pem"