2015-10-26 15:32:16 +00:00
|
|
|
# Enabling support for InfluxDB.
|
|
|
|
|
2016-01-30 21:06:58 -05:00
|
|
|
Before we get started it is important that you know and understand that InfluxDB support is currently alpha at best.
|
|
|
|
All it provides is the sending of data to a InfluxDB install. Due to the current changes that are constantly being
|
|
|
|
made to InfluxDB itself then we cannot guarantee that your data will be ok so enabling this support is at your own
|
2015-10-26 15:32:16 +00:00
|
|
|
risk!
|
|
|
|
|
|
|
|
### Requirements
|
2016-06-16 11:52:43 +01:00
|
|
|
- InfluxDB >= 0.94
|
2015-10-26 15:32:16 +00:00
|
|
|
- Grafana
|
2016-06-16 11:52:43 +01:00
|
|
|
- PHP 5.5 for InfluxDB-PHP
|
2015-10-26 15:32:16 +00:00
|
|
|
|
2016-01-30 21:06:58 -05:00
|
|
|
The setup of the above is completely out of scope here and we aren't really able to provide any help with this side
|
2015-10-26 15:32:16 +00:00
|
|
|
of things.
|
|
|
|
|
|
|
|
### What you don't get
|
|
|
|
- Pretty graphs, this is why at present you need Grafana. You need to build your own graphs within Grafana.
|
|
|
|
- Support for InfluxDB or Grafana, we would highly recommend that you have some level of experience with these.
|
|
|
|
|
|
|
|
RRD will continue to function as normal so LibreNMS itself should continue to function as normal.
|
|
|
|
|
|
|
|
### Configuration
|
|
|
|
```php
|
|
|
|
$config['influxdb']['enable'] = true;
|
2016-04-01 17:53:56 +03:00
|
|
|
$config['influxdb']['transport'] = 'http'; # Default, other options: https, udp
|
2015-10-26 15:32:16 +00:00
|
|
|
$config['influxdb']['host'] = '127.0.0.1';
|
|
|
|
$config['influxdb']['port'] = '8086';
|
|
|
|
$config['influxdb']['db'] = 'librenms';
|
|
|
|
$config['influxdb']['username'] = 'admin';
|
|
|
|
$config['influxdb']['password'] = 'admin';
|
2016-04-01 17:53:56 +03:00
|
|
|
$config['influxdb']['timeout'] = 0; # Optional
|
|
|
|
$config['influxdb']['verifySSL'] = false; # Optional
|
2015-10-26 15:32:16 +00:00
|
|
|
```
|
|
|
|
|
2016-04-01 17:53:56 +03:00
|
|
|
No credentials are needed if you don't use InfluxDB authentication.
|
2015-10-26 15:32:16 +00:00
|
|
|
|
2016-01-30 21:06:58 -05:00
|
|
|
The same data then stored within rrd will be sent to InfluxDB and recorded. You can then create graphs within Grafana
|
2015-10-26 15:32:16 +00:00
|
|
|
to display the information you need.
|