Added support for rrdtool 1.5

This commit is contained in:
laf
2015-08-23 19:36:22 +00:00
parent a9b08fbaa0
commit c0125f28e4
4 changed files with 33 additions and 20 deletions

View File

@@ -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;
```