mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Use data_update instead of rrd_update/rrd_create and influx_update Centralize rrd file check so we can check against a remote rrdcached server too Use rrd_name() to generate rrd file names
14 lines
325 B
PHP
14 lines
325 B
PHP
<?php
|
|
|
|
if (is_file(rrd_name($device['hostname'], 'netstats-ip'))) {
|
|
$graph_title = 'IP Statistics';
|
|
$graph_type = 'device_ip';
|
|
|
|
include 'includes/print-device-graph.php';
|
|
|
|
$graph_title = 'IP Fragmented Statistics';
|
|
$graph_type = 'device_ip_fragmented';
|
|
|
|
include 'includes/print-device-graph.php';
|
|
}
|