Install influxdb for use in librenms

Hello
I try to use influxdb in librenms with grafana
So I installed librenms and now I have to install influxdb of the blow I wanted to know esque I am just the tutorial of the documentation of influxdb and I install it on the same directory as Librenms ??? Or if there is other documentation to follow the steps
thank you

You don’t need to install influx into the same dir as LibreNMS.

InfluxDB have full docs on installation: https://docs.influxdata.com/influxdb/v1.2/introduction/installation/

thank you very much i will follow this

Hello
I followed the instructions of the doc of influxdb for the instalation,

After the installation I tried to configure the config.php file as you see it in the picture

But when I register and I try to access the web page it makes me wander 505 the problem is in line $config[‘influxdb’][‘enable’]= true;
if I commented it ben I access the interface

and how can i creates The base Influxdb

thank you

Sorry I’m not sure what you mean by that last comment.

hello,
I followed the instructions after installation of influxdb,
After installation of influxdb I create the database like this
$ influx
Connected to http://localhost:8086 version 0.13
InfluxDB shell version: 0.13

CREATE DATABASE librenms_db
CREATE USER admin WITH PASSWORD ‘admin’ WITH ALL PRIVILEGES
CREATE USER librenms WITH PASSWORD 'admin
CREATE USER grafana WITH PASSWORD ‘admin’
GRANT ALL ON librenms_db TO librenms
GRANT READ ON librenms_db TO grafana
exit
after Enable authentication in the [http]
[http]
enabled = true
bind-address = “:8086”
auth-enabled = true
log-enabled = true
write-tracing = false
pprof-enabled = false
https-enabled = false
https-certificate = “/etc/ssl/influxdb.pem”

but after all this when i go in the page to use librenms they say me does not work

Run ./validate.php

thank you @murrant

Apparently i can’t run this

/opt/librenms/validate.php

Could not open input file: config.php
[FAIL] Syntax error in config.php

It is running perfectly.

It says you have an error with your config.php. I believe it is probably permissions. Make sure the librenms user has permissions to the config.php file.

I have configured as was mounted on the librenms doc

Run ls -l config.php in the librenms directory

That looks fine.

How about:
php -l config.php

And run ./validate.php from that same directory.

Nothing happens

That is odd.

How about git status
and php -v

i have this after some minute

You have two problems:
One your PHP version is too old for InfluxDB (http://docs.librenms.org/Extensions/InfluxDB/) you need >= 5.5 as noted in the docs.

Two, you have not installed through our official method, so you cannot receive updates. Your install is already quite out of date.

when i can find the installation with your method ??
Because on librenms doc I did not find a method for installing influxdb

And I have to uninstall it and install it with your method ???

thnk you

I’m talking about installing LibreNMS itself: http://docs.librenms.org/Installation/Installing-LibreNMS/

Ok so i have only to uninstall librenms and install it by following the doc because it was not me who installed it^

thank you very much