mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
improving ipSystemStats v4/v6 stats, clean up some variables in defaults.inc.php
git-svn-id: http://www.observium.org/svn/observer/trunk@1455 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -1,11 +1,23 @@
|
||||
<?php
|
||||
|
||||
if(is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/ipSystemStats-ipv6.rrd")) {
|
||||
$graph_title = "IPv4/IPv6 Statistics";
|
||||
$graph_type = "device_ipSystemStats";
|
||||
$graph_title = "IPv6 IP Packet Statistics";
|
||||
$graph_type = "device_ipSystemStats_v6";
|
||||
include ("includes/print-device-graph.php");
|
||||
|
||||
$graph_title = "IPv6 IP Fragmentation Statistics";
|
||||
$graph_type = "device_ipSystemStats_v6_frag";
|
||||
include ("includes/print-device-graph.php");
|
||||
|
||||
}
|
||||
|
||||
if(is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/ipSystemStats-ipv4.rrd")) {
|
||||
$graph_title = "IPv4 IP Packet Statistics";
|
||||
$graph_type = "device_ipSystemStats_v4";
|
||||
include ("includes/print-device-graph.php");
|
||||
}
|
||||
|
||||
|
||||
if(is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/netstats-ip.rrd")) {
|
||||
$graph_title = "IP Statistics";
|
||||
$graph_type = "device_ip";
|
||||
|
Reference in New Issue
Block a user