mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
14 lines
414 B
PHP
14 lines
414 B
PHP
|
|
<?php
|
||
|
|
|
||
|
|
if(is_file($config['rrd_dir'] . "/" . $device['hostname'] ."/netstats-snmp.rrd")) {
|
||
|
|
$graph_title = "SNMP Packets Statistics";
|
||
|
|
$graph_type = "device_snmp_packets";
|
||
|
|
include ("includes/print-device-graph.php");
|
||
|
|
|
||
|
|
$graph_title = "SNMP Message Type Statistics";
|
||
|
|
$graph_type = "device_snmp_statistics";
|
||
|
|
include ("includes/print-device-graph.php");
|
||
|
|
}
|
||
|
|
|
||
|
|
?>
|