diff --git a/www/config.inc b/www/config.inc index d0d2ac6..ecb423d 100644 --- a/www/config.inc +++ b/www/config.inc @@ -2,23 +2,23 @@ /* changes these values to suit your local configuration */ -$rrdpath = "/var/cache/as-stats/rrd"; -$daystatsfile = "/var/cache/as-stats/asstats_day.sqlite"; +$rrdpath = "/data/as-stats/rrd"; +$daystatsfile = "/data/as-stats/asstats_day.txt"; $rrdtool = "/usr/bin/rrdtool"; -$daypeerstatsfile = "/var/cache/as-stats/peerasstats_day.txt"; +$daypeerstatsfile = "/data/as-stats/peerasstats_day.txt"; $showpeeras = false; $asinfofile = "asinfo.txt"; -$knownlinksfile = "/opt/AS-Stats/conf/knownlinks"; -$outispositive = false; +$knownlinksfile = "/data/as-stats/conf/knownlinks"; +$outispositive = true; $show95th = true; -$ntop = 100; +$ntop = 20; $showv6 = true; $showtitledetail = true; $vertical_label = true; # vertical IN/OUT label in graph -$brighten_negative = false; # brighten the "negative" part of graphs +$brighten_negative = true; # brighten the "negative" part of graphs $whois = "/usr/bin/whois"; $assetpath = "asset"; @@ -45,13 +45,12 @@ $top_intervals[] = array( 'statsfile' => '/data/as-stats/asstats_week.txt', 'label' => '1 week' ); -*/ $top_intervals[] = array( 'hours' => 30*24, - 'statsfile' => '/var/cache/as-stats/asstats_month.sqlite', + 'statsfile' => '/data/as-stats/asstats_month.txt', 'label' => '30 days' ); -/**/ +*/ /* END - no closing php tag needed here (prevents problems with stray whitespace) */ diff --git a/www/config_defaults.inc b/www/config_defaults.inc index d411b5b..835faa7 100644 --- a/www/config_defaults.inc +++ b/www/config_defaults.inc @@ -8,11 +8,11 @@ $default_graph_height = 360; /* Size of graphs on top N AS page */ $top_graph_width = 600; -$top_graph_height = 250; +$top_graph_height = 220; /* Size of graphs on AS-Set page */ $asset_graph_width = 600; -$asset_graph_height = 250; +$asset_graph_height = 200; /* Defaults for other settings, introduced in recent versions */ $vertical_label = true; # vertical IN/OUT label in graph