mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Added support for rrdtool 1.5
This commit is contained in:
@@ -6,19 +6,19 @@ This document will explain how to setup RRDCached for LibreNMS.
|
||||
This example is based on a fresh LibreNMS install, on a minimimal CentOS installation.
|
||||
In this example, we'll use the Repoforge repository.
|
||||
|
||||
```ssh
|
||||
```php
|
||||
rpm -ivh http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el6.rf.x86_64.rpm
|
||||
vi /etc/yum.repos.d/rpmforge.repo
|
||||
```
|
||||
- Enable the Extra repo
|
||||
|
||||
```ssh
|
||||
```php
|
||||
yum update rrdtool
|
||||
vi /etc/yum.repos.d/rpmforge.repo
|
||||
```
|
||||
- Disable the [rpmforge] and [rpmforge-extras] repos again
|
||||
|
||||
```ssh
|
||||
```php
|
||||
vi /etc/sysconfig/rrdcached
|
||||
|
||||
# Settings for rrdcached
|
||||
@@ -34,6 +34,13 @@ service rrdcached start
|
||||
```
|
||||
|
||||
Edit config.php to include:
|
||||
```ssh
|
||||
```php
|
||||
$config['rrdcached'] = "unix:/var/run/rrdcached/rrdcached.sock";
|
||||
```
|
||||
|
||||
> If you are using rrdtool / rrdcached version 1.5 or above then this now supports creating rrd files over rrdcached. To
|
||||
enable this set the following config:
|
||||
|
||||
```php
|
||||
$config['rrdtool_version'] = 1.5;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user