2009-10-10 16:53:25 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
/* changes these values to suit your local configuration */
|
|
|
|
|
2014-03-06 23:44:02 +08:00
|
|
|
$rrdpath = "/data/as-stats/rrd";
|
|
|
|
$daystatsfile = "/data/as-stats/asstats_day.txt";
|
|
|
|
$rrdtool = "/usr/bin/rrdtool";
|
2009-10-10 16:53:25 +00:00
|
|
|
|
|
|
|
$asinfofile = "asinfo.txt";
|
2014-03-06 23:44:02 +08:00
|
|
|
$knownlinksfile = "/data/as-stats/conf/knownlinks";
|
2009-10-10 16:53:25 +00:00
|
|
|
$outispositive = true;
|
2014-02-11 16:07:22 +01:00
|
|
|
$show95th = true;
|
2009-10-10 16:53:25 +00:00
|
|
|
|
2010-08-02 11:23:42 +00:00
|
|
|
$ntop = 20;
|
2013-01-21 15:12:01 +00:00
|
|
|
$showv6 = true;
|
2014-03-12 13:45:30 +01:00
|
|
|
$showtitledetail = true;
|
|
|
|
$hidelinkusagename = true; # $showtitledetail will need to be true to allow this
|
2010-08-02 11:23:42 +00:00
|
|
|
|
2012-07-25 15:01:19 +00:00
|
|
|
$whois = "/usr/bin/whois";
|
|
|
|
$assetpath = "asset";
|
2014-03-12 14:05:29 +01:00
|
|
|
$asset_cache_life = "604800"; # 604800 seconds = 7 days
|
|
|
|
|
|
|
|
$compat_rrdtool12 = false; # compatibility with RRDtool 1.2 (show95th will not work if this is set)
|
2012-08-21 08:35:30 +00:00
|
|
|
|
|
|
|
/* Custom links to be shown for each AS. You can use %as% as a
|
|
|
|
placeholder for the ASN. */
|
|
|
|
$customlinks = array(
|
|
|
|
'PeeringDB' => 'http://www.peeringdb.com/view.php?asn=%as%',
|
2013-10-28 18:30:20 +01:00
|
|
|
'robtex' => 'http://www.robtex.com/as/as%as%.html',
|
2014-03-04 11:24:59 +11:00
|
|
|
'HE' => 'http://bgp.he.net/AS%as%',
|
2014-03-06 23:44:02 +08:00
|
|
|
'RIPEstat' => 'https://stat.ripe.net/AS%as%#tabId=at-a-glance',
|
|
|
|
'euro-IX' => 'https://www.euro-ix.net/tools/asn_search?query=%as%'
|
2012-08-21 08:35:30 +00:00
|
|
|
);
|
|
|
|
|
2013-10-17 11:03:46 +02:00
|
|
|
|
|
|
|
/* END - no closing php tag needed here (prevents problems with stray whitespace) */
|