Doc updates

This commit is contained in:
Tony Murray
2016-07-20 09:09:19 -05:00
parent 1f5cfe283e
commit d7a7c5ef00
2 changed files with 7 additions and 6 deletions

View File

@@ -2,11 +2,12 @@
This document will explain how to setup RRDCached for LibreNMS.
> 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:
> If you are using rrdtool / rrdcached version 1.5 or above then this now supports creating rrd files over rrdcached.
If you have rrdcached 1.5.5 or above, we can also tune over rrdcached.
To enable this set the following config:
```php
$config['rrdtool_version'] = 1.5;
$config['rrdtool_version'] = 1.5.5;
```
### RRDCached installation CentOS 6
@@ -29,7 +30,7 @@ vi /etc/yum.repos.d/rpmforge.repo
vi /etc/sysconfig/rrdcached
# Settings for rrdcached
OPTIONS="-w 1800 -z 1800 -f 3600 -s librenms -U librenms -G librenms -j /var/tmp -l unix:/var/run/rrdcached/rrdcached.sock -t 4 -F -b /opt/librenms/rrd/"
OPTIONS="-w 1800 -z 1800 -f 3600 -s librenms -U librenms -G librenms -B -R -j /var/tmp -l unix:/var/run/rrdcached/rrdcached.sock -t 4 -F -b /opt/librenms/rrd/"
RRDC_USER=librenms
mkdir /var/run/rrdcached
@@ -77,7 +78,7 @@ After=network.service
[Service]
Type=forking
PIDFile=/run/rrdcached.pid
ExecStart=/usr/bin/rrdcached -w 1800 -z 1800 -f 3600 -s librenms -U librenms -G librenms -j /var/tmp -l unix:/var/run/rrdcached/rrdcached.sock -t 4 -F -b /opt/librenms/rrd/
ExecStart=/usr/bin/rrdcached -w 1800 -z 1800 -f 3600 -s librenms -U librenms -G librenms -B -R -j /var/tmp -l unix:/var/run/rrdcached/rrdcached.sock -t 4 -F -b /opt/librenms/rrd/
RRDC_USER=librenms
[Install]

View File

@@ -316,7 +316,7 @@ $sessions = snmp_get($device, 'PULSESECURE-PSG-MIB::iveConcurrentUsers.0', '-OQv
if (is_numeric($sessions)) {
$rrd_def = array(
'DS:sessions:GAUGE:600:0:U'
'DS:sessions:GAUGE:600:0:U',
}
$fields = array(
'sessions' => $sessions