2017-08-13 19:18:19 +01:00
|
|
|
source: Extensions/metrics/OpenTSDB.md
|
2018-10-27 23:04:34 +01:00
|
|
|
path: blob/master/doc/
|
2017-08-13 19:18:19 +01:00
|
|
|
|
2019-07-18 21:25:53 -05:00
|
|
|
# Enabling support for OpenTSDB
|
2017-08-13 19:18:19 +01:00
|
|
|
|
2019-07-18 21:25:53 -05:00
|
|
|
This module sends all metrics to OpenTSDB server. You need something
|
|
|
|
|
like Grafana for graphing.
|
|
|
|
|
|
|
|
|
|
# Requirements
|
|
|
|
|
|
|
|
|
|
- OpenTSDB
|
|
|
|
|
- Grafana
|
|
|
|
|
|
|
|
|
|
# What you don't get
|
|
|
|
|
|
|
|
|
|
Pretty graphs, this is why at present you need Grafana. You need to
|
|
|
|
|
build your own graphs within Grafana.
|
2019-09-09 05:48:35 -05:00
|
|
|
|
2019-07-18 21:25:53 -05:00
|
|
|
RRD will continue to function normally so LibreNMS itself should
|
|
|
|
|
continue to function normally.
|
2017-08-13 19:18:19 +01:00
|
|
|
|
|
|
|
|
You can add the following to `config.php`.
|
2019-07-18 21:25:53 -05:00
|
|
|
|
|
|
|
|
# Configuration
|
|
|
|
|
|
2017-08-13 19:18:19 +01:00
|
|
|
```php
|
|
|
|
|
// OpenTSDB default configuration
|
|
|
|
|
$config['opentsdb']['enable'] = true;
|
|
|
|
|
$config['opentsdb']['host'] = '127.0.0.1'; // your OpenTSDB server
|
|
|
|
|
$config['opentsdb']['port'] = 4242;
|
|
|
|
|
```
|
|
|
|
|
|
2019-07-18 21:25:53 -05:00
|
|
|
The same data than the one stored within rrd will be sent to OpenTSDB
|
|
|
|
|
and recorded. You can then create graphs within Grafana to display the
|
|
|
|
|
information you need.
|