summaryrefslogtreecommitdiffstats
path: root/features-available/influxdb.conf
diff options
context:
space:
mode:
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$"
+ // }
+ // }
+}