--- /dev/null 2026-10-15 21:16:35.110000000 +0200 +++ includes/definitions/os/kentix.inc.php 2026-11-03 14:48:08.258569896 +0100 @@ -0,0 +1,43 @@ + '.1.3.6.1.4.1.332.11.6', + 'KMX-LAN::temperatureValue.0' => '/^-?\d+$/', +]; +$config['os'][$os]['mibs'][] = "KMX-LAN"; + +// Kentix AlarmManager +// SNMPv2-MIB::sysDescr.0 = STRING: Kentix AlarmManager 06.25.02 B00805 +// SNMPv2-MIB::sysObjectID.0 = OID: .1.3.6.1.4.1.37954.5 +$os = "kentix-alarmmanager"; +$config['os'][$os]['text'] = "Kentix AlarmManager"; +$config['os'][$os]['type'] = "environment"; +$config['os'][$os]['vendor'] = "Kentix"; +$config['os'][$os]['discovery'][] = [ + 'sysObjectID' => '.1.3.6.1.4.1.37954.5', + 'sysDescr' => '/^Kentix AlarmManager/', +]; +$config['os'][$os]['sysDescr_regex'][] = '/^Kentix (?AlarmManager) (?\S+)/'; +$config['os'][$os]['mibs'][] = "KENTIXDEVICES"; + +// EOF --- /dev/null 2026-10-15 21:16:35.110000000 +0200 +++ includes/definitions/mibs/kentix.inc.php 2026-11-03 15:11:59.157726959 +0100 @@ -0,0 +1,172 @@ + 'temperatureValue', + 'oid_num' => '.1.3.6.1.4.1.37954.2.1.1.1', + 'class' => 'temperature', + 'descr' => 'Temperature', + 'scale' => 0.1, + 'oid_limit_low' => 'temperatureMin', + 'oid_limit_high' => 'temperatureMax', + 'limit_scale' => 1, +]; + +// KMX-LAN::humidityValue.0 = INTEGER: 363 (factor 0.1) +// KMX-LAN::humidityMin.0 = INTEGER: 10 +// KMX-LAN::humidityMax.0 = INTEGER: 80 +$config['mibs'][$mib]['sensor'][] = [ + 'oid' => 'humidityValue', + 'oid_num' => '.1.3.6.1.4.1.37954.2.1.2.1', + 'class' => 'humidity', + 'descr' => 'Humidity', + 'scale' => 0.1, + 'oid_limit_low' => 'humidityMin', + 'oid_limit_high' => 'humidityMax', + 'limit_scale' => 1, +]; + +// KMX-LAN::dewpointValue.0 = INTEGER: 75 (factor 0.1) +// dewpointMin is a hysteresis to the temperature, not a threshold +$config['mibs'][$mib]['sensor'][] = [ + 'oid' => 'dewpointValue', + 'oid_num' => '.1.3.6.1.4.1.37954.2.1.3.1', + 'class' => 'dewpoint', + 'descr' => 'Dew Point', + 'scale' => 0.1, +]; + +// No status entries for the KMX-LAN alarm objects (temperatureAlarm, humidityAlarm, ...): +// tested with a MultiSensor-LAN managed by a Kentix AlarmManager, temperatureAlarm.0 stayed 0 +// while the value exceeded temperatureMax.0 and the AlarmManager raised the alarm. +// Threshold alerting is covered by the sensor limits above. + +// Kentix AlarmManager (tables indexed by the sensor index of the AlarmManager) + +$mib = 'KENTIXDEVICES'; +$config['mibs'][$mib]['enable'] = 1; +$config['mibs'][$mib]['mib_dir'] = 'kentix'; +$config['mibs'][$mib]['identity_num'] = '.1.3.6.1.4.1.37954.5'; +$config['mibs'][$mib]['descr'] = 'Kentix AlarmManager and current generation devices'; + +// KENTIXDEVICES::sensorName.8 = STRING: Sensor 8 +// KENTIXDEVICES::tempValue.8 = INTEGER: 232 (multiplierTemperature.0 = 10) +// KENTIXDEVICES::tempMin.8 = INTEGER: 5 (whole degrees) +// KENTIXDEVICES::tempMax.8 = INTEGER: 30 +$config['mibs'][$mib]['sensor'][] = [ + 'oid' => 'tempValue', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.2.1.2', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr%', + 'class' => 'temperature', + 'scale' => 0.1, + 'oid_limit_low' => 'tempMin', + 'oid_limit_high' => 'tempMax', + 'limit_scale' => 1, +]; + +// KENTIXDEVICES::humValue.8 = Gauge32: 366 (multiplierHumidity.0 = 10) +// KENTIXDEVICES::humMax.8 = Gauge32: 80 (no humMin exposed) +$config['mibs'][$mib]['sensor'][] = [ + 'oid' => 'humValue', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.3.1.2', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr%', + 'class' => 'humidity', + 'scale' => 0.1, + 'oid_limit_high' => 'humMax', + 'limit_scale' => 1, +]; + +// KENTIXDEVICES::dewValue.8 = INTEGER: 76 (multiplierDewpoint.0 = 10) +// dewMax is a hysteresis to the temperature, not a threshold +$config['mibs'][$mib]['sensor'][] = [ + 'oid' => 'dewValue', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.4.1.2', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr%', + 'class' => 'dewpoint', + 'scale' => 0.1, +]; + +// Alarm states per sensor, observed 0 = ok +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'tempAlarm', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.2.1.3', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% Temperature Alarm', + 'type' => 'kentixdevices-alarm', +]; +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'humAlarm', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.3.1.3', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% Humidity Alarm', + 'type' => 'kentixdevices-alarm', +]; +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'dewAlarm', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.4.1.3', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% Dew Point Alarm', + 'type' => 'kentixdevices-alarm', +]; +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'coAlarm', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.5.1.3', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% CO Alarm', + 'type' => 'kentixdevices-alarm', +]; +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'motAlarm', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.6.1.3', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% Motion Alarm', + 'type' => 'kentixdevices-alarm', +]; +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'vibAlarm', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.7.1.3', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% Vibration Alarm', + 'type' => 'kentixdevices-alarm', +]; + +$config['mibs'][$mib]['states']['kentixdevices-alarm'][0] = [ 'name' => 'ok', 'event' => 'ok' ]; +$config['mibs'][$mib]['states']['kentixdevices-alarm'][1] = [ 'name' => 'alarm', 'event' => 'alert' ]; + +// KENTIXDEVICES::sensorCommunication.8 = Gauge32: 1 (TruthValue, observed 1 = ok) +$config['mibs'][$mib]['status'][] = [ + 'oid' => 'sensorCommunication', + 'oid_num' => '.1.3.6.1.4.1.37954.5.2.1.1.8', + 'oid_descr' => 'sensorName', + 'descr' => '%oid_descr% Communication', + 'type' => 'kentixdevices-communication', +]; + +$config['mibs'][$mib]['states']['kentixdevices-communication'][0] = [ 'name' => 'failed', 'event' => 'alert' ]; +$config['mibs'][$mib]['states']['kentixdevices-communication'][1] = [ 'name' => 'ok', 'event' => 'ok' ]; +$config['mibs'][$mib]['states']['kentixdevices-communication'][2] = [ 'name' => 'failed', 'event' => 'alert' ]; + +// EOF