mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
improved cipsec graphs
git-svn-id: http://www.observium.org/svn/observer/trunk@1608 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,16 +1,23 @@
|
||||
<?php
|
||||
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/cipsec_flow.rrd";
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " DEF:Tunnels=$rrd_filename:Tunnels:AVERAGE";
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/cipsec_flow.rrd";
|
||||
|
||||
$rra = "Tunnels";
|
||||
|
||||
$colour_area = "9999cc";
|
||||
$colour_line = "0000cc";
|
||||
|
||||
$colour_area_max = "aaaaacc";
|
||||
|
||||
$scale_min = 0;
|
||||
|
||||
$unit_text = "Active Tunnels";
|
||||
|
||||
include("includes/graphs/generic_simplex.inc.php");
|
||||
|
||||
$rrd_options .= " COMMENT:'Tunnels Current Average Maximum\\n'";
|
||||
$rrd_options .= " LINE1.25:Tunnels#660000:'Active Tunnels'";
|
||||
$rrd_options .= " GPRINT:Tunnels:LAST:%6.2lf%s";
|
||||
$rrd_options .= " GPRINT:Tunnels:AVERAGE:\ %6.2lf%s";
|
||||
$rrd_options .= " GPRINT:Tunnels:MAX:\ %6.2lf%s\\\\n";
|
||||
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user