summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/rrd.inc
diff options
context:
space:
mode:
authorheper <heper@users.noreply.github.com>2015-11-09 12:58:43 +0100
committerheper <heper@users.noreply.github.com>2015-11-09 12:58:43 +0100
commit7a2f4772fc55ca41396be088dc5f51b3a2534458 (patch)
treea021e4c46c2bd272ddc2e8103c186a00f385eb0a /src/etc/inc/rrd.inc
parent6303601ee2a0d7ad66a51697a59b76f827b23ffa (diff)
downloadpfsense-7a2f4772fc55ca41396be088dc5f51b3a2534458.zip
pfsense-7a2f4772fc55ca41396be088dc5f51b3a2534458.tar.gz
add static leases
Diffstat (limited to 'src/etc/inc/rrd.inc')
-rw-r--r--src/etc/inc/rrd.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/inc/rrd.inc b/src/etc/inc/rrd.inc
index b0f8f77..accaeb5 100644
--- a/src/etc/inc/rrd.inc
+++ b/src/etc/inc/rrd.inc
@@ -922,6 +922,7 @@ function enable_rrd_graphing() {
if (!file_exists("$rrddbpath$dhcpif$dhcpd")) {
$rrdcreate = "$rrdtool create $rrddbpath$dhcpif$dhcpd --step $rrddhcpdinterval ";
$rrdcreate .= "DS:leases:GAUGE:$dhcpdvalid:0:100000 ";
+ $rrdcreate .= "DS:staticleases:GAUGE:$dhcpdvalid:0:100000 ";
$rrdcreate .= "RRA:MIN:0.5:1:1200 ";
$rrdcreate .= "RRA:MIN:0.5:5:720 ";
$rrdcreate .= "RRA:MIN:0.5:60:1860 ";
OpenPOWER on IntegriCloud