diff --git a/includes/discovery/sensors/fanspeeds/qnap.inc.php b/includes/discovery/sensors/fanspeeds/qnap.inc.php new file mode 100644 index 000000000..2f06661fa --- /dev/null +++ b/includes/discovery/sensors/fanspeeds/qnap.inc.php @@ -0,0 +1,23 @@ + $entry) { + // Get the fan speed full oid + $fan_oid = $fan_speed_oid.$fan_number; + // Get the fan speed + $fan_speed = $entry['SysFanSpeed']; + // Getting the fan information + $fan_information = $entry['SysFanDescr']; + // Save the temperature for the disk + discover_sensor($valid['sensor'], 'fanspeed', $device, $fan_oid, $fan_number, 'snmp', $fan_information, '1', '1', null, null, null, null, $fan_speed); + } + } + +}//end if