Hi All,
I would like to setup influxdbv2 to send data to graphana. I installed InfluxDB v2.2.0 which use tokens to connect. The followin are the errors I am getting:
2022-04-20T01:30:03.148999+00:00] production.ERROR: InfluxDB exception: HTTP Code 401 {“code”:“unauthorized”,“message”:“Unauthorized”}
[2022-04-20T01:30:03.165645+00:00] production.ERROR: InfluxDB exception: HTTP Code 401 {“code”:“unauthorized”,“message”:“Unauthorized”}
config.php
$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’][‘bucket’] = ‘librenms’;
$config[‘influxdb’][‘username’] = ‘admin’;
$config[‘influxdb’][‘password’] = ‘’;
$config[‘influxdb’][‘timeout’] = 0; # Optional
$config[‘influxdb’][‘verifySSL’] = false; # Optional
$config[‘influxdb’][‘token’] = ‘’;
$config[‘influxdb’][‘org’] = ‘’;