Files

21 lines
633 B
PHP
Raw Permalink Normal View History

2012-04-06 13:56:23 +00:00
<?php
if (rrdtool_check_rrd_exists(rrd_name($device['hostname'], 'ipSystemStats-ipv6'))) {
$graph_title = 'IPv6 IP Packet Statistics';
2020-09-21 15:40:17 +02:00
$graph_type = 'device_ipSystemStats_v6';
2019-04-11 23:26:42 -05:00
include 'includes/html/print-device-graph.php';
$graph_title = 'IPv6 IP Fragmentation Statistics';
2020-09-21 15:40:17 +02:00
$graph_type = 'device_ipSystemStats_v6_frag';
2019-04-11 23:26:42 -05:00
include 'includes/html/print-device-graph.php';
2012-04-06 13:56:23 +00:00
}
if (rrdtool_check_rrd_exists(rrd_name($device['hostname'], 'ipSystemStats-ipv4'))) {
$graph_title = 'IPv4 IP Packet Statistics';
2020-09-21 15:40:17 +02:00
$graph_type = 'device_ipSystemStats_v4';
2012-04-06 13:56:23 +00:00
2019-04-11 23:26:42 -05:00
include 'includes/html/print-device-graph.php';
2012-04-06 13:56:23 +00:00
}