mirror of
https://github.com/stylersnico/librenms.git
synced 2026-08-02 00:32:09 +02:00
HP ilo temperature: Fixed bug and Best Practice
This commit is contained in:
@@ -21,9 +21,7 @@
|
|||||||
$threshold_oid = "1.3.6.1.4.1.232.6.2.6.8.1.5.$temperature_id";
|
$threshold_oid = "1.3.6.1.4.1.232.6.2.6.8.1.5.$temperature_id";
|
||||||
$threshold = snmp_get($device,$threshold_oid,"-Oqv","");
|
$threshold = snmp_get($device,$threshold_oid,"-Oqv","");
|
||||||
|
|
||||||
discover_sensor($valid['sensor'], 'temperature', $device, $temperature_oid, $oid, 'hpilo', $d
|
discover_sensor($valid['sensor'], 'temperature', $device, $temperature_oid, $oid, 'hpilo', $descr, '2', '1', NULL, NULL, NULL, $threshold, $temperature);
|
||||||
escr, '2', '1', NULL, NULL, NULL, $threshold, $temperature);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
|
||||||
|
|||||||
Reference in New Issue
Block a user