From 5499871873a8491bf6bf50e923ae477245486297 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Mon, 31 Mar 2008 10:56:29 +0000 Subject: [PATCH] better rrd scaling on interfaces? git-svn-id: http://www.observium.org/svn/observer/trunk@212 61d68cd4-352d-0410-923a-c4978735b2b8 --- includes/polling/interfaces.inc.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/includes/polling/interfaces.inc.php b/includes/polling/interfaces.inc.php index 2f277713c..2907db381 100644 --- a/includes/polling/interfaces.inc.php +++ b/includes/polling/interfaces.inc.php @@ -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 \