Index: includes/definitions/mibs/geist.inc.php =================================================================== --- includes/definitions/mibs/geist.inc.php (revision 10428) +++ includes/definitions/mibs/geist.inc.php (working copy) @@ -493,6 +493,7 @@ $config['mibs'][$mib]['states']['geist-v4-mib-io-state'][99] = array('name' => '99', 'event' => 'alert'); $config['mibs'][$mib]['states']['geist-v4-mib-io-state'][100] = array('name' => '5V', 'event' => 'ok'); +// - tempSensorTable $config['mibs'][$mib]['sensor'][] = array( 'table' => 'tempSensorTable', 'class' => 'temperature', @@ -506,12 +507,97 @@ 'rename_rrd' => 'GEIST-V4-MIB-tempSensorTemp-%index%' ); +// - airFlowSensorTable +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'airFlowSensorTable', + 'class' => 'temperature', + 'descr' => '%airFlowSensorLabel% %index%', + 'oid' => 'airFlowSensorTemp', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.5.1.5', + 'scale' => 0.1, + 'oid_unit' => 'temperatureUnits.0', + 'map_unit' => [ 'celsius' => 'C', 'fahrenheit' => 'F' ], + 'test' => [ 'field' => 'airFlowSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-airFlowSensorTemp-%index%' +); + +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'airFlowSensorTable', + 'class' => 'airflow', + 'descr' => '%airFlowSensorLabel% %index%', + 'oid' => 'airFlowSensorFlow', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.5.1.6', + 'scale' => 1, + 'test' => [ 'field' => 'airFlowSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-airFlowSensorFlow-%index%' +); + +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'airFlowSensorTable', + 'class' => 'humidity', + 'descr' => '%airFlowSensorLabel% %index%', + 'oid' => 'airFlowSensorHumidity', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.5.1.7', + 'scale' => 1, + 'test' => [ 'field' => 'airFlowSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-airFlowSensorHumidity-%index%' +); + +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'airFlowSensorTable', + 'class' => 'dewpoint', + 'descr' => '%airFlowSensorLabel% %index%', + 'oid' => 'airFlowSensorDewPoint', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.5.1.8', + 'scale' => 0.1, + 'oid_unit' => 'temperatureUnits.0', + 'map_unit' => [ 'celsius' => 'C', 'fahrenheit' => 'F' ], + 'test' => [ 'field' => 'airFlowSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-airFlowSensorDewPoint-%index%' +); + +// - thdSensorTable +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'thdSensorTable', + 'class' => 'temperature', + 'descr' => '%thdSensorLabel% %index%', + 'oid' => 'thdSensorTemp', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.9.1.5', + 'scale' => 0.1, + 'oid_unit' => 'temperatureUnits.0', + 'map_unit' => [ 'celsius' => 'C', 'fahrenheit' => 'F' ], + 'test' => [ 'field' => 'thdSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-thdSensorTemp-%index%' +); + +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'thdSensorTable', + 'class' => 'humidity', + 'descr' => '%thdSensorLabel% %index%', + 'oid' => 'thdSensorHumidity', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.9.1.6', + 'scale' => 1, + 'test' => [ 'field' => 'thdSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-thdSensorHumidity-%index%' +); + +$config['mibs'][$mib]['sensor'][] = array( + 'table' => 'thdSensorTable', + 'class' => 'dewpoint', + 'descr' => '%thdSensorLabel% %index%', + 'oid' => 'thdSensorDewPoint', + 'oid_num' => '.1.3.6.1.4.1.21239.5.1.9.1.7', + 'scale' => 0.1, + 'oid_unit' => 'temperatureUnits.0', + 'map_unit' => [ 'celsius' => 'C', 'fahrenheit' => 'F' ], + 'test' => [ 'field' => 'thdSensorAvail', 'operator' => 'ge', 'value' => 1 ], + 'rename_rrd' => 'GEIST-V4-MIB-thdSensorDewPoint-%index%' +); + // Not supported yet (no test device available): -// - airFlowSensorTable // - dewPointSensorTable // - ccatSensorTable // - t3hdSensorTable -// - thdSensorTable // - rpmSensorTable $mib = 'VERTIV-V5-MIB'; // Old name is GEIST-V5-MIB