mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
rename cbgp_prefixes to prefixes, as this will be used for more than cisco-bgp-mib now, and link directly to the bgp tab from the general bgp overview when you click on the device. overloaded generate_device_link, the day/time attributes were never used in any page yet
git-svn-id: http://www.observium.org/svn/observer/trunk@1740 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
22
html/includes/graphs/bgp/prefixes.inc.php
Normal file
22
html/includes/graphs/bgp/prefixes.inc.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/". safename("cbgp-" . $data['bgpPeerIdentifier'] . ".".$_GET['afi'].".".$_GET['safi'].".rrd");
|
||||
|
||||
$rra = "AcceptedPrefixes";
|
||||
|
||||
$colour_area = "AA66AA";
|
||||
$colour_line = "FFDD88";
|
||||
|
||||
$colour_area_max = "FFEE99";
|
||||
|
||||
$graph_max = 1;
|
||||
|
||||
$unit_text = "Prefixes";
|
||||
|
||||
include("includes/graphs/generic_simplex.inc.php");
|
||||
|
||||
?>
|
||||
Reference in New Issue
Block a user