Configure InfluxDB Token for LibreNMS

Hi,

I’m trying to configure LibreNMS to send data to InfluxDB Cloud. So, with other apps I had no issues connecting them providing a bucket and token, but for LibreNMS I’m struggling to find the right way to provide these information.

According to the documentation I’ll need to configure

$config[‘influxdb’][‘enable’] = true;
$config[‘influxdb’][‘transport’] = ‘http’; # Default, other options: https, udp
$config[‘influxdb’][‘host’] = ‘127.0.0.1’;
$config[‘influxdb’][‘port’] = ‘8086’;
$config[‘influxdb’][‘db’] = ‘librenms’;
$config[‘influxdb’][‘username’] = ‘admin’;
$config[‘influxdb’][‘password’] = ‘admin’;
$config[‘influxdb’][‘timeout’] = 0; # Optional
$config[‘influxdb’][‘verifySSL’] = false; # Optional

I can imagine our bucket needs to be configured as db, but how do I provide the token to LibreNMS?

Thanks
7oku

1 Like

Looking for this info as well. InfluxDB2 needs a bucket name, API key, etc…

This plug-in is based on in influxdb v1 auth, influxdb cloud doesn’t support v1 auth so this won’t work

https://docs.influxdata.com/influxdb/cloud/reference/cli/influx/v1/auth/create/

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.