summaryrefslogtreecommitdiffstats
path: root/features-available/influxdb.conf
diff options
context:
space:
mode:
authorTobias Wiese <tobias@tobiaswiese.com>2020-05-10 22:26:29 +0200
committerTobias Wiese <tobias@tobiaswiese.com>2020-05-10 22:26:29 +0200
commit1f358c5572bd1f847478b314bcd3e9378655ec92 (patch)
treee877d59c21fff46b0671f5a591d479c158e2fde2 /features-available/influxdb.conf
basic configuration
Provides a basic inital configuration. Signed-off-by: Tobias Wiese <tobias@tobiaswiese.com>
Diffstat (limited to 'features-available/influxdb.conf')
-rw-r--r--features-available/influxdb.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/features-available/influxdb.conf b/features-available/influxdb.conf
new file mode 100644
index 0000000..f0436ee
--- /dev/null
+++ b/features-available/influxdb.conf
@@ -0,0 +1,25 @@
+/**
+ * The InfluxdbWriter type writes check result metrics and
+ * performance data to an InfluxDB HTTP API
+ */
+
+object InfluxdbWriter "influxdb" {
+ // host = "127.0.0.1"
+ // port = 8086
+ // database = "icinga2"
+ // flush_threshold = 1024
+ // flush_interval = 10s
+ // host_template = {
+ // measurement = "$host.check_command$"
+ // tags = {
+ // hostname = "$host.name$"
+ // }
+ // }
+ // service_template = {
+ // measurement = "$service.check_command$"
+ // tags = {
+ // hostname = "$host.name$"
+ // service = "$service.name$"
+ // }
+ // }
+}