as-stats-gui/config.inc

61 lines
1.8 KiB
PHP
Raw Permalink Normal View History

2017-02-13 15:55:12 +01:00
<?php
/* changes these values to suit your local configuration */
$rrdpath = "/data/asstats/rrd";
$daystatsfile = "/data/asstats/asstats/asstats_day.txt";
2017-02-13 15:55:12 +01:00
$rrdtool = "/usr/bin/rrdtool";
$daypeerstatsfile = "/data/asstats/peerasstats_day.txt";
$showpeeras = false;
$asinfofile = "asinfo.txt";
$knownlinksfile = "/data/asstats/conf/knownlinks";
$outispositive = false;
2017-02-13 15:55:12 +01:00
$show95th = true;
$ntop = 20;
2017-02-13 15:55:12 +01:00
$showv6 = true;
$showtitledetail = true;
2018-01-02 17:08:25 +01:00
$hidelinkusagename = false;
2017-02-13 15:55:12 +01:00
$vertical_label = true; # vertical IN/OUT label in graph
$brighten_negative = true; # brighten the "negative" part of graphs
$whois = "/usr/bin/whois";
$assetpath = "asset";
$asset_cache_life = "604800"; # 604800 seconds = 7 days
$compat_rrdtool12 = false; # compatibility with RRDtool 1.2 (show95th will not work if this is set)
$my_asn = ""; # Our ASN - Used for search in PeeringDB API
2017-02-13 15:55:12 +01:00
/* Custom links to be shown for each AS. You can use %as% as a
placeholder for the ASN. */
$customlinks = array(
'PeeringDB' => 'https://www.peeringdb.com/asn/%as%',
'robtex' => 'https://www.robtex.com/as/as%as%.html',
'HE' => 'http://bgp.he.net/AS%as%',
'RIPEstat' => 'https://stat.ripe.net/AS%as%#tabId=at-a-glance',
'CIDR v4' => 'http://www.cidr-report.org/cgi-bin/as-report?as=AS%as%&view=2.0',
'CIDR v6' => 'http://www.cidr-report.org/cgi-bin/as-report?as=AS%as%&view=2.0&v=6',
2024-04-25 23:29:07 +03:00
'Radar Qrator' => 'https://radar.qrator.net/as%as%/',
'BGP.Tools' => 'https://bgp.tools/as/%as%'
2017-02-13 15:55:12 +01:00
);
/* Custom time intervals for top N AS */
/*
$top_intervals[] = array(
2017-02-13 15:55:12 +01:00
'hours' => 7*24,
'statsfile' => '/data/as-stats/asstats_week.txt',
2017-02-13 15:55:12 +01:00
'label' => '1 week'
);
$top_intervals[] = array(
2017-02-13 15:55:12 +01:00
'hours' => 30*24,
'statsfile' => '/data/as-stats/asstats_month.txt',
'label' => '30 days'
);
*/
/* END - no closing php tag needed here (prevents problems with stray whitespace) */