Revert to defaults from upstream

This commit is contained in:
Raf 2018-05-12 13:08:10 +02:00
parent 852cc43567
commit 6cde365b82
2 changed files with 11 additions and 12 deletions

View File

@ -2,23 +2,23 @@
/* changes these values to suit your local configuration */ /* changes these values to suit your local configuration */
$rrdpath = "/var/cache/as-stats/rrd"; $rrdpath = "/data/as-stats/rrd";
$daystatsfile = "/var/cache/as-stats/asstats_day.sqlite"; $daystatsfile = "/data/as-stats/asstats_day.txt";
$rrdtool = "/usr/bin/rrdtool"; $rrdtool = "/usr/bin/rrdtool";
$daypeerstatsfile = "/var/cache/as-stats/peerasstats_day.txt"; $daypeerstatsfile = "/data/as-stats/peerasstats_day.txt";
$showpeeras = false; $showpeeras = false;
$asinfofile = "asinfo.txt"; $asinfofile = "asinfo.txt";
$knownlinksfile = "/opt/AS-Stats/conf/knownlinks"; $knownlinksfile = "/data/as-stats/conf/knownlinks";
$outispositive = false; $outispositive = true;
$show95th = true; $show95th = true;
$ntop = 100; $ntop = 20;
$showv6 = true; $showv6 = true;
$showtitledetail = true; $showtitledetail = true;
$vertical_label = true; # vertical IN/OUT label in graph $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"; $whois = "/usr/bin/whois";
$assetpath = "asset"; $assetpath = "asset";
@ -45,13 +45,12 @@ $top_intervals[] = array(
'statsfile' => '/data/as-stats/asstats_week.txt', 'statsfile' => '/data/as-stats/asstats_week.txt',
'label' => '1 week' 'label' => '1 week'
); );
*/
$top_intervals[] = array( $top_intervals[] = array(
'hours' => 30*24, 'hours' => 30*24,
'statsfile' => '/var/cache/as-stats/asstats_month.sqlite', 'statsfile' => '/data/as-stats/asstats_month.txt',
'label' => '30 days' 'label' => '30 days'
); );
/**/ */
/* END - no closing php tag needed here (prevents problems with stray whitespace) */ /* END - no closing php tag needed here (prevents problems with stray whitespace) */

View File

@ -8,11 +8,11 @@ $default_graph_height = 360;
/* Size of graphs on top N AS page */ /* Size of graphs on top N AS page */
$top_graph_width = 600; $top_graph_width = 600;
$top_graph_height = 250; $top_graph_height = 220;
/* Size of graphs on AS-Set page */ /* Size of graphs on AS-Set page */
$asset_graph_width = 600; $asset_graph_width = 600;
$asset_graph_height = 250; $asset_graph_height = 200;
/* Defaults for other settings, introduced in recent versions */ /* Defaults for other settings, introduced in recent versions */
$vertical_label = true; # vertical IN/OUT label in graph $vertical_label = true; # vertical IN/OUT label in graph