From 1f358c5572bd1f847478b314bcd3e9378655ec92 Mon Sep 17 00:00:00 2001 From: Tobias Wiese Date: Sun, 10 May 2020 22:26:29 +0200 Subject: basic configuration Provides a basic inital configuration. Signed-off-by: Tobias Wiese --- features-available/influxdb.conf | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 features-available/influxdb.conf (limited to 'features-available/influxdb.conf') 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$" + // } + // } +} -- cgit v1.2.3