mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
21 lines
621 B
PHP
21 lines
621 B
PHP
<?php
|
|
|
|
if (rrdtool_check_rrd_exists(rrd_name($device['hostname'], 'ipSystemStats-ipv6'))) {
|
|
$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 (rrdtool_check_rrd_exists(rrd_name($device['hostname'], 'ipSystemStats-ipv4'))) {
|
|
$graph_title = 'IPv4 IP Packet Statistics';
|
|
$graph_type = 'device_ipSystemStats_v4';
|
|
|
|
include 'includes/print-device-graph.php';
|
|
}
|