From df198169005b687e941a71750b8cdb5df69db91a Mon Sep 17 00:00:00 2001 From: N0YB Date: Tue, 23 Jul 2013 16:54:20 -0700 Subject: Update rrd.inc Fix this error php: rc.bootup: The command '/usr/bin/nice -n20 /usr/local/bin/rrdtool update /var/db/rrd/system-mbuf.rrd N:U:U:U:U:U' returned exit code '1', the output was 'ERROR: expected 4 data source readings (got 5) from N:U:U:U:U:U' --- etc/inc/rrd.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/rrd.inc b/etc/inc/rrd.inc index 65f4db4..af1908b 100644 --- a/etc/inc/rrd.inc +++ b/etc/inc/rrd.inc @@ -717,7 +717,7 @@ function enable_rrd_graphing() { /* enter UNKNOWN values in the RRD so it knows we rebooted. */ if($g['booting']) { - mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U:U"); + mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U"); } /* the mbuf stats gathering function. */ -- cgit v1.1