Files
librenms-librenms/includes/html/pages/device/graphs/ipSytemStats.inc.php
T
Tony Murray 1c379dcd05 Remove legacy function calls (#12651)
* massive inlines

* fix style and wtf

* remove rrdtool.inc.php include

* fix CommonFunctions namespace issues

* looking for missing class space, fix undefined class issues

* style fixes
2021-03-29 00:25:30 +02:00

21 lines
625 B
PHP

<?php
if (Rrd::checkRrdExists(Rrd::name($device['hostname'], 'ipSystemStats-ipv6'))) {
$graph_title = 'IPv6 IP Packet Statistics';
$graph_type = 'device_ipSystemStats_v6';
include 'includes/html/print-device-graph.php';
$graph_title = 'IPv6 IP Fragmentation Statistics';
$graph_type = 'device_ipSystemStats_v6_frag';
include 'includes/html/print-device-graph.php';
}
if (Rrd::checkRrdExists(Rrd::name($device['hostname'], 'ipSystemStats-ipv4'))) {
$graph_title = 'IPv4 IP Packet Statistics';
$graph_type = 'device_ipSystemStats_v4';
include 'includes/html/print-device-graph.php';
}