Power discovery/polling enabled for IPMI, CISCO-ENTITY-SENSORS-MIB and ENTIY-SENSORS-MIB

git-svn-id: http://www.observium.org/svn/observer/trunk@2104 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
Adam Amstrong
2011-04-20 09:59:48 +00:00
parent d12c299072
commit e7c8b77583
10 changed files with 156 additions and 11 deletions
+7 -1
View File
@@ -101,6 +101,9 @@ function sensor_low_limit($class, $current)
case 'fanspeed':
$limit = $current * 0.80;
break;
case 'power':
$limit = NULL;
break;
}
return $limit;
}
@@ -130,6 +133,9 @@ function sensor_limit($class, $current)
case 'fanspeed':
$limit = $current * 1.30;
break;
case 'power':
$limit = $current * 1.50;
break;
}
return $limit;
}
@@ -322,4 +328,4 @@ function discover_toner(&$valid, $device, $oid, $index, $type, $descr, $capacity
$valid[$type][$index] = 1;
}
?>
?>