We have these units with the additional Temp Sensors. With the addition of the code below we are now able to see all of them
// GEIST-MIB-V3::tempSensorSerial.1 = STRING: 200000034EB41F28
// GEIST-MIB-V3::tempSensorName.1 = STRING: Temp Sensor
// GEIST-MIB-V3::tempSensorAvail.1 = Gauge32: 1
// GEIST-MIB-V3::tempSensorTempC.1 = INTEGER: 22 Degrees Celsius
$cache['geist']['tempSensorTable'] = snmpwalk_cache_multi_oid($device, "tempSensorTable", array(), "GEIST-MIB-V3", mib_dirs('geist'));
foreach ($cache['geist']['tempSensorTable'] as $index => $entry)
{
if ($entry['tempSensorAvail'])
{
$descr = $entry['tempSensorName'] . " Temperature";
$oid = ".1.3.6.1.4.1.21239.2.4.1.5.$index";
$prefix = 'tempSensorTempC';
$value = $entry[$prefix];
$limits = (is_array($geist_alarms[$prefix.'.'.$index]) ? $geist_alarms[$prefix.'.'.$index] : array());
if (is_numeric($value))
{
discover_sensor($valid['sensor'], 'temperature', $device, $oid, $prefix.'.'.$index, 'geist-mib-v3', $descr, 1, $value, $limits);
}
}
}
Ron Culler