mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updated graph definitions (don't fuck with .svn!)
git-svn-id: http://www.observium.org/svn/observer/trunk@1471 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -28,6 +28,6 @@ $colour_area_out_max = "FFefaa";
|
||||
$graph_max = 1;
|
||||
$unit_text = "Cells";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -29,6 +29,6 @@ $graph_max = 1;
|
||||
|
||||
$unit_text = "Errors";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -28,6 +28,6 @@ $colour_area_out_max = "FFefaa";
|
||||
$graph_max = 1;
|
||||
$unit_text = "Packets";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
@@ -19,6 +19,6 @@ $graph_max = 1;
|
||||
|
||||
$unit_text = "Prefixes";
|
||||
|
||||
include("generic_simplex.inc.php");
|
||||
include("includes/graphs/generic_simplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -21,6 +21,6 @@ $graph_max = 1;
|
||||
|
||||
$unit_text = "Updates";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -4,7 +4,7 @@ $device = device_by_id_cache($id);
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$database = $config['rrd_dir'] . "/" . $device['hostname'] . "/hrSystem.rrd";
|
||||
|
||||
|
@@ -4,7 +4,7 @@ $device = device_by_id_cache($id);
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$database = $config['rrd_dir'] . "/" . $device['hostname'] . "/hrSystem.rrd";
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netstats-ip.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename_4 = $config['rrd_dir'] . "/" . $device['hostname'] . "/ipSystemStats-ipv4.rrd";
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ipSystemStats-ipv4.rrd";
|
||||
|
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ipSystemStats-ipv6.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ipSystemStats-ipv6.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netstats-ip.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_load.rrd";
|
||||
|
@@ -3,7 +3,7 @@
|
||||
$device = device_by_id_cache($id);
|
||||
$query = mysql_query("SELECT * FROM `mempools` where `device_id` = '".$id."'");
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " -u 100 -l 0 -E -b 1024 ";
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/procurve-mem.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/ucd_mem.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netstats-snmp.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
$scale_min = "0";
|
||||
$scale_max = "100";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netstats-tcp.rrd";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_filename = $config['rrd_dir'] . "/" . $device['hostname'] . "/netstats-udp.rrd";
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
if (is_file($config['rrd_dir'] . "/" . $device['hostname'] . "/hrSystem.rrd")) {
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
$device = device_by_id_cache($id);
|
||||
|
||||
$rrd_options .= " -l 0 -E ";
|
||||
|
@@ -12,6 +12,6 @@ if(is_file($config['rrd_dir'] . "/" . $disk['hostname'] . "/ucd_diskio-" . safen
|
||||
$rra_in = "read";
|
||||
$rra_out = "written";
|
||||
|
||||
include("generic_bits.inc.php");
|
||||
include("includes/graphs/generic_bits.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -24,6 +24,6 @@ $graph_max = 1;
|
||||
|
||||
$unit_text = "Ops/s";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?php
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " -u 100 -l 0 -E -b 1024 ";
|
||||
|
||||
|
@@ -16,6 +16,6 @@ if(is_file($config['rrd_dir'] . "/" . $port['hostname'] . "/" . safename($port['
|
||||
$rra_in = "INOCTETS";
|
||||
$rra_out = "OUTOCTETS";
|
||||
|
||||
include("generic_bits.inc.php");
|
||||
include("includes/graphs/generic_bits.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -28,6 +28,6 @@ $graph_max = 1;
|
||||
|
||||
$unit_text = "Errors";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " COMMENT:' Last Max\\n'";
|
||||
|
||||
|
@@ -11,6 +11,6 @@ if(is_file($config['rrd_dir'] . "/" . $acc['hostname'] . "/" . safename("cip-" .
|
||||
$rra_in = "IN";
|
||||
$rra_out = "OUT";
|
||||
|
||||
include("generic_bits.inc.php");
|
||||
include("includes/graphs/generic_bits.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -22,6 +22,6 @@ $colour_area_out_max = "FFEFAA";
|
||||
$graph_max = 1;
|
||||
$unit_text = "Pkts\ \ \ ";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -6,7 +6,7 @@ $sort = mres($_GET['sort']);
|
||||
|
||||
if(is_numeric($_GET['topn'])) { $topn = $_GET['topn']; } else { $topn = '10'; }
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
if($stat == "pkts") {
|
||||
$units='pps'; $unit = 'p'; $multiplier = '1';
|
||||
|
@@ -27,6 +27,6 @@ $colour_area_out_max = "FFefaa";
|
||||
$graph_max = 1;
|
||||
$unit_text = "Packets";
|
||||
|
||||
include("generic_duplex.inc.php");
|
||||
include("includes/graphs/generic_duplex.inc.php");
|
||||
|
||||
?>
|
||||
|
@@ -3,7 +3,7 @@
|
||||
$scale_min = "0";
|
||||
$scale_max = "100";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$iter = "1";
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " COMMENT:' Last Max\\n'";
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " COMMENT:' Last Max\\n'";
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
$scale_min = "25";
|
||||
$scale_max = "40";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " COMMENT:' Last Max\\n'";
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
$scale_min = "25";
|
||||
$scale_max = "40";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " COMMENT:' Last Min Max\\n'";
|
||||
|
||||
|
@@ -2,7 +2,7 @@
|
||||
|
||||
$scale_min = "0";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " -A ";
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
$scale_min = "0";
|
||||
$scale_max = "100";
|
||||
|
||||
include("common.inc.php");
|
||||
include("includes/graphs/common.inc.php");
|
||||
|
||||
$rrd_options .= " -b 1024";
|
||||
|
||||
|
Reference in New Issue
Block a user