mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Doc updates
This commit is contained in:
@@ -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]
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user