Fix incorrect thresholds

The initial value was fetched incorrectly
This commit is contained in:
Tony Murray
2016-07-22 00:26:02 -05:00
parent 5ca2eab0dc
commit 591983ac75
@@ -12,7 +12,7 @@
if ($device['os'] == 'ibm-amm') {
$oid = 'BLADE-MIB::mmTemp.0';
$mmtemp = snmp_get($device, $oid, '-OsqnU');
$mmtemp = snmp_get($device, $oid, '-Oqv');
preg_match('/[\d\.]+/', $mmtemp, $temp_response);
if (!empty($temp_response[0])) {
@@ -29,7 +29,7 @@ if ($device['os'] == 'ibm-amm') {
}
$oid = 'BLADE-MIB::frontPanelTemp.0';
$fptemp = snmp_get($device, $oid, '-OsqnU');
$fptemp = snmp_get($device, $oid, '-Oqv');
preg_match('/[\d\.]+/', $fptemp, $temp_response);
if (!empty($temp_response[0])) {