diff --git a/includes/discovery/sensors/runtime/apc.inc.php b/includes/discovery/sensors/runtime/apc.inc.php index c09d47d674..09d5bf90d8 100644 --- a/includes/discovery/sensors/runtime/apc.inc.php +++ b/includes/discovery/sensors/runtime/apc.inc.php @@ -6,6 +6,7 @@ if ($oids) { echo ' APC Runtime '; [$oid,$current] = explode(' ', $oids); $divisor = 6000; + $current /= $divisor; $type = 'apc'; $index = 'upsAdvBatteryRunTimeRemaining.0'; $descr = 'Runtime'; diff --git a/tests/data/apc_smart1500.json b/tests/data/apc_smart1500.json new file mode 100644 index 0000000000..b10c84fe91 --- /dev/null +++ b/tests/data/apc_smart1500.json @@ -0,0 +1,748 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.4.1.318.1.3.27", + "sysDescr": "APC Web/SNMP Management Card (MB:v4.1.0 PF:v7.1.2 PN:apc_hw05_aos_712.bin AF1:v7.1.2 AN1:apc_hw05_sumx_712.bin MN:AP9631 HR:08 SN: 5A1274T28648 MD:04/06/2019) (Embedded PowerNet SNMP Agent SW v2.2 compatible)", + "sysContact": null, + "version": "AOS v7.1.2 / App v7.1.2", + "hardware": "Web/SNMP Management Card (MB:v4.1.0 PF:v7.1.2 PN:apc_hw05_aos_712.bin AF1:v7.1.2 AN1:apc_hw05_sumx_712.bin MN:AP9631 HR:08 SN: 5A1274T28648 MD:04/06/2019)", + "features": null, + "location": null, + "os": "apc", + "type": "power", + "serial": null, + "icon": "apc.svg" + } + ] + }, + "poller": "matches discovery" + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "charge", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.1.0", + "sensor_index": "0", + "sensor_type": "apc", + "sensor_descr": "Battery Charge", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 100, + "sensor_limit": 100, + "sensor_limit_warn": null, + "sensor_limit_low": 0, + "sensor_limit_low_warn": 10, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "count", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.21.0", + "sensor_index": "upsAdvBatteryRecommendedReplaceDate.0", + "sensor_type": "apc", + "sensor_descr": "Battery Recommended Days Remaining", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2139, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": 0, + "sensor_limit_low_warn": 30, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": "dateToDays", + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.4.0", + "sensor_index": "0", + "sensor_type": "apcUPS", + "sensor_descr": "Phase 0 Output", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.4.0", + "sensor_index": "3.3.4.0", + "sensor_type": "apc", + "sensor_descr": "Input", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 50, + "sensor_limit": 52.5, + "sensor_limit_warn": null, + "sensor_limit_low": 47.5, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.2.0", + "sensor_index": "4.3.2.0", + "sensor_type": "apc", + "sensor_descr": "Output", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 50, + "sensor_limit": 52.5, + "sensor_limit_warn": null, + "sensor_limit_low": 47.5, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", + "sensor_index": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", + "sensor_type": "apc", + "sensor_descr": "Load(VA)", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 17.6, + "sensor_limit": 80, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.2.8.0", + "sensor_index": "PowerNet-MIB::upsAdvOutputActivePower.0", + "sensor_type": "apc", + "sensor_descr": "Active Power", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 169, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "runtime", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.3.0", + "sensor_index": "upsAdvBatteryRunTimeRemaining.0", + "sensor_type": "apc", + "sensor_descr": "Runtime", + "group": null, + "sensor_divisor": 6000, + "sensor_multiplier": 1, + "sensor_current": 76, + "sensor_limit": 3000, + "sensor_limit_warn": 2000, + "sensor_limit_low": 5, + "sensor_limit_low_warn": 10, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.4.0", + "sensor_index": "0", + "sensor_type": "upsAdvBatteryReplaceIndicator", + "sensor_descr": "UPS Battery Replacement Status", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": "0", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "upsAdvBatteryReplaceIndicator" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.2.5.0", + "sensor_index": "upsAdvInputLineFailCause.0", + "sensor_type": "upsAdvInputLineFailCause", + "sensor_descr": "Last failure cause", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 1, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "upsAdvInputLineFailCause" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.7.2.3.0", + "sensor_index": "0", + "sensor_type": "upsAdvTestDiagnosticsResults", + "sensor_descr": "UPS diagnostics status", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 3, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "upsAdvTestDiagnosticsResults" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.1.1.0", + "sensor_index": "0", + "sensor_type": "upsBasicOutputStatus", + "sensor_descr": "Output Status", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 2, + "sensor_limit": null, + "sensor_limit_warn": null, + "sensor_limit_low": null, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": "upsBasicOutputStatus" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.2.0", + "sensor_index": "0", + "sensor_type": "apc", + "sensor_descr": "Internal Temperature", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 30, + "sensor_limit": 50, + "sensor_limit_warn": null, + "sensor_limit_low": 20, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.25.1.2.1.6.1.1", + "sensor_index": "1", + "sensor_type": "apc", + "sensor_descr": "Temp. Rack", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 30, + "sensor_limit": 50, + "sensor_limit_warn": null, + "sensor_limit_low": 20, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.25.1.2.1.6.2.1", + "sensor_index": "2", + "sensor_type": "apc", + "sensor_descr": "Temp. Room", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 21, + "sensor_limit": 41, + "sensor_limit_warn": null, + "sensor_limit_low": 11, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.4.0", + "sensor_index": "2.3.4.0", + "sensor_type": "apc", + "sensor_descr": "Battery Bus", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 27, + "sensor_limit": 31.05, + "sensor_limit_warn": null, + "sensor_limit_low": 22.95, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.1.0", + "sensor_index": "3.3.1.0", + "sensor_type": "apc", + "sensor_descr": "Input", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 247.6, + "sensor_limit": 284.74, + "sensor_limit_warn": null, + "sensor_limit_low": 210.46, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.1.0", + "sensor_index": "4.3.1.0", + "sensor_type": "apc", + "sensor_descr": "Output", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 247.6, + "sensor_limit": 284.74, + "sensor_limit_warn": null, + "sensor_limit_low": 210.46, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "rrd_type": "GAUGE", + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "upsAdvBatteryReplaceIndicator", + "state_descr": "noBatteryNeedsReplacing", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvBatteryReplaceIndicator", + "state_descr": "batteryNeedsReplacing", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 2 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "noTransfer", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "highLineVoltage", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "brownout", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "blackout", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "smallMomentarySag", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "deepMomentarySag", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "smallMomentarySag", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "largeMomentarySpike", + "state_draw_graph": 0, + "state_value": 8, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "selfTest", + "state_draw_graph": 0, + "state_value": 9, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvInputLineFailCause", + "state_descr": "rateOfVoltageChange", + "state_draw_graph": 0, + "state_value": 10, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvTestDiagnosticsResults", + "state_descr": "ok", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "upsAdvTestDiagnosticsResults", + "state_descr": "failed", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 3 + }, + { + "state_name": "upsAdvTestDiagnosticsResults", + "state_descr": "invalidTest", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 1 + }, + { + "state_name": "upsAdvTestDiagnosticsResults", + "state_descr": "testInProgress", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "onLine", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "onBattery", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "onSmartBoost", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "timedSleeping", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "softwareBypass", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "off", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 2 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "rebooting", + "state_draw_graph": 0, + "state_value": 8, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "switchedBypass", + "state_draw_graph": 0, + "state_value": 9, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "hardwareFailureBypass", + "state_draw_graph": 0, + "state_value": 10, + "state_generic_value": 2 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "sleepingUntilPowerReturn", + "state_draw_graph": 0, + "state_value": 11, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "onSmartTrim", + "state_draw_graph": 0, + "state_value": 12, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "ecoMode", + "state_draw_graph": 0, + "state_value": 13, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "hotStandby", + "state_draw_graph": 0, + "state_value": 14, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "onBatteryTest", + "state_draw_graph": 0, + "state_value": 15, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "emergencyStaticBypass", + "state_draw_graph": 0, + "state_value": 16, + "state_generic_value": 2 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "staticBypassStandby", + "state_draw_graph": 0, + "state_value": 17, + "state_generic_value": 1 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "powerSavingMode", + "state_draw_graph": 0, + "state_value": 18, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "spotMode", + "state_draw_graph": 0, + "state_value": 19, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "eConversion", + "state_draw_graph": 0, + "state_value": 20, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "chargerSpotmode", + "state_draw_graph": 0, + "state_value": 21, + "state_generic_value": 0 + }, + { + "state_name": "upsBasicOutputStatus", + "state_descr": "inverterSpotmode", + "state_draw_graph": 0, + "state_value": 22, + "state_generic_value": 0 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/data/apc_smt750x-nmc2.json b/tests/data/apc_smt750x-nmc2.json index 2e2261b13b..3f936f49ad 100644 --- a/tests/data/apc_smt750x-nmc2.json +++ b/tests/data/apc_smt750x-nmc2.json @@ -569,7 +569,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 10976200, + "sensor_current": 1829.3666666667, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -1077,7 +1077,7 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_prev": 10976200, + "sensor_prev": 1829.3666666667, "user_func": null, "rrd_type": "GAUGE", "state_name": null diff --git a/tests/data/apc_smtl1000-nmc3.json b/tests/data/apc_smtl1000-nmc3.json index 6b66158278..014346a5ac 100644 --- a/tests/data/apc_smtl1000-nmc3.json +++ b/tests/data/apc_smtl1000-nmc3.json @@ -594,7 +594,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 152200, + "sensor_current": 25.366666666667, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -1152,7 +1152,7 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_prev": 152200, + "sensor_prev": 25.366666666667, "user_func": null, "rrd_type": "GAUGE", "state_name": null diff --git a/tests/data/apc_smx750.json b/tests/data/apc_smx750.json index fae7087c1c..af0981c020 100644 --- a/tests/data/apc_smx750.json +++ b/tests/data/apc_smx750.json @@ -644,7 +644,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 1637400, + "sensor_current": 272.9, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -1100,674 +1100,6 @@ } ] }, - "poller": { - "sensors": [ - { - "sensor_deleted": 0, - "sensor_class": "charge", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.1.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Battery Charge", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 100, - "sensor_limit": 100, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "count", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.5.0", - "sensor_index": "upsAdvBatteryNumOfBattPacks.0", - "sensor_type": "apc", - "sensor_descr": "Installed batteries", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 3, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "count", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.21.0", - "sensor_index": "upsAdvBatteryRecommendedReplaceDate.0", - "sensor_type": "apc", - "sensor_descr": "Battery Recommended Days Remaining", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 1523, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": 30, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": "dateToDays", - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "current", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.4.0", - "sensor_index": "0", - "sensor_type": "apcUPS", - "sensor_descr": "Phase 0 Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 2.2, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.4.0", - "sensor_index": "3.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 49.9, - "sensor_limit": 52.395, - "sensor_limit_warn": null, - "sensor_limit_low": 47.405, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.2.0", - "sensor_index": "4.3.2.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 49.9, - "sensor_limit": 52.395, - "sensor_limit_warn": null, - "sensor_limit_low": 47.405, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "load", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_index": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_type": "apc", - "sensor_descr": "Load(VA)", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 76.2, - "sensor_limit": 80, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "power", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.2.8.0", - "sensor_index": "PowerNet-MIB::upsAdvOutputActivePower.0", - "sensor_type": "apc", - "sensor_descr": "Active Power", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 333, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "runtime", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.3.0", - "sensor_index": "upsAdvBatteryRunTimeRemaining.0", - "sensor_type": "apc", - "sensor_descr": "Runtime", - "group": null, - "sensor_divisor": 6000, - "sensor_multiplier": 1, - "sensor_current": 272.9, - "sensor_limit": 3000, - "sensor_limit_warn": 2000, - "sensor_limit_low": 5, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": 1637400, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.4.0", - "sensor_index": "0", - "sensor_type": "upsAdvBatteryReplaceIndicator", - "sensor_descr": "UPS Battery Replacement Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 1, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": "0", - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsAdvBatteryReplaceIndicator" - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.2.5.0", - "sensor_index": "upsAdvInputLineFailCause.0", - "sensor_type": "upsAdvInputLineFailCause", - "sensor_descr": "Last failure cause", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 9, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsAdvInputLineFailCause" - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.1.1.0", - "sensor_index": "0", - "sensor_type": "upsBasicOutputStatus", - "sensor_descr": "Output Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 2, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsBasicOutputStatus" - }, - { - "sensor_deleted": 0, - "sensor_class": "temperature", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.2.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Internal Temperature", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 20.9, - "sensor_limit": 40.9, - "sensor_limit_warn": null, - "sensor_limit_low": 10.9, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "temperature", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.25.1.2.1.6.1.1", - "sensor_index": "1", - "sensor_type": "apc", - "sensor_descr": null, - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 25, - "sensor_limit": 45, - "sensor_limit_warn": null, - "sensor_limit_low": 15, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.4.0", - "sensor_index": "2.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Battery Bus", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 54.5, - "sensor_limit": 62.675, - "sensor_limit_warn": null, - "sensor_limit_low": 46.325, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.1.0", - "sensor_index": "3.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 246, - "sensor_limit": 282.9, - "sensor_limit_warn": null, - "sensor_limit_low": 209.1, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.1.0", - "sensor_index": "4.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 246.1, - "sensor_limit": 283.015, - "sensor_limit_warn": null, - "sensor_limit_low": 209.185, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - } - ], - "state_indexes": [ - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "noBatteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "batteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 2 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "noTransfer", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "highLineVoltage", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "brownout", - "state_draw_graph": 0, - "state_value": 3, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "blackout", - "state_draw_graph": 0, - "state_value": 4, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "smallMomentarySag", - "state_draw_graph": 0, - "state_value": 5, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "deepMomentarySag", - "state_draw_graph": 0, - "state_value": 6, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "smallMomentarySag", - "state_draw_graph": 0, - "state_value": 7, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "largeMomentarySpike", - "state_draw_graph": 0, - "state_value": 8, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "selfTest", - "state_draw_graph": 0, - "state_value": 9, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "rateOfVoltageChange", - "state_draw_graph": 0, - "state_value": 10, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "unknown", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 3 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onLine", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBattery", - "state_draw_graph": 0, - "state_value": 3, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartBoost", - "state_draw_graph": 0, - "state_value": 4, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "timedSleeping", - "state_draw_graph": 0, - "state_value": 5, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "softwareBypass", - "state_draw_graph": 0, - "state_value": 6, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "off", - "state_draw_graph": 0, - "state_value": 7, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "rebooting", - "state_draw_graph": 0, - "state_value": 8, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "switchedBypass", - "state_draw_graph": 0, - "state_value": 9, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hardwareFailureBypass", - "state_draw_graph": 0, - "state_value": 10, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "sleepingUntilPowerReturn", - "state_draw_graph": 0, - "state_value": 11, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartTrim", - "state_draw_graph": 0, - "state_value": 12, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "ecoMode", - "state_draw_graph": 0, - "state_value": 13, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hotStandby", - "state_draw_graph": 0, - "state_value": 14, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBatteryTest", - "state_draw_graph": 0, - "state_value": 15, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "emergencyStaticBypass", - "state_draw_graph": 0, - "state_value": 16, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "staticBypassStandby", - "state_draw_graph": 0, - "state_value": 17, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "powerSavingMode", - "state_draw_graph": 0, - "state_value": 18, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "spotMode", - "state_draw_graph": 0, - "state_value": 19, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "eConversion", - "state_draw_graph": 0, - "state_value": 20, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "chargerSpotmode", - "state_draw_graph": 0, - "state_value": 21, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "inverterSpotmode", - "state_draw_graph": 0, - "state_value": 22, - "state_generic_value": 0 - } - ] - } + "poller": "matches discovery" } } diff --git a/tests/data/apc_sua1500rmi2u.json b/tests/data/apc_sua1500rmi2u.json index acafa5e838..59088c1b21 100644 --- a/tests/data/apc_sua1500rmi2u.json +++ b/tests/data/apc_sua1500rmi2u.json @@ -569,7 +569,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 396000, + "sensor_current": 66, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -930,504 +930,6 @@ } ] }, - "poller": { - "sensors": [ - { - "sensor_deleted": 0, - "sensor_class": "charge", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.1.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Battery Charge", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 100, - "sensor_limit": 100, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "current", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.4.0", - "sensor_index": "0", - "sensor_type": "apcUPS", - "sensor_descr": "Phase 0 Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 0, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.4.0", - "sensor_index": "3.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 50, - "sensor_limit": 52.5, - "sensor_limit_warn": null, - "sensor_limit_low": 47.5, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.2.0", - "sensor_index": "4.3.2.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 50, - "sensor_limit": 52.5, - "sensor_limit_warn": null, - "sensor_limit_low": 47.5, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "load", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_index": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_type": "apc", - "sensor_descr": "Load(VA)", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 16.9, - "sensor_limit": 80, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "runtime", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.3.0", - "sensor_index": "upsAdvBatteryRunTimeRemaining.0", - "sensor_type": "apc", - "sensor_descr": "Runtime", - "group": null, - "sensor_divisor": 6000, - "sensor_multiplier": 1, - "sensor_current": 66, - "sensor_limit": 3000, - "sensor_limit_warn": 2000, - "sensor_limit_low": 5, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": 396000, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.4.0", - "sensor_index": "0", - "sensor_type": "upsAdvBatteryReplaceIndicator", - "sensor_descr": "UPS Battery Replacement Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 1, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": "0", - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsAdvBatteryReplaceIndicator" - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.1.1.0", - "sensor_index": "0", - "sensor_type": "upsBasicOutputStatus", - "sensor_descr": "Output Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 2, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsBasicOutputStatus" - }, - { - "sensor_deleted": 0, - "sensor_class": "temperature", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.2.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Internal Temperature", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 26.1, - "sensor_limit": 46.1, - "sensor_limit_warn": null, - "sensor_limit_low": 16.1, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "temperature", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.10.2.3.2.1.4.1", - "sensor_index": "1", - "sensor_type": "apc", - "sensor_descr": "AP9512T", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 26, - "sensor_limit": 46, - "sensor_limit_warn": 40, - "sensor_limit_low": 16, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.4.0", - "sensor_index": "2.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Battery Bus", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 27.5, - "sensor_limit": 31.625, - "sensor_limit_warn": null, - "sensor_limit_low": 23.375, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.1.0", - "sensor_index": "3.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 239, - "sensor_limit": 274.85, - "sensor_limit_warn": null, - "sensor_limit_low": 203.15, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.1.0", - "sensor_index": "4.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 239, - "sensor_limit": 274.85, - "sensor_limit_warn": null, - "sensor_limit_low": 203.15, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - } - ], - "state_indexes": [ - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "noBatteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "batteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "unknown", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 3 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onLine", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBattery", - "state_draw_graph": 0, - "state_value": 3, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartBoost", - "state_draw_graph": 0, - "state_value": 4, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "timedSleeping", - "state_draw_graph": 0, - "state_value": 5, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "softwareBypass", - "state_draw_graph": 0, - "state_value": 6, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "off", - "state_draw_graph": 0, - "state_value": 7, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "rebooting", - "state_draw_graph": 0, - "state_value": 8, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "switchedBypass", - "state_draw_graph": 0, - "state_value": 9, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hardwareFailureBypass", - "state_draw_graph": 0, - "state_value": 10, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "sleepingUntilPowerReturn", - "state_draw_graph": 0, - "state_value": 11, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartTrim", - "state_draw_graph": 0, - "state_value": 12, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "ecoMode", - "state_draw_graph": 0, - "state_value": 13, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hotStandby", - "state_draw_graph": 0, - "state_value": 14, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBatteryTest", - "state_draw_graph": 0, - "state_value": 15, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "emergencyStaticBypass", - "state_draw_graph": 0, - "state_value": 16, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "staticBypassStandby", - "state_draw_graph": 0, - "state_value": 17, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "powerSavingMode", - "state_draw_graph": 0, - "state_value": 18, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "spotMode", - "state_draw_graph": 0, - "state_value": 19, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "eConversion", - "state_draw_graph": 0, - "state_value": 20, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "chargerSpotmode", - "state_draw_graph": 0, - "state_value": 21, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "inverterSpotmode", - "state_draw_graph": 0, - "state_value": 22, - "state_generic_value": 0 - } - ] - } + "poller": "matches discovery" } } diff --git a/tests/data/apc_sua750i.json b/tests/data/apc_sua750i.json index c85d79f961..252c45d84e 100644 --- a/tests/data/apc_sua750i.json +++ b/tests/data/apc_sua750i.json @@ -594,7 +594,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 438000, + "sensor_current": 73, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -930,504 +930,6 @@ } ] }, - "poller": { - "sensors": [ - { - "sensor_deleted": 0, - "sensor_class": "charge", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.1.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Battery Charge", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 100, - "sensor_limit": 100, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "count", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.21.0", - "sensor_index": "upsAdvBatteryRecommendedReplaceDate.0", - "sensor_type": "apc", - "sensor_descr": "Battery Recommended Days Remaining", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 9, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": 30, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": "dateToDays", - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "current", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.4.0", - "sensor_index": "0", - "sensor_type": "apcUPS", - "sensor_descr": "Phase 0 Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 0.2, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.4.0", - "sensor_index": "3.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 50, - "sensor_limit": 52.5, - "sensor_limit_warn": null, - "sensor_limit_low": 47.5, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.2.0", - "sensor_index": "4.3.2.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 50, - "sensor_limit": 52.5, - "sensor_limit_warn": null, - "sensor_limit_low": 47.5, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "load", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_index": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_type": "apc", - "sensor_descr": "Load(VA)", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 22.7, - "sensor_limit": 80, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "runtime", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.3.0", - "sensor_index": "upsAdvBatteryRunTimeRemaining.0", - "sensor_type": "apc", - "sensor_descr": "Runtime", - "group": null, - "sensor_divisor": 6000, - "sensor_multiplier": 1, - "sensor_current": 73, - "sensor_limit": 3000, - "sensor_limit_warn": 2000, - "sensor_limit_low": 5, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": 438000, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.4.0", - "sensor_index": "0", - "sensor_type": "upsAdvBatteryReplaceIndicator", - "sensor_descr": "UPS Battery Replacement Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 1, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": "0", - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsAdvBatteryReplaceIndicator" - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.1.1.0", - "sensor_index": "0", - "sensor_type": "upsBasicOutputStatus", - "sensor_descr": "Output Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 2, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsBasicOutputStatus" - }, - { - "sensor_deleted": 0, - "sensor_class": "temperature", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.2.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Internal Temperature", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 36.9, - "sensor_limit": 56.9, - "sensor_limit_warn": null, - "sensor_limit_low": 26.9, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.4.0", - "sensor_index": "2.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Battery Bus", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 27.2, - "sensor_limit": 31.28, - "sensor_limit_warn": null, - "sensor_limit_low": 23.12, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.1.0", - "sensor_index": "3.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 243.3, - "sensor_limit": 279.795, - "sensor_limit_warn": null, - "sensor_limit_low": 206.805, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.1.0", - "sensor_index": "4.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 243.3, - "sensor_limit": 279.795, - "sensor_limit_warn": null, - "sensor_limit_low": 206.805, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - } - ], - "state_indexes": [ - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "noBatteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "batteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "unknown", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 3 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onLine", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBattery", - "state_draw_graph": 0, - "state_value": 3, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartBoost", - "state_draw_graph": 0, - "state_value": 4, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "timedSleeping", - "state_draw_graph": 0, - "state_value": 5, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "softwareBypass", - "state_draw_graph": 0, - "state_value": 6, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "off", - "state_draw_graph": 0, - "state_value": 7, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "rebooting", - "state_draw_graph": 0, - "state_value": 8, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "switchedBypass", - "state_draw_graph": 0, - "state_value": 9, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hardwareFailureBypass", - "state_draw_graph": 0, - "state_value": 10, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "sleepingUntilPowerReturn", - "state_draw_graph": 0, - "state_value": 11, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartTrim", - "state_draw_graph": 0, - "state_value": 12, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "ecoMode", - "state_draw_graph": 0, - "state_value": 13, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hotStandby", - "state_draw_graph": 0, - "state_value": 14, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBatteryTest", - "state_draw_graph": 0, - "state_value": 15, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "emergencyStaticBypass", - "state_draw_graph": 0, - "state_value": 16, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "staticBypassStandby", - "state_draw_graph": 0, - "state_value": 17, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "powerSavingMode", - "state_draw_graph": 0, - "state_value": 18, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "spotMode", - "state_draw_graph": 0, - "state_value": 19, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "eConversion", - "state_draw_graph": 0, - "state_value": 20, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "chargerSpotmode", - "state_draw_graph": 0, - "state_value": 21, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "inverterSpotmode", - "state_draw_graph": 0, - "state_value": 22, - "state_generic_value": 0 - } - ] - } + "poller": "matches discovery" } } diff --git a/tests/data/apc_surt3000xl.json b/tests/data/apc_surt3000xl.json index d9a473a422..e2e262d9bd 100644 --- a/tests/data/apc_surt3000xl.json +++ b/tests/data/apc_surt3000xl.json @@ -594,7 +594,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 1952600, + "sensor_current": 325.43333333333, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -1197,7 +1197,7 @@ "sensor_custom": "No", "entPhysicalIndex": null, "entPhysicalIndex_measured": null, - "sensor_prev": 1952600, + "sensor_prev": 325.43333333333, "user_func": null, "rrd_type": "GAUGE", "state_name": null diff --git a/tests/data/apc_symmetralx.json b/tests/data/apc_symmetralx.json index ea83784829..baeb6246f8 100644 --- a/tests/data/apc_symmetralx.json +++ b/tests/data/apc_symmetralx.json @@ -619,7 +619,7 @@ "group": null, "sensor_divisor": 6000, "sensor_multiplier": 1, - "sensor_current": 84000, + "sensor_current": 14, "sensor_limit": 3000, "sensor_limit_warn": 2000, "sensor_limit_low": 5, @@ -1050,624 +1050,6 @@ } ] }, - "poller": { - "sensors": [ - { - "sensor_deleted": 0, - "sensor_class": "charge", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.1.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Battery Charge", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 100, - "sensor_limit": 100, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "count", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.6.0", - "sensor_index": "upsAdvBatteryNumOfBadBattPacks.0", - "sensor_type": "apc", - "sensor_descr": "Bad batteries", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 0, - "sensor_limit": 1, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "count", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.5.0", - "sensor_index": "upsAdvBatteryNumOfBattPacks.0", - "sensor_type": "apc", - "sensor_descr": "Installed batteries", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 4, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": 0, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "current", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.4.0", - "sensor_index": "0", - "sensor_type": "apcUPS", - "sensor_descr": "Phase 0 Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 34.7, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.4.0", - "sensor_index": "3.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 49.9, - "sensor_limit": 52.395, - "sensor_limit_warn": null, - "sensor_limit_low": 47.405, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "frequency", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.2.0", - "sensor_index": "4.3.2.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 49.9, - "sensor_limit": 52.395, - "sensor_limit_warn": null, - "sensor_limit_low": 47.405, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "load", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_index": ".1.3.6.1.4.1.318.1.1.1.4.3.3.0", - "sensor_type": "apc", - "sensor_descr": "Load(VA)", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 64, - "sensor_limit": 80, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "runtime", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.3.0", - "sensor_index": "upsAdvBatteryRunTimeRemaining.0", - "sensor_type": "apc", - "sensor_descr": "Runtime", - "group": null, - "sensor_divisor": 6000, - "sensor_multiplier": 1, - "sensor_current": 14, - "sensor_limit": 3000, - "sensor_limit_warn": 2000, - "sensor_limit_low": 5, - "sensor_limit_low_warn": 10, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": 84000, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.2.4.0", - "sensor_index": "0", - "sensor_type": "upsAdvBatteryReplaceIndicator", - "sensor_descr": "UPS Battery Replacement Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 1, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": "0", - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsAdvBatteryReplaceIndicator" - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.2.5.0", - "sensor_index": "upsAdvInputLineFailCause.0", - "sensor_type": "upsAdvInputLineFailCause", - "sensor_descr": "Last failure cause", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 9, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsAdvInputLineFailCause" - }, - { - "sensor_deleted": 0, - "sensor_class": "state", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.1.1.0", - "sensor_index": "0", - "sensor_type": "upsBasicOutputStatus", - "sensor_descr": "Output Status", - "group": null, - "sensor_divisor": 1, - "sensor_multiplier": 1, - "sensor_current": 2, - "sensor_limit": null, - "sensor_limit_warn": null, - "sensor_limit_low": null, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": "upsBasicOutputStatus" - }, - { - "sensor_deleted": 0, - "sensor_class": "temperature", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.2.0", - "sensor_index": "0", - "sensor_type": "apc", - "sensor_descr": "Internal Temperature", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 39, - "sensor_limit": 59, - "sensor_limit_warn": null, - "sensor_limit_low": 29, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.2.3.4.0", - "sensor_index": "2.3.4.0", - "sensor_type": "apc", - "sensor_descr": "Battery Bus", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 138.7, - "sensor_limit": 159.505, - "sensor_limit_warn": null, - "sensor_limit_low": 117.895, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.3.3.1.0", - "sensor_index": "3.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Input", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 223.3, - "sensor_limit": 256.795, - "sensor_limit_warn": null, - "sensor_limit_low": 189.805, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - }, - { - "sensor_deleted": 0, - "sensor_class": "voltage", - "poller_type": "snmp", - "sensor_oid": ".1.3.6.1.4.1.318.1.1.1.4.3.1.0", - "sensor_index": "4.3.1.0", - "sensor_type": "apc", - "sensor_descr": "Output", - "group": null, - "sensor_divisor": 10, - "sensor_multiplier": 1, - "sensor_current": 230.2, - "sensor_limit": 264.73, - "sensor_limit_warn": null, - "sensor_limit_low": 195.67, - "sensor_limit_low_warn": null, - "sensor_alert": 1, - "sensor_custom": "No", - "entPhysicalIndex": null, - "entPhysicalIndex_measured": null, - "sensor_prev": null, - "user_func": null, - "rrd_type": "GAUGE", - "state_name": null - } - ], - "state_indexes": [ - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "noBatteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvBatteryReplaceIndicator", - "state_descr": "batteryNeedsReplacing", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 2 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "noTransfer", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "highLineVoltage", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "brownout", - "state_draw_graph": 0, - "state_value": 3, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "blackout", - "state_draw_graph": 0, - "state_value": 4, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "smallMomentarySag", - "state_draw_graph": 0, - "state_value": 5, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "deepMomentarySag", - "state_draw_graph": 0, - "state_value": 6, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "smallMomentarySag", - "state_draw_graph": 0, - "state_value": 7, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "largeMomentarySpike", - "state_draw_graph": 0, - "state_value": 8, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "selfTest", - "state_draw_graph": 0, - "state_value": 9, - "state_generic_value": 0 - }, - { - "state_name": "upsAdvInputLineFailCause", - "state_descr": "rateOfVoltageChange", - "state_draw_graph": 0, - "state_value": 10, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "unknown", - "state_draw_graph": 0, - "state_value": 1, - "state_generic_value": 3 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onLine", - "state_draw_graph": 0, - "state_value": 2, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBattery", - "state_draw_graph": 0, - "state_value": 3, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartBoost", - "state_draw_graph": 0, - "state_value": 4, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "timedSleeping", - "state_draw_graph": 0, - "state_value": 5, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "softwareBypass", - "state_draw_graph": 0, - "state_value": 6, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "off", - "state_draw_graph": 0, - "state_value": 7, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "rebooting", - "state_draw_graph": 0, - "state_value": 8, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "switchedBypass", - "state_draw_graph": 0, - "state_value": 9, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hardwareFailureBypass", - "state_draw_graph": 0, - "state_value": 10, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "sleepingUntilPowerReturn", - "state_draw_graph": 0, - "state_value": 11, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onSmartTrim", - "state_draw_graph": 0, - "state_value": 12, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "ecoMode", - "state_draw_graph": 0, - "state_value": 13, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "hotStandby", - "state_draw_graph": 0, - "state_value": 14, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "onBatteryTest", - "state_draw_graph": 0, - "state_value": 15, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "emergencyStaticBypass", - "state_draw_graph": 0, - "state_value": 16, - "state_generic_value": 2 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "staticBypassStandby", - "state_draw_graph": 0, - "state_value": 17, - "state_generic_value": 1 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "powerSavingMode", - "state_draw_graph": 0, - "state_value": 18, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "spotMode", - "state_draw_graph": 0, - "state_value": 19, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "eConversion", - "state_draw_graph": 0, - "state_value": 20, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "chargerSpotmode", - "state_draw_graph": 0, - "state_value": 21, - "state_generic_value": 0 - }, - { - "state_name": "upsBasicOutputStatus", - "state_descr": "inverterSpotmode", - "state_draw_graph": 0, - "state_value": 22, - "state_generic_value": 0 - } - ] - } + "poller": "matches discovery" } } diff --git a/tests/snmpsim/apc_smart1500.snmprec b/tests/snmpsim/apc_smart1500.snmprec new file mode 100644 index 0000000000..4f37ab067d --- /dev/null +++ b/tests/snmpsim/apc_smart1500.snmprec @@ -0,0 +1,103 @@ +1.3.6.1.2.1.1.1.0|4|APC Web/SNMP Management Card (MB:v4.1.0 PF:v7.1.2 PN:apc_hw05_aos_712.bin AF1:v7.1.2 AN1:apc_hw05_sumx_712.bin MN:AP9631 HR:08 SN: 5A1274T28648 MD:04/06/2019) (Embedded PowerNet SNMP Agent SW v2.2 compatible) +1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.318.1.3.27 +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.4.1.318.1.1.1.2.2.3.0|67|456000 +1.3.6.1.4.1.318.1.1.1.2.2.4.0|2|1 +1.3.6.1.4.1.318.1.1.1.2.2.21.0|4|11/10/2027 +1.3.6.1.4.1.318.1.1.1.2.3.1.0|66|1000 +1.3.6.1.4.1.318.1.1.1.2.3.2.0|66|300 +1.3.6.1.4.1.318.1.1.1.2.3.4.0|2|270 +1.3.6.1.4.1.318.1.1.1.3.2.5.0|2|1 +1.3.6.1.4.1.318.1.1.1.3.3.1.0|66|2476 +1.3.6.1.4.1.318.1.1.1.3.3.4.0|66|500 +1.3.6.1.4.1.318.1.1.1.4.1.1.0|2|2 +1.3.6.1.4.1.318.1.1.1.4.2.8.0|2|169 +1.3.6.1.4.1.318.1.1.1.4.3.1.0|66|2476 +1.3.6.1.4.1.318.1.1.1.4.3.2.0|66|500 +1.3.6.1.4.1.318.1.1.1.4.3.3.0|66|176 +1.3.6.1.4.1.318.1.1.1.4.3.4.0|66|10 +1.3.6.1.4.1.318.1.1.1.7.2.3.0|2|3 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.1.1|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.1.2|2|2 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.2.1|4|Unknown +1.3.6.1.4.1.318.1.1.10.2.2.4.1.2.2|4|Unknown +1.3.6.1.4.1.318.1.1.10.2.2.4.1.3.1|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.3.2|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.4.1|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.4.2|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.5.1|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.5.2|2|1 +1.3.6.1.4.1.318.1.1.10.2.2.4.1.6.1|4|Unknown +1.3.6.1.4.1.318.1.1.10.2.2.4.1.6.2|4|Unknown +1.3.6.1.4.1.318.1.1.10.2.3.4.1.1.1|2|1 +1.3.6.1.4.1.318.1.1.10.2.3.4.1.1.2|2|2 +1.3.6.1.4.1.318.1.1.10.2.3.4.1.2.1|4|Unknown +1.3.6.1.4.1.318.1.1.10.2.3.4.1.2.2|4|Unknown +1.3.6.1.4.1.318.1.1.10.2.3.4.1.3.1|2|1 +1.3.6.1.4.1.318.1.1.10.2.3.4.1.3.2|2|1 +1.3.6.1.4.1.318.1.1.25.1.1.0|2|2 +1.3.6.1.4.1.318.1.1.25.1.2.1.1.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.2.1.1.2.1|2|2 +1.3.6.1.4.1.318.1.1.25.1.2.1.2.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.2.1.2.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.2.1.3.1.1|4|Temp. Rack +1.3.6.1.4.1.318.1.1.25.1.2.1.3.2.1|4|Temp. Room +1.3.6.1.4.1.318.1.1.25.1.2.1.4.1.1|4|Room +1.3.6.1.4.1.318.1.1.25.1.2.1.4.2.1|4|Room +1.3.6.1.4.1.318.1.1.25.1.2.1.5.1.1|2|86 +1.3.6.1.4.1.318.1.1.25.1.2.1.5.2.1|2|70 +1.3.6.1.4.1.318.1.1.25.1.2.1.6.1.1|2|30 +1.3.6.1.4.1.318.1.1.25.1.2.1.6.2.1|2|21 +1.3.6.1.4.1.318.1.1.25.1.2.1.7.1.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.2.1.7.2.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.2.1.8.1.1|2|0 +1.3.6.1.4.1.318.1.1.25.1.2.1.8.2.1|2|0 +1.3.6.1.4.1.318.1.1.25.1.2.1.9.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.2.1.9.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.2.1.10.1.1|2|2 +1.3.6.1.4.1.318.1.1.25.1.2.1.10.2.1|2|2 +1.3.6.1.4.1.318.1.1.25.1.3.0|2|2 +1.3.6.1.4.1.318.1.1.25.1.4.1.1.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.1.2.1|2|2 +1.3.6.1.4.1.318.1.1.25.1.4.1.2.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.2.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.3.1.1|4|Temp. Rack +1.3.6.1.4.1.318.1.1.25.1.4.1.3.2.1|4|Temp. Room +1.3.6.1.4.1.318.1.1.25.1.4.1.4.1.1|4|Room +1.3.6.1.4.1.318.1.1.25.1.4.1.4.2.1|4|Room +1.3.6.1.4.1.318.1.1.25.1.4.1.5.1.1|2|0 +1.3.6.1.4.1.318.1.1.25.1.4.1.5.2.1|2|0 +1.3.6.1.4.1.318.1.1.25.1.4.1.6.1.1|2|10 +1.3.6.1.4.1.318.1.1.25.1.4.1.6.2.1|2|10 +1.3.6.1.4.1.318.1.1.25.1.4.1.7.1.1|2|40 +1.3.6.1.4.1.318.1.1.25.1.4.1.7.2.1|2|40 +1.3.6.1.4.1.318.1.1.25.1.4.1.8.1.1|2|60 +1.3.6.1.4.1.318.1.1.25.1.4.1.8.2.1|2|60 +1.3.6.1.4.1.318.1.1.25.1.4.1.9.1.1|2|0 +1.3.6.1.4.1.318.1.1.25.1.4.1.9.2.1|2|0 +1.3.6.1.4.1.318.1.1.25.1.4.1.10.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.10.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.11.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.11.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.12.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.12.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.13.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.13.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.14.1.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.14.2.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.15.1.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.15.2.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.16.1.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.16.2.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.17.1.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.17.2.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.18.1.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.18.2.1|2|-1 +1.3.6.1.4.1.318.1.1.25.1.4.1.19.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.19.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.20.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.20.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.21.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.21.2.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.22.1.1|2|1 +1.3.6.1.4.1.318.1.1.25.1.4.1.22.2.1|2|1