New influxdb oss 2.0 to store metrics from icinga2

Can I use the new influxdb oss 2.0 database to store metric data from icinga2 ckeck_commands.

If yes, how?

my influxdb oss 2.0 is running on a remote host, not at the icinga host.

You can certainly use influxdb 1.8 and below (I recommend 1.8 if not 2) through the influxwriter feature. Check out the docs here
The config file in /etc/icinga2/features-available will let you set it up to a remote host.

That said, I have a similar question about InfluxDB 2.0, does anyone know if the writer supports this yet? I can’t seem to find anything on the git.