2012-04-06 13:56:23 +00:00
|
|
|
<?php
|
2011-05-05 11:27:22 +00:00
|
|
|
|
2016-07-08 15:09:11 -05:00
|
|
|
if (rrdtool_check_rrd_exists(rrd_name($device['hostname'], 'ipSystemStats-ipv6'))) {
|
2015-07-10 13:36:21 +02:00
|
|
|
$graph_title = 'IPv6 IP Packet Statistics';
|
|
|
|
|
$graph_type = 'device_ipSystemStats_v6';
|
2011-05-05 11:27:22 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
include 'includes/print-device-graph.php';
|
2011-05-05 11:27:22 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
$graph_title = 'IPv6 IP Fragmentation Statistics';
|
|
|
|
|
$graph_type = 'device_ipSystemStats_v6_frag';
|
2011-05-05 11:27:22 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
include 'includes/print-device-graph.php';
|
2012-04-06 13:56:23 +00:00
|
|
|
}
|
|
|
|
|
|
2016-07-08 15:09:11 -05:00
|
|
|
if (rrdtool_check_rrd_exists(rrd_name($device['hostname'], 'ipSystemStats-ipv4'))) {
|
2015-07-10 13:36:21 +02:00
|
|
|
$graph_title = 'IPv4 IP Packet Statistics';
|
|
|
|
|
$graph_type = 'device_ipSystemStats_v4';
|
2012-04-06 13:56:23 +00:00
|
|
|
|
2015-07-10 13:36:21 +02:00
|
|
|
include 'includes/print-device-graph.php';
|
2012-04-06 13:56:23 +00:00
|
|
|
}
|