diff --git a/html/includes/graphs/device/netstat_ip_forward.inc.php b/html/includes/graphs/device/netstat_ip_forward.inc.php new file mode 100644 index 0000000000..30402f5c9c --- /dev/null +++ b/html/includes/graphs/device/netstat_ip_forward.inc.php @@ -0,0 +1,23 @@ + array()); + +$i=0; +foreach ($stats as $stat => $array) +{ + $i++; + $rrd_list[$i]['filename'] = $rrd_filename; + $rrd_list[$i]['descr'] = str_replace("ip", "", $stat); + $rrd_list[$i]['ds'] = $stat; +} + +$colours='mixed'; + +$scale_min = "0"; +$nototal = 1; +$simple_rrd = TRUE; + +include("includes/graphs/generic_multi_line.inc.php"); + diff --git a/html/pages/device/graphs/netstats_ip_forward.inc.php b/html/pages/device/graphs/netstats_ip_forward.inc.php new file mode 100644 index 0000000000..cc728ac77c --- /dev/null +++ b/html/pages/device/graphs/netstats_ip_forward.inc.php @@ -0,0 +1,11 @@ + 0) + { + discover_sensor($valid['sensor'], 'fanspeed', $device, $oid, $index, $type, $descr, $divisor, '1', NULL, NULL, NULL, NULL, $fanspeed); + } + } + } +} + diff --git a/includes/discovery/temperatures/mikrotik.inc.php b/includes/discovery/temperatures/mikrotik.inc.php new file mode 100644 index 0000000000..7c03cac27e --- /dev/null +++ b/includes/discovery/temperatures/mikrotik.inc.php @@ -0,0 +1,27 @@ +