mirror of
https://github.com/librenms/librenms.git
synced 2024-09-29 14:26:25 +00:00
set low limit to 0
This commit is contained in:
parent
0f695b7940
commit
e714953156
@ -23,7 +23,7 @@ if ($device['os'] == "drac") {
|
||||
$current = snmp_get($device, $voltage_oid, "-Oqv", "IDRAC-MIB-SMIv2");
|
||||
$high_limit = snmp_get($device, $limit_oid, "-Oqv", "IDRAC-MIB-SMIv2");
|
||||
$divisor = "1";
|
||||
discover_sensor($valid['sensor'], 'voltage', $device, $voltage_oid, $index, 'drac', $descr, $divisor, '1', NULL, NULL, NULL, $high_limit, $current);
|
||||
discover_sensor($valid['sensor'], 'voltage', $device, $voltage_oid, $index, 'drac', $descr, $divisor, '1', 0, NULL, NULL, $high_limit, $current);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user