Project

General

Profile

« Previous | Next » 

Revision ddc26847

Added by Seth Mos over 16 years ago

Final attempt at making rows merger work before I throw in the towel.
Empty rows need to proceed the old data when growing the RRA archive

View differences:

etc/inc/config.inc
2147 2147
			$rrdcreate .= "RRA:AVERAGE:0.5:1:1000 ";
2148 2148
			$rrdcreate .= "RRA:AVERAGE:0.5:5:1000 ";
2149 2149
			$rrdcreate .= "RRA:AVERAGE:0.5:60:1000 ";
2150
			$rrdcreate .= "RRA:AVERAGE:0.5:720:1000 ";
2150
			$rrdcreate .= "RRA:AVERAGE:0.5:720:3000 ";
2151 2151

  
2152 2152
			create_new_rrd("$rrdcreate");
2153 2153
			/* create temporary xml from new RRD */
......
2169 2169
			$rrdxml = dump_xml_config_raw($rrdxmlarray, "rrd");
2170 2170
			file_put_contents("{$g['tmp_path']}/{$xmldumpnew}", $rrdxml);
2171 2171
			mwexec("$rrdtool restore -f {$g['tmp_path']}/{$xmldumpnew} {$rrddbpath}/{$database} 2>&1");
2172
			mwexec("$rrdtool resize {$rrddbpath}/{$database} 3 GROW 3000 2>&1");
2172
			// mwexec("$rrdtool resize {$rrddbpath}/{$database} 3 GROW 3000 2>&1");
2173 2173

  
2174 2174
		}
2175 2175
		enable_rrd_graphing();

Also available in: Unified diff