mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
@@ -51,7 +51,7 @@ if ($oids) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$temp_unit = snmp_get($device, 'tempUnit.0', '-OevTQUs', 'T3610-MIB');
|
$temp_unit = snmp_get($device, 'tempUnit.0', '-OevTQUs', 'T3610-MIB');
|
||||||
$user_func = '';
|
$user_func = null;
|
||||||
|
|
||||||
if (Str::contains($temp_unit, 'F')) {
|
if (Str::contains($temp_unit, 'F')) {
|
||||||
$user_func = 'fahrenheit_to_celsius';
|
$user_func = 'fahrenheit_to_celsius';
|
||||||
|
Reference in New Issue
Block a user