summaryrefslogtreecommitdiffstats
path: root/etc/icinga2/features-available/influxdb.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/icinga2/features-available/influxdb.conf')
-rw-r--r--etc/icinga2/features-available/influxdb.conf25
1 files changed, 25 insertions, 0 deletions
diff --git a/etc/icinga2/features-available/influxdb.conf b/etc/icinga2/features-available/influxdb.conf
new file mode 100644
index 0000000..f0af37b
--- /dev/null
+++ b/etc/icinga2/features-available/influxdb.conf
@@ -0,0 +1,25 @@
+/**
+ * The InfluxdbWriter type writes check result metrics and
+ * performance data to an InfluxDB v1 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$"
+ // }
+ //}
+}