mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use data_update instead of rrd_update/rrd_create and influx_update Centralize rrd file check so we can check against a remote rrdcached server too Use rrd_name() to generate rrd file names
23 lines
454 B
PHP
23 lines
454 B
PHP
<?php
|
|
|
|
$scale_min = '0';
|
|
|
|
$rrd_filename = rrd_name($device['hostname'], array('bgp', $data['bgpPeerIdentifier']));
|
|
|
|
$ds_in = 'bgpPeerInUpdates';
|
|
$ds_out = 'bgpPeerOutUpdates';
|
|
|
|
$colour_area_in = 'AA66AA';
|
|
$colour_line_in = '330033';
|
|
$colour_area_out = 'FF6600';
|
|
$colour_line_out = 'FFDD88';
|
|
|
|
$colour_area_in_max = 'FFEE99';
|
|
$colour_area_out_max = 'FF7711';
|
|
|
|
$graph_max = 1;
|
|
|
|
$unit_text = 'Updates';
|
|
|
|
require 'includes/graphs/generic_duplex.inc.php';
|