From 06ff126ebba751ff397d43c10ba0bf4b9abe638e Mon Sep 17 00:00:00 2001 From: N0YB Date: Tue, 23 Jul 2013 16:54:20 -0700 Subject: [PATCH] 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 65f4db47f9..af1908be74 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. */