
Added a playbook to deploy an alerting tool, Kapacitor that can work with influxdb. Updated readme to demonstrate how to deploy Kapacitor. Kapacitor can be used to trigger alerts based on some uncertain events. It subscribes to influxdb to collect data. General Flow: Telegraf -> InfluxDb -> Grafana Telegraf -> InfluxDb -> Kapacitor Change-Id: I5c400cf9efbda43bb5cb7a9bbd890435e74127f3
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
---
|
|
# Copyright 2016, Rackspace US, Inc.
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
|
|
# Grafana vars
|
|
grafana_port: 8089
|
|
grafana_db_name: grafana
|
|
grafana_db_user: grafana
|
|
grafana_db_password: secrete
|
|
grafana_admin_password: SuperSecrete
|
|
|
|
# InfluxDB vars
|
|
influxdb_admin_port: 8083
|
|
influxdb_port: 8086
|
|
influxdb_db_name: telegraf
|
|
influxdb_db_retention: 90d
|
|
influxdb_db_retention_policy: openstack
|
|
influxdb_db_replication: 1
|
|
influxdb_db_root_name: root
|
|
influxdb_db_root_password: SuperSecrete
|
|
influxdb_db_metric_user: openstack
|
|
influxdb_db_metric_password: SuperDuperSecrete
|
|
|
|
# Kapacitor Vars
|
|
kapacitor_port: 9092
|