Project

General

Profile

« Previous | Next » 

Revision df198169

Added by N0YB about 12 years ago

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'

View differences:

etc/inc/rrd.inc
717 717

  
718 718
		/* enter UNKNOWN values in the RRD so it knows we rebooted. */
719 719
		if($g['booting']) {
720
			mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U:U");
720
			mwexec("$rrdtool update $rrddbpath$ifname$mbuf N:U:U:U:U");
721 721
		}
722 722

  
723 723
		/* the mbuf stats gathering function. */

Also available in: Unified diff