better rrd scaling on interfaces?

git-svn-id: http://www.observium.org/svn/observer/trunk@212 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2008-03-31 10:56:29 +00:00
parent 1b8525c11e
commit 5499871873

View File

@@ -39,14 +39,14 @@ while ($interface = mysql_fetch_array($interface_query)) {
if(!is_file($rrdfile)) {
$woo = `rrdtool create $rrdfile \
DS:INOCTETS:COUNTER:600:U:100000000000 \
DS:OUTOCTETS:COUNTER:600:U:10000000000 \
DS:INERRORS:COUNTER:600:U:10000000000 \
DS:OUTERRORS:COUNTER:600:U:10000000000 \
DS:INUCASTPKTS:COUNTER:600:U:10000000000 \
DS:OUTUCASTPKTS:COUNTER:600:U:10000000000 \
DS:INNUCASTPKTS:COUNTER:600:U:10000000000 \
DS:OUTNUCASTPKTS:COUNTER:600:U:10000000000 \
DS:INOCTETS:COUNTER:600:0:18446744073709551615 \
DS:OUTOCTETS:COUNTER:600:0:18446744073709551615 \
DS:INERRORS:COUNTER:600:0:18446744073709551615 \
DS:OUTERRORS:COUNTER:600:0:18446744073709551615 \
DS:INUCASTPKTS:COUNTER:600:0:18446744073709551615 \
DS:OUTUCASTPKTS:COUNTER:600:0:18446744073709551615 \
DS:INNUCASTPKTS:COUNTER:600:0:18446744073709551615 \
DS:OUTNUCASTPKTS:COUNTER:600:0:18446744073709551615 \
RRA:AVERAGE:0.5:1:600 \
RRA:AVERAGE:0.5:6:700 \
RRA:AVERAGE:0.5:24:775 \