AS-Stats/www/config.inc

42 lines
1.3 KiB
PHP
Raw Normal View History

<?php
/* changes these values to suit your local configuration */
$rrdpath = "/data/as-stats/rrd";
$daystatsfile = "/data/as-stats/asstats_day.txt";
$rrdtool = "/usr/bin/rrdtool";
2014-06-25 17:11:48 +02:00
$daypeerstatsfile = "/data/as-stats/peerasstats_day.txt";
$showpeeras = false;
2014-06-25 17:11:48 +02:00
$asinfofile = "asinfo.txt";
$knownlinksfile = "/data/as-stats/conf/knownlinks";
$outispositive = true;
2014-02-11 16:07:22 +01:00
$show95th = true;
2010-08-02 11:23:42 +00:00
$ntop = 20;
$showv6 = true;
$showtitledetail = true;
$hidelinkusagename = true; # $showtitledetail will need to be true to allow this
$vertical_label = true; # vertical IN/OUT label in graph
$brighten_negative = true; # brighten the "negative" part of graphs
2010-08-02 11:23:42 +00:00
$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)
2014-06-16 10:50:12 +02:00
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',
'HE' => 'http://bgp.he.net/AS%as%',
'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
);
/* END - no closing php tag needed here (prevents problems with stray whitespace) */