Tested
icinga2 object list --type service | grep enable_perfdata
* enable_perfdata = true
* enable_perfdata = true
(duplicated lines removed)
So yes, perfdata is produced.
Tested
icinga2 object list --type service | grep enable_perfdata
* enable_perfdata = true
* enable_perfdata = true
(duplicated lines removed)
So yes, perfdata is produced.
What do your influx logs say?
We have a similar influxdbwriter setup, but itâs worth noting we are using auth:
library "perfdata"
object InfluxdbWriter "influxdb" {
host = "127.0.0.1"
port = 8086
database = "icinga2"
username = "redacted"
password = "redacted"
ssl_enable = false
flush_threshold = 1024
flush_interval = 10s
enable_send_thresholds = true
enable_send_metadata = true
host_template = {
measurement = "$host.check_command$"
tags = {
hostname = "$host.name$"
}
}
service_template = {
measurement = "$service.check_command$"
tags = {
hostname = "$host.name$"
service = "$service.name$"
}
}
}
Also worth noting we are using influxdb-1.8.0-1.x86_64 (centos 7)
What do you see if you use the influx cli tool and use <database name> and then show measurements?
Hi Ben.
Weâre in Influxdb2 and there are some differences on how authentication and the query language are.
From your configuration file I noticed that I had no library line, so I added to it, but no change.
To check the db status I use:
influx query âimport âinfluxdata/influxdb/schemaâ
schema.measurements(bucket: âicinga2â)â
That always gives me an empty result:
Result: _result
Table: keys:
_value:string
Have you already seen the influxdb2 support? Object Types - Icinga 2
Hi Marcus.
Yes. The configuration is right and according to the template shown in the page you mention. 
I just installed a fresh Icinga2 and an InfluxDB2 Database (both on several hosts, both Ubuntu 20). Pushing the perfdata into InfluxDB2 works without problems. Just make sure that:
So I donât think, itâs a Icinga2 or InfluxDB2 problem