diff --git a/includes/discovery/sensors/state/rfc1628.inc.php b/includes/discovery/sensors/state/rfc1628.inc.php index bc9c7d92e7..d673833348 100644 --- a/includes/discovery/sensors/state/rfc1628.inc.php +++ b/includes/discovery/sensors/state/rfc1628.inc.php @@ -52,7 +52,7 @@ if (is_numeric($state)) { ['value' => 1, 'generic' => 3, 'graph' => 0, 'descr' => 'Other'], ['value' => 2, 'generic' => 3, 'graph' => 0, 'descr' => 'None'], ['value' => 3, 'generic' => 0, 'graph' => 0, 'descr' => 'Normal'], - ['value' => 4, 'generic' => 2, 'graph' => 0, 'descr' => 'Bypass'], + ['value' => 4, 'generic' => 1, 'graph' => 0, 'descr' => 'Bypass'], ['value' => 5, 'generic' => 2, 'graph' => 0, 'descr' => 'Battery'], ['value' => 6, 'generic' => 2, 'graph' => 0, 'descr' => 'Booster'], ['value' => 7, 'generic' => 2, 'graph' => 0, 'descr' => 'Reducer'], diff --git a/tests/data/dell-ups_tower1000w.json b/tests/data/dell-ups_tower1000w.json index 4faa88bb49..5539b599b3 100644 --- a/tests/data/dell-ups_tower1000w.json +++ b/tests/data/dell-ups_tower1000w.json @@ -1144,7 +1144,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/deltaups.json b/tests/data/deltaups.json index 3a684d6972..1461d0cb66 100644 --- a/tests/data/deltaups.json +++ b/tests/data/deltaups.json @@ -1492,7 +1492,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/eaton-mgeups_5px.json b/tests/data/eaton-mgeups_5px.json index e17a4ebb39..e789e33472 100644 --- a/tests/data/eaton-mgeups_5px.json +++ b/tests/data/eaton-mgeups_5px.json @@ -2114,7 +2114,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/generex-ups.json b/tests/data/generex-ups.json new file mode 100644 index 0000000000..0030ed3c3d --- /dev/null +++ b/tests/data/generex-ups.json @@ -0,0 +1,40 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.2.1.33", + "sysDescr": "CS121 v 5.14.50", + "sysContact": null, + "version": null, + "hardware": null, + "features": null, + "os": "generex-ups", + "type": "power", + "serial": null, + "icon": "generex-ups.svg", + "location": null + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.2.1.33", + "sysDescr": "CS121 v 5.14.50", + "sysContact": null, + "version": null, + "hardware": " - ", + "features": null, + "os": "generex-ups", + "type": "power", + "serial": null, + "icon": "generex-ups.svg", + "location": null + } + ] + } + } +} diff --git a/tests/data/generex-ups_cs121.json b/tests/data/generex-ups_cs121.json new file mode 100644 index 0000000000..43c56a99aa --- /dev/null +++ b/tests/data/generex-ups_cs121.json @@ -0,0 +1,946 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.2.1.33", + "sysDescr": "CS121 v 4.26.14", + "sysContact": null, + "version": null, + "hardware": null, + "features": null, + "os": "generex-ups", + "type": "power", + "serial": null, + "icon": "generex-ups.svg", + "location": null + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.2.1.33", + "sysDescr": "CS121 v 4.26.14", + "sysContact": "", + "version": "CS121 v 4.26.14", + "hardware": "Rittal - RITTAL PMC Extension", + "features": null, + "os": "generex-ups", + "type": "power", + "serial": null, + "icon": "generex-ups.svg", + "location": "" + } + ] + } + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "CS121 Ethernet", + "ifName": "CS121 Ethernet", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "CS121 Ethernet", + "ifPhysAddress": null, + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "CS121 Ethernet", + "ifName": "CS121 Ethernet", + "portName": null, + "ifIndex": 1, + "ifSpeed": 100000000, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "CS121 Ethernet", + "ifPhysAddress": "00030518194e", + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 238835506, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 131828516, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 4, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 1444509986, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 745448569, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 26544, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.3.1", + "sensor_index": "1", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 80, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.4.1", + "sensor_index": "101", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 1", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.4.2", + "sensor_index": "102", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 2", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.4.3", + "sensor_index": "103", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 3", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.3.2", + "sensor_index": "2", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 76, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.3.3", + "sensor_index": "3", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 3", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 68, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.6.0", + "sensor_index": "500", + "sensor_type": "rfc1628", + "sensor_descr": "Battery", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.2.1", + "sensor_index": "3.2.0.1", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 1", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.2.2", + "sensor_index": "3.2.0.2", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 2", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.2.3", + "sensor_index": "3.2.0.3", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 3", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.5.1.0", + "sensor_index": "5.1.0", + "sensor_type": "rfc1628", + "sensor_descr": "Bypass", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": 0, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.5.1", + "sensor_index": "501", + "sensor_type": "rfc1628", + "sensor_descr": "Percentage load 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 28, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.5.2", + "sensor_index": "502", + "sensor_type": "rfc1628", + "sensor_descr": "Percentage load 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 27, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.5.3", + "sensor_index": "503", + "sensor_type": "rfc1628", + "sensor_descr": "Percentage load 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 24, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.4.1", + "sensor_index": "301", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 19000, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.4.2", + "sensor_index": "302", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 18300, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.4.3", + "sensor_index": "303", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 16600, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "runtime", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.3.0", + "sensor_index": "200", + "sensor_type": "rfc1628", + "sensor_descr": "Estimated battery time remaining", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 59, + "sensor_limit": 10000, + "sensor_limit_warn": null, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.1.0", + "sensor_index": "0", + "sensor_type": "upsBatteryStatusState", + "sensor_descr": "Battery 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": "0", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": "upsBatteryStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.1.0", + "sensor_index": "0", + "sensor_type": "upsOutputSourceState", + "sensor_descr": "Output Source", + "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": "0", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": "upsOutputSourceState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.7.0", + "sensor_index": "0", + "sensor_type": "rfc1628", + "sensor_descr": "Battery", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.2.1", + "sensor_index": "1", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 227, + "sensor_limit": 261.05, + "sensor_limit_warn": null, + "sensor_limit_low": 192.95, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.5.0", + "sensor_index": "1.2.5.0", + "sensor_type": "rfc1628", + "sensor_descr": "Battery", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 273, + "sensor_limit": 313.95, + "sensor_limit_warn": null, + "sensor_limit_low": 232.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.2.2", + "sensor_index": "2", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 227, + "sensor_limit": 261.05, + "sensor_limit_warn": null, + "sensor_limit_low": 192.95, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.2.3", + "sensor_index": "3", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 227, + "sensor_limit": 261.05, + "sensor_limit_warn": null, + "sensor_limit_low": 192.95, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "upsBatteryStatusState", + "state_descr": "Unknown", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "upsBatteryStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "upsBatteryStatusState", + "state_descr": "Low", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "upsBatteryStatusState", + "state_descr": "Depleted", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 2 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Other", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "None", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 3 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Bypass", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 1 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Battery", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 2 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Booster", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 2 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Reducer", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 2 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/data/generex-ups_cs141.json b/tests/data/generex-ups_cs141.json new file mode 100644 index 0000000000..210581a58c --- /dev/null +++ b/tests/data/generex-ups_cs141.json @@ -0,0 +1,1300 @@ +{ + "os": { + "discovery": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.2.1.33", + "sysDescr": "The Cs141 SNMP Agent", + "sysContact": null, + "version": null, + "hardware": null, + "features": null, + "os": "generex-ups", + "type": "power", + "serial": null, + "icon": "generex-ups.svg", + "location": null + } + ] + }, + "poller": { + "devices": [ + { + "sysName": "", + "sysObjectID": ".1.3.6.1.2.1.33", + "sysDescr": "The Cs141 SNMP Agent", + "sysContact": "", + "version": "CS141-SNMP V1.80.17 190618", + "hardware": "Multimatic - Upscale", + "features": null, + "os": "generex-ups", + "type": "power", + "serial": null, + "icon": "generex-ups.svg", + "location": "" + } + ] + } + }, + "ports": { + "discovery": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": null, + "ifConnectorPresent": null, + "ifPromiscuousMode": null, + "ifHighSpeed": null, + "ifOperStatus": "up", + "ifOperStatus_prev": null, + "ifAdminStatus": null, + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": null, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": null, + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": null, + "ifInUcastPkts_prev": null, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": null, + "ifOutUcastPkts_prev": null, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": null, + "ifInErrors_prev": null, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": null, + "ifOutErrors_prev": null, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": null, + "ifInOctets_prev": null, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": null, + "ifOutOctets_prev": null, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": null, + "ifInNUcastPkts_prev": null, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": null, + "ifOutNUcastPkts_prev": null, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": null, + "ifInDiscards_prev": null, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": null, + "ifOutDiscards_prev": null, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": null, + "ifInUnknownProtos_prev": null, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": null, + "ifInBroadcastPkts_prev": null, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": null, + "ifOutBroadcastPkts_prev": null, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": null, + "ifInMulticastPkts_prev": null, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": null, + "ifOutMulticastPkts_prev": null, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + }, + "poller": { + "ports": [ + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "lo", + "ifName": "lo", + "portName": null, + "ifIndex": 1, + "ifSpeed": 10000000, + "ifConnectorPresent": "false", + "ifPromiscuousMode": "false", + "ifHighSpeed": 10, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 65536, + "ifType": "softwareLoopback", + "ifAlias": "lo", + "ifPhysAddress": null, + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 8239717, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 8239717, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 851230713, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 851230713, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 0, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + }, + { + "port_descr_type": null, + "port_descr_descr": null, + "port_descr_circuit": null, + "port_descr_speed": null, + "port_descr_notes": null, + "ifDescr": "eth0", + "ifName": "eth0", + "portName": null, + "ifIndex": 2, + "ifSpeed": 100000000, + "ifConnectorPresent": "true", + "ifPromiscuousMode": "false", + "ifHighSpeed": 100, + "ifOperStatus": "up", + "ifOperStatus_prev": "up", + "ifAdminStatus": "up", + "ifAdminStatus_prev": null, + "ifDuplex": null, + "ifMtu": 1500, + "ifType": "ethernetCsmacd", + "ifAlias": "eth0", + "ifPhysAddress": "0030d61e6816", + "ifHardType": null, + "ifLastChange": 0, + "ifVlan": "", + "ifTrunk": null, + "counter_in": null, + "counter_out": null, + "ignore": 0, + "disabled": 0, + "detailed": 0, + "deleted": 0, + "pagpOperationMode": null, + "pagpPortState": null, + "pagpPartnerDeviceId": null, + "pagpPartnerLearnMethod": null, + "pagpPartnerIfIndex": null, + "pagpPartnerGroupIfIndex": null, + "pagpPartnerDeviceName": null, + "pagpEthcOperationMode": null, + "pagpDeviceId": null, + "pagpGroupIfIndex": null, + "ifInUcastPkts": 560473835, + "ifInUcastPkts_prev": 0, + "ifInUcastPkts_delta": null, + "ifInUcastPkts_rate": null, + "ifOutUcastPkts": 5240568, + "ifOutUcastPkts_prev": 0, + "ifOutUcastPkts_delta": null, + "ifOutUcastPkts_rate": null, + "ifInErrors": 0, + "ifInErrors_prev": 0, + "ifInErrors_delta": null, + "ifInErrors_rate": null, + "ifOutErrors": 0, + "ifOutErrors_prev": 0, + "ifOutErrors_delta": null, + "ifOutErrors_rate": null, + "ifInOctets": 26086247739, + "ifInOctets_prev": 0, + "ifInOctets_delta": null, + "ifInOctets_rate": null, + "ifOutOctets": 1050611995, + "ifOutOctets_prev": 0, + "ifOutOctets_delta": null, + "ifOutOctets_rate": null, + "poll_prev": null, + "ifInNUcastPkts": 0, + "ifInNUcastPkts_prev": 0, + "ifInNUcastPkts_delta": null, + "ifInNUcastPkts_rate": null, + "ifOutNUcastPkts": 0, + "ifOutNUcastPkts_prev": 0, + "ifOutNUcastPkts_delta": null, + "ifOutNUcastPkts_rate": null, + "ifInDiscards": 196944, + "ifInDiscards_prev": 0, + "ifInDiscards_delta": null, + "ifInDiscards_rate": null, + "ifOutDiscards": 0, + "ifOutDiscards_prev": 0, + "ifOutDiscards_delta": null, + "ifOutDiscards_rate": null, + "ifInUnknownProtos": 0, + "ifInUnknownProtos_prev": 0, + "ifInUnknownProtos_delta": null, + "ifInUnknownProtos_rate": null, + "ifInBroadcastPkts": 0, + "ifInBroadcastPkts_prev": 0, + "ifInBroadcastPkts_delta": null, + "ifInBroadcastPkts_rate": null, + "ifOutBroadcastPkts": 0, + "ifOutBroadcastPkts_prev": 0, + "ifOutBroadcastPkts_delta": null, + "ifOutBroadcastPkts_rate": null, + "ifInMulticastPkts": 0, + "ifInMulticastPkts_prev": 0, + "ifInMulticastPkts_delta": null, + "ifInMulticastPkts_rate": null, + "ifOutMulticastPkts": 0, + "ifOutMulticastPkts_prev": 0, + "ifOutMulticastPkts_delta": null, + "ifOutMulticastPkts_rate": null + } + ] + } + }, + "sensors": { + "discovery": { + "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "charge", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.4.0", + "sensor_index": "500", + "sensor_type": "rfc1628", + "sensor_descr": "Battery charge remaining", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 100, + "sensor_limit": 101, + "sensor_limit_warn": null, + "sensor_limit_low": 15, + "sensor_limit_low_warn": 50, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.3.1", + "sensor_index": "1", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 1", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 0.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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.3.2", + "sensor_index": "2", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 2", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 2.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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.3.3", + "sensor_index": "3", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 3", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "current", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.6.0", + "sensor_index": "500", + "sensor_type": "rfc1628", + "sensor_descr": "Battery", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.2.1", + "sensor_index": "3.2.0.1", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 1", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.2.2", + "sensor_index": "3.2.0.2", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 2", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.2.3", + "sensor_index": "3.2.0.3", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 3", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.2.0", + "sensor_index": "4.2.0", + "sensor_type": "rfc1628", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "frequency", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.5.1.0", + "sensor_index": "5.1.0", + "sensor_type": "rfc1628", + "sensor_descr": "Bypass", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.5.1", + "sensor_index": "501", + "sensor_type": "rfc1628", + "sensor_descr": "Percentage load 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.5.2", + "sensor_index": "502", + "sensor_type": "rfc1628", + "sensor_descr": "Percentage load 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 14, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "load", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.5.3", + "sensor_index": "503", + "sensor_type": "rfc1628", + "sensor_descr": "Percentage load 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.4.1", + "sensor_index": "301", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": -4, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.4.2", + "sensor_index": "302", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 469, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "power", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.4.3", + "sensor_index": "303", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": -26, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "runtime", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.2.0", + "sensor_index": "100", + "sensor_type": "rfc1628", + "sensor_descr": "Time on battery", + "group": null, + "sensor_divisor": 60, + "sensor_multiplier": 1, + "sensor_current": 0, + "sensor_limit": 2, + "sensor_limit_warn": 1, + "sensor_limit_low": 0, + "sensor_limit_low_warn": 0, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "runtime", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.3.0", + "sensor_index": "200", + "sensor_type": "rfc1628", + "sensor_descr": "Estimated battery time remaining", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 544, + "sensor_limit": 10000, + "sensor_limit_warn": null, + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.1.0", + "sensor_index": "0", + "sensor_type": "upsBatteryStatusState", + "sensor_descr": "Battery 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": "0", + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": "upsBatteryStatusState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.1.0", + "sensor_index": "0", + "sensor_type": "upsOutputSourceState", + "sensor_descr": "Output Source", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 4, + "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, + "state_name": "upsOutputSourceState" + }, + { + "sensor_deleted": 0, + "sensor_class": "temperature", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.7.0", + "sensor_index": "0", + "sensor_type": "rfc1628", + "sensor_descr": "Battery", + "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, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.2.1", + "sensor_index": "1", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 233, + "sensor_limit": 267.95, + "sensor_limit_warn": null, + "sensor_limit_low": 198.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.2.5.0", + "sensor_index": "1.2.5.0", + "sensor_type": "rfc1628", + "sensor_descr": "Battery", + "group": null, + "sensor_divisor": 10, + "sensor_multiplier": 1, + "sensor_current": 271.6, + "sensor_limit": 312.34, + "sensor_limit_warn": null, + "sensor_limit_low": 230.86, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.3.1", + "sensor_index": "101", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 233, + "sensor_limit": 267.95, + "sensor_limit_warn": null, + "sensor_limit_low": 198.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.3.2", + "sensor_index": "102", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 233, + "sensor_limit": 267.95, + "sensor_limit_warn": null, + "sensor_limit_low": 198.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.3.3.1.3.3", + "sensor_index": "103", + "sensor_type": "rfc1628", + "sensor_descr": "Input Phase 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 235, + "sensor_limit": 270.25, + "sensor_limit_warn": null, + "sensor_limit_low": 199.75, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.2.2", + "sensor_index": "2", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 233, + "sensor_limit": 267.95, + "sensor_limit_warn": null, + "sensor_limit_low": 198.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.5.3.1.2.1", + "sensor_index": "201", + "sensor_type": "rfc1628", + "sensor_descr": "Bypass Phase 1", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 233, + "sensor_limit": 267.95, + "sensor_limit_warn": null, + "sensor_limit_low": 198.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.5.3.1.2.2", + "sensor_index": "202", + "sensor_type": "rfc1628", + "sensor_descr": "Bypass Phase 2", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 233, + "sensor_limit": 267.95, + "sensor_limit_warn": null, + "sensor_limit_low": 198.05, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.5.3.1.2.3", + "sensor_index": "203", + "sensor_type": "rfc1628", + "sensor_descr": "Bypass Phase 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 235, + "sensor_limit": 270.25, + "sensor_limit_warn": null, + "sensor_limit_low": 199.75, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + }, + { + "sensor_deleted": 0, + "sensor_class": "voltage", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.2.1.33.1.4.4.1.2.3", + "sensor_index": "3", + "sensor_type": "rfc1628", + "sensor_descr": "Output Phase 3", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 235, + "sensor_limit": 270.25, + "sensor_limit_warn": null, + "sensor_limit_low": 199.75, + "sensor_limit_low_warn": null, + "sensor_alert": 1, + "sensor_custom": "No", + "entPhysicalIndex": null, + "entPhysicalIndex_measured": null, + "sensor_prev": null, + "user_func": null, + "state_name": null + } + ], + "state_indexes": [ + { + "state_name": "upsBatteryStatusState", + "state_descr": "Unknown", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "upsBatteryStatusState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "upsBatteryStatusState", + "state_descr": "Low", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "upsBatteryStatusState", + "state_descr": "Depleted", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 2 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Other", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "None", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 3 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Normal", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Bypass", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 1 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Battery", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 2 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Booster", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 2 + }, + { + "state_name": "upsOutputSourceState", + "state_descr": "Reducer", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 2 + } + ] + }, + "poller": "matches discovery" + } +} diff --git a/tests/data/huaweiups_ups2000.json b/tests/data/huaweiups_ups2000.json index ceb6928ccf..4a41567f14 100644 --- a/tests/data/huaweiups_ups2000.json +++ b/tests/data/huaweiups_ups2000.json @@ -356,7 +356,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/istars.json b/tests/data/istars.json index 8dc4bfaed4..d6f19a6bab 100644 --- a/tests/data/istars.json +++ b/tests/data/istars.json @@ -1030,7 +1030,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", @@ -1617,7 +1617,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/marathonups.json b/tests/data/marathonups.json index 0e14fea9d0..3c0ebc72b9 100644 --- a/tests/data/marathonups.json +++ b/tests/data/marathonups.json @@ -832,7 +832,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/orvaldi-ups.json b/tests/data/orvaldi-ups.json index 9b03d103af..c68367b790 100644 --- a/tests/data/orvaldi-ups.json +++ b/tests/data/orvaldi-ups.json @@ -1877,7 +1877,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/data/riello.json b/tests/data/riello.json index f101ff8e14..b5d90c0ee7 100644 --- a/tests/data/riello.json +++ b/tests/data/riello.json @@ -1558,7 +1558,7 @@ "state_descr": "Bypass", "state_draw_graph": 0, "state_value": 4, - "state_generic_value": 2 + "state_generic_value": 1 }, { "state_name": "upsOutputSourceState", diff --git a/tests/snmpsim/generex-ups_cs121.snmprec b/tests/snmpsim/generex-ups_cs121.snmprec new file mode 100644 index 0000000000..8752892786 --- /dev/null +++ b/tests/snmpsim/generex-ups_cs121.snmprec @@ -0,0 +1,142 @@ +1.3.6.1.2.1.1.1.0|4|CS121 v 4.26.14 +1.3.6.1.2.1.1.2.0|6|1.3.6.1.2.1.33 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.2.2.1.1.1|2|1 +1.3.6.1.2.1.2.2.1.2.1|4|CS121 Ethernet +1.3.6.1.2.1.2.2.1.3.1|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|1500 +1.3.6.1.2.1.2.2.1.5.1|66|100000000 +1.3.6.1.2.1.2.2.1.6.1|4x|00030518194E +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|0 +1.3.6.1.2.1.2.2.1.10.1|65|1444509986 +1.3.6.1.2.1.2.2.1.11.1|65|238835506 +1.3.6.1.2.1.2.2.1.12.1|65|0 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.15.1|65|0 +1.3.6.1.2.1.2.2.1.16.1|65|745448569 +1.3.6.1.2.1.2.2.1.17.1|65|131828516 +1.3.6.1.2.1.2.2.1.18.1|65|26544 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|4 +1.3.6.1.2.1.2.2.1.21.1|66|0 +1.3.6.1.2.1.2.2.1.22.1|6|1.3.6.1 +1.3.6.1.2.1.4.3.0|65|238835449 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|130843975 +1.3.6.1.2.1.4.10.0|65|130733770 +1.3.6.1.2.1.4.11.0|65|4 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.4.20.1.2|2|1 +1.3.6.1.2.1.5.1.0|65|2237088 +1.3.6.1.2.1.5.2.0|65|0 +1.3.6.1.2.1.5.3.0|65|146853 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|2090235 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|2090348 +1.3.6.1.2.1.5.15.0|65|4 +1.3.6.1.2.1.5.16.0|65|113 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|2090235 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.6.5.0|65|745 +1.3.6.1.2.1.6.6.0|65|925 +1.3.6.1.2.1.6.7.0|65|0 +1.3.6.1.2.1.6.8.0|65|519 +1.3.6.1.2.1.6.9.0|66|7 +1.3.6.1.2.1.6.10.0|65|112393 +1.3.6.1.2.1.6.11.0|65|149207 +1.3.6.1.2.1.6.12.0|65|11 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|3 +1.3.6.1.2.1.7.1.0|65|128494526 +1.3.6.1.2.1.7.2.0|65|113 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|128494235 +1.3.6.1.2.1.11.1.0|65|128493016 +1.3.6.1.2.1.11.2.0|65|128493009 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|0 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|6 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|131498849 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|126184320 +1.3.6.1.2.1.11.16.0|65|269013 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|0 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|126453333 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.2.1.33.1.1.1.0|4|Rittal +1.3.6.1.2.1.33.1.1.2.0|4|RITTAL PMC Extension +1.3.6.1.2.1.33.1.1.4.0|4|CS121 v 4.26.14 +1.3.6.1.2.1.33.1.2.1.0|2|2 +1.3.6.1.2.1.33.1.2.3.0|2|59 +1.3.6.1.2.1.33.1.2.5.0|2|2730 +1.3.6.1.2.1.33.1.2.6.0|2|0 +1.3.6.1.2.1.33.1.2.7.0|2|21 +1.3.6.1.2.1.33.1.3.3.1.2.1|2|500 +1.3.6.1.2.1.33.1.3.3.1.2.2|2|500 +1.3.6.1.2.1.33.1.3.3.1.2.3|2|500 +1.3.6.1.2.1.33.1.3.3.1.4.1|2|0 +1.3.6.1.2.1.33.1.3.3.1.4.2|2|0 +1.3.6.1.2.1.33.1.3.3.1.4.3|2|0 +1.3.6.1.2.1.33.1.4.1.0|2|3 +1.3.6.1.2.1.33.1.4.4.1.2.1|2|227 +1.3.6.1.2.1.33.1.4.4.1.2.2|2|227 +1.3.6.1.2.1.33.1.4.4.1.2.3|2|227 +1.3.6.1.2.1.33.1.4.4.1.3.1|2|800 +1.3.6.1.2.1.33.1.4.4.1.3.2|2|760 +1.3.6.1.2.1.33.1.4.4.1.3.3|2|680 +1.3.6.1.2.1.33.1.4.4.1.4.1|2|19000 +1.3.6.1.2.1.33.1.4.4.1.4.2|2|18300 +1.3.6.1.2.1.33.1.4.4.1.4.3|2|16600 +1.3.6.1.2.1.33.1.4.4.1.5.1|2|28 +1.3.6.1.2.1.33.1.4.4.1.5.2|2|27 +1.3.6.1.2.1.33.1.4.4.1.5.3|2|24 +1.3.6.1.2.1.33.1.5.1.0|2|0 diff --git a/tests/snmpsim/generex-ups_cs141.snmprec b/tests/snmpsim/generex-ups_cs141.snmprec new file mode 100644 index 0000000000..c96c1c1e6f --- /dev/null +++ b/tests/snmpsim/generex-ups_cs141.snmprec @@ -0,0 +1,291 @@ +1.3.6.1.2.1.1.1.0|4|The Cs141 SNMP Agent +1.3.6.1.2.1.1.2.0|6|1.3.6.1.2.1.33 +1.3.6.1.2.1.1.3.0|67|1054301867 +1.3.6.1.2.1.1.4.0|4| +1.3.6.1.2.1.1.5.0|4| +1.3.6.1.2.1.1.6.0|4| +1.3.6.1.2.1.2.2.1.2.1|4|lo +1.3.6.1.2.1.2.2.1.2.2|4|eth0 +1.3.6.1.2.1.2.2.1.3.1|2|24 +1.3.6.1.2.1.2.2.1.3.2|2|6 +1.3.6.1.2.1.2.2.1.4.1|2|65536 +1.3.6.1.2.1.2.2.1.4.2|2|1500 +1.3.6.1.2.1.2.2.1.6.1|4| +1.3.6.1.2.1.2.2.1.6.2|4x|0030D61E6816 +1.3.6.1.2.1.2.2.1.7.1|2|1 +1.3.6.1.2.1.2.2.1.7.2|2|1 +1.3.6.1.2.1.2.2.1.8.1|2|1 +1.3.6.1.2.1.2.2.1.8.2|2|1 +1.3.6.1.2.1.2.2.1.9.1|67|0 +1.3.6.1.2.1.2.2.1.9.2|67|0 +1.3.6.1.2.1.2.2.1.13.1|65|0 +1.3.6.1.2.1.2.2.1.13.2|65|196944 +1.3.6.1.2.1.2.2.1.14.1|65|0 +1.3.6.1.2.1.2.2.1.14.2|65|0 +1.3.6.1.2.1.2.2.1.19.1|65|0 +1.3.6.1.2.1.2.2.1.19.2|65|0 +1.3.6.1.2.1.2.2.1.20.1|65|0 +1.3.6.1.2.1.2.2.1.20.2|65|0 +1.3.6.1.2.1.4.3.0|65|344646236 +1.3.6.1.2.1.4.4.0|65|0 +1.3.6.1.2.1.4.5.0|65|0 +1.3.6.1.2.1.4.6.0|65|0 +1.3.6.1.2.1.4.7.0|65|0 +1.3.6.1.2.1.4.8.0|65|0 +1.3.6.1.2.1.4.9.0|65|344412982 +1.3.6.1.2.1.4.10.0|65|13342421 +1.3.6.1.2.1.4.11.0|65|0 +1.3.6.1.2.1.4.12.0|65|0 +1.3.6.1.2.1.4.14.0|65|0 +1.3.6.1.2.1.4.15.0|65|0 +1.3.6.1.2.1.4.16.0|65|0 +1.3.6.1.2.1.4.17.0|65|0 +1.3.6.1.2.1.4.18.0|65|0 +1.3.6.1.2.1.4.19.0|65|0 +1.3.6.1.2.1.4.20.1.2.127.0.0.1|2|1 +1.3.6.1.2.1.4.20.1.2.149.217.7.53|2|2 +1.3.6.1.2.1.4.20.1.3.127.0.0.1|64|255.0.0.0 +1.3.6.1.2.1.4.20.1.3.149.217.7.53|64|255.255.240.0 +1.3.6.1.2.1.4.31.1.1.3.1|65|344644270 +1.3.6.1.2.1.4.31.1.1.4.1|70|344644270 +1.3.6.1.2.1.4.31.1.1.5.1|65|191439596 +1.3.6.1.2.1.4.31.1.1.6.1|70|34551177964 +1.3.6.1.2.1.4.31.1.1.7.1|65|0 +1.3.6.1.2.1.4.31.1.1.8.1|65|0 +1.3.6.1.2.1.4.31.1.1.9.1|65|0 +1.3.6.1.2.1.4.31.1.1.10.1|65|0 +1.3.6.1.2.1.4.31.1.1.11.1|65|0 +1.3.6.1.2.1.4.31.1.1.12.1|65|0 +1.3.6.1.2.1.4.31.1.1.13.1|70|0 +1.3.6.1.2.1.4.31.1.1.14.1|65|0 +1.3.6.1.2.1.4.31.1.1.15.1|65|0 +1.3.6.1.2.1.4.31.1.1.16.1|65|0 +1.3.6.1.2.1.4.31.1.1.17.1|65|0 +1.3.6.1.2.1.4.31.1.1.18.1|65|344411016 +1.3.6.1.2.1.4.31.1.1.19.1|70|344411016 +1.3.6.1.2.1.4.31.1.1.20.1|65|13341060 +1.3.6.1.2.1.4.31.1.1.21.1|70|13341060 +1.3.6.1.2.1.4.31.1.1.22.1|65|0 +1.3.6.1.2.1.4.31.1.1.23.1|65|0 +1.3.6.1.2.1.4.31.1.1.24.1|70|0 +1.3.6.1.2.1.4.31.1.1.25.1|65|0 +1.3.6.1.2.1.4.31.1.1.26.1|65|0 +1.3.6.1.2.1.4.31.1.1.27.1|65|0 +1.3.6.1.2.1.4.31.1.1.28.1|65|0 +1.3.6.1.2.1.4.31.1.1.29.1|65|0 +1.3.6.1.2.1.4.31.1.1.30.1|65|13341060 +1.3.6.1.2.1.4.31.1.1.31.1|70|13341060 +1.3.6.1.2.1.4.31.1.1.32.1|65|1822319813 +1.3.6.1.2.1.4.31.1.1.33.1|70|1822319813 +1.3.6.1.2.1.4.31.1.1.34.1|65|119595 +1.3.6.1.2.1.4.31.1.1.35.1|70|119595 +1.3.6.1.2.1.4.31.1.1.36.1|65|3348756 +1.3.6.1.2.1.4.31.1.1.37.1|70|3348756 +1.3.6.1.2.1.4.31.1.1.38.1|65|0 +1.3.6.1.2.1.4.31.1.1.39.1|70|0 +1.3.6.1.2.1.4.31.1.1.40.1|65|0 +1.3.6.1.2.1.4.31.1.1.41.1|70|0 +1.3.6.1.2.1.4.31.1.1.42.1|65|330968908 +1.3.6.1.2.1.4.31.1.1.43.1|70|330968908 +1.3.6.1.2.1.4.31.1.1.44.1|65|0 +1.3.6.1.2.1.4.31.1.1.45.1|70|0 +1.3.6.1.2.1.4.31.1.1.46.1|67|0 +1.3.6.1.2.1.4.31.1.1.47.1|66|60000 +1.3.6.1.2.1.5.1.0|65|252263 +1.3.6.1.2.1.5.2.0|65|1 +1.3.6.1.2.1.5.3.0|65|12126 +1.3.6.1.2.1.5.4.0|65|0 +1.3.6.1.2.1.5.5.0|65|0 +1.3.6.1.2.1.5.6.0|65|0 +1.3.6.1.2.1.5.7.0|65|0 +1.3.6.1.2.1.5.8.0|65|240137 +1.3.6.1.2.1.5.9.0|65|0 +1.3.6.1.2.1.5.10.0|65|0 +1.3.6.1.2.1.5.11.0|65|0 +1.3.6.1.2.1.5.12.0|65|0 +1.3.6.1.2.1.5.13.0|65|0 +1.3.6.1.2.1.5.14.0|65|252280 +1.3.6.1.2.1.5.15.0|65|0 +1.3.6.1.2.1.5.16.0|65|12144 +1.3.6.1.2.1.5.17.0|65|0 +1.3.6.1.2.1.5.18.0|65|0 +1.3.6.1.2.1.5.19.0|65|0 +1.3.6.1.2.1.5.20.0|65|0 +1.3.6.1.2.1.5.21.0|65|0 +1.3.6.1.2.1.5.22.0|65|240136 +1.3.6.1.2.1.5.23.0|65|0 +1.3.6.1.2.1.5.24.0|65|0 +1.3.6.1.2.1.5.25.0|65|0 +1.3.6.1.2.1.5.26.0|65|0 +1.3.6.1.2.1.5.29.1.2.1|65|252263 +1.3.6.1.2.1.5.29.1.2.2|65|0 +1.3.6.1.2.1.5.29.1.3.1|65|1 +1.3.6.1.2.1.5.29.1.3.2|65|0 +1.3.6.1.2.1.5.29.1.4.1|65|252280 +1.3.6.1.2.1.5.29.1.4.2|65|0 +1.3.6.1.2.1.5.29.1.5.1|65|0 +1.3.6.1.2.1.5.29.1.5.2|65|0 +1.3.6.1.2.1.5.30.1.3.1.0|65|0 +1.3.6.1.2.1.5.30.1.3.1.3|65|12126 +1.3.6.1.2.1.5.30.1.3.1.4|65|0 +1.3.6.1.2.1.5.30.1.3.1.5|65|0 +1.3.6.1.2.1.5.30.1.3.1.8|65|240137 +1.3.6.1.2.1.5.30.1.3.1.11|65|0 +1.3.6.1.2.1.5.30.1.3.1.12|65|0 +1.3.6.1.2.1.5.30.1.3.1.13|65|0 +1.3.6.1.2.1.5.30.1.3.1.14|65|0 +1.3.6.1.2.1.5.30.1.3.1.17|65|0 +1.3.6.1.2.1.5.30.1.3.1.18|65|0 +1.3.6.1.2.1.5.30.1.3.2.1|65|0 +1.3.6.1.2.1.5.30.1.3.2.2|65|0 +1.3.6.1.2.1.5.30.1.3.2.3|65|0 +1.3.6.1.2.1.5.30.1.3.2.4|65|0 +1.3.6.1.2.1.5.30.1.3.2.128|65|0 +1.3.6.1.2.1.5.30.1.3.2.129|65|0 +1.3.6.1.2.1.5.30.1.3.2.130|65|0 +1.3.6.1.2.1.5.30.1.3.2.131|65|0 +1.3.6.1.2.1.5.30.1.3.2.132|65|0 +1.3.6.1.2.1.5.30.1.3.2.133|65|0 +1.3.6.1.2.1.5.30.1.3.2.134|65|0 +1.3.6.1.2.1.5.30.1.3.2.135|65|0 +1.3.6.1.2.1.5.30.1.3.2.136|65|0 +1.3.6.1.2.1.5.30.1.3.2.137|65|0 +1.3.6.1.2.1.5.30.1.4.1.0|65|240136 +1.3.6.1.2.1.5.30.1.4.1.3|65|12144 +1.3.6.1.2.1.5.30.1.4.1.4|65|0 +1.3.6.1.2.1.5.30.1.4.1.5|65|0 +1.3.6.1.2.1.5.30.1.4.1.8|65|0 +1.3.6.1.2.1.5.30.1.4.1.11|65|0 +1.3.6.1.2.1.5.30.1.4.1.12|65|0 +1.3.6.1.2.1.5.30.1.4.1.13|65|0 +1.3.6.1.2.1.5.30.1.4.1.14|65|0 +1.3.6.1.2.1.5.30.1.4.1.17|65|0 +1.3.6.1.2.1.5.30.1.4.1.18|65|0 +1.3.6.1.2.1.5.30.1.4.2.1|65|0 +1.3.6.1.2.1.5.30.1.4.2.2|65|0 +1.3.6.1.2.1.5.30.1.4.2.3|65|0 +1.3.6.1.2.1.5.30.1.4.2.4|65|0 +1.3.6.1.2.1.5.30.1.4.2.128|65|0 +1.3.6.1.2.1.5.30.1.4.2.129|65|0 +1.3.6.1.2.1.5.30.1.4.2.131|65|0 +1.3.6.1.2.1.5.30.1.4.2.132|65|0 +1.3.6.1.2.1.5.30.1.4.2.133|65|0 +1.3.6.1.2.1.5.30.1.4.2.135|65|0 +1.3.6.1.2.1.5.30.1.4.2.136|65|0 +1.3.6.1.2.1.5.30.1.4.2.137|65|0 +1.3.6.1.2.1.6.5.0|65|115 +1.3.6.1.2.1.6.6.0|65|244 +1.3.6.1.2.1.6.7.0|65|0 +1.3.6.1.2.1.6.8.0|65|23 +1.3.6.1.2.1.6.9.0|66|2 +1.3.6.1.2.1.6.10.0|65|8235026 +1.3.6.1.2.1.6.11.0|65|8240640 +1.3.6.1.2.1.6.12.0|65|0 +1.3.6.1.2.1.6.14.0|65|0 +1.3.6.1.2.1.6.15.0|65|15 +1.3.6.1.2.1.6.19.1.7.1.4.127.0.0.1.705.1.4.127.0.0.1.36524|2|5 +1.3.6.1.2.1.7.1.0|65|4836653 +1.3.6.1.2.1.7.2.0|65|18 +1.3.6.1.2.1.7.3.0|65|0 +1.3.6.1.2.1.7.4.0|65|4848776 +1.3.6.1.2.1.11.1.0|65|2169004 +1.3.6.1.2.1.11.2.0|65|2168998 +1.3.6.1.2.1.11.3.0|65|0 +1.3.6.1.2.1.11.4.0|65|3 +1.3.6.1.2.1.11.5.0|65|0 +1.3.6.1.2.1.11.6.0|65|1 +1.3.6.1.2.1.11.8.0|65|0 +1.3.6.1.2.1.11.9.0|65|0 +1.3.6.1.2.1.11.10.0|65|0 +1.3.6.1.2.1.11.11.0|65|0 +1.3.6.1.2.1.11.12.0|65|0 +1.3.6.1.2.1.11.13.0|65|16040092 +1.3.6.1.2.1.11.14.0|65|0 +1.3.6.1.2.1.11.15.0|65|752731 +1.3.6.1.2.1.11.16.0|65|140589 +1.3.6.1.2.1.11.17.0|65|0 +1.3.6.1.2.1.11.18.0|65|0 +1.3.6.1.2.1.11.19.0|65|0 +1.3.6.1.2.1.11.20.0|65|0 +1.3.6.1.2.1.11.21.0|65|965 +1.3.6.1.2.1.11.22.0|65|0 +1.3.6.1.2.1.11.24.0|65|0 +1.3.6.1.2.1.11.25.0|65|0 +1.3.6.1.2.1.11.26.0|65|0 +1.3.6.1.2.1.11.27.0|65|0 +1.3.6.1.2.1.11.28.0|65|2169000 +1.3.6.1.2.1.11.29.0|65|0 +1.3.6.1.2.1.11.30.0|2|2 +1.3.6.1.2.1.11.31.0|65|0 +1.3.6.1.2.1.11.32.0|65|0 +1.3.6.1.2.1.31.1.1.1.1.1|4|lo +1.3.6.1.2.1.31.1.1.1.1.2|4|eth0 +1.3.6.1.2.1.31.1.1.1.2.1|65|0 +1.3.6.1.2.1.31.1.1.1.2.2|65|0 +1.3.6.1.2.1.31.1.1.1.3.1|65|0 +1.3.6.1.2.1.31.1.1.1.3.2|65|0 +1.3.6.1.2.1.31.1.1.1.4.1|65|0 +1.3.6.1.2.1.31.1.1.1.4.2|65|0 +1.3.6.1.2.1.31.1.1.1.5.1|65|0 +1.3.6.1.2.1.31.1.1.1.5.2|65|0 +1.3.6.1.2.1.31.1.1.1.6.1|70|851230713 +1.3.6.1.2.1.31.1.1.1.6.2|70|26086247739 +1.3.6.1.2.1.31.1.1.1.7.1|70|8239717 +1.3.6.1.2.1.31.1.1.1.7.2|70|560473835 +1.3.6.1.2.1.31.1.1.1.8.1|70|0 +1.3.6.1.2.1.31.1.1.1.8.2|70|0 +1.3.6.1.2.1.31.1.1.1.9.1|70|0 +1.3.6.1.2.1.31.1.1.1.9.2|70|0 +1.3.6.1.2.1.31.1.1.1.10.1|70|851230713 +1.3.6.1.2.1.31.1.1.1.10.2|70|1050611995 +1.3.6.1.2.1.31.1.1.1.11.1|70|8239717 +1.3.6.1.2.1.31.1.1.1.11.2|70|5240568 +1.3.6.1.2.1.31.1.1.1.12.1|70|0 +1.3.6.1.2.1.31.1.1.1.12.2|70|0 +1.3.6.1.2.1.31.1.1.1.13.1|70|0 +1.3.6.1.2.1.31.1.1.1.13.2|70|0 +1.3.6.1.2.1.31.1.1.1.15.1|66|10 +1.3.6.1.2.1.31.1.1.1.15.2|66|100 +1.3.6.1.2.1.31.1.1.1.16.1|2|2 +1.3.6.1.2.1.31.1.1.1.16.2|2|2 +1.3.6.1.2.1.31.1.1.1.17.1|2|2 +1.3.6.1.2.1.31.1.1.1.17.2|2|1 +1.3.6.1.2.1.31.1.1.1.18.1|4| +1.3.6.1.2.1.31.1.1.1.18.2|4| +1.3.6.1.2.1.31.1.1.1.19.1|67|0 +1.3.6.1.2.1.31.1.1.1.19.2|67|0 +1.3.6.1.2.1.33.1.1.1.0|4|Multimatic +1.3.6.1.2.1.33.1.1.2.0|4|Upscale +1.3.6.1.2.1.33.1.1.4.0|4|CS141-SNMP V1.80.17 190618 +1.3.6.1.2.1.33.1.2.1.0|2|2 +1.3.6.1.2.1.33.1.2.2.0|2|0 +1.3.6.1.2.1.33.1.2.3.0|2|544 +1.3.6.1.2.1.33.1.2.4.0|2|100 +1.3.6.1.2.1.33.1.2.5.0|2|2716 +1.3.6.1.2.1.33.1.2.6.0|2|0 +1.3.6.1.2.1.33.1.2.7.0|2|25 +1.3.6.1.2.1.33.1.3.3.1.2.1|2|500 +1.3.6.1.2.1.33.1.3.3.1.2.2|2|500 +1.3.6.1.2.1.33.1.3.3.1.2.3|2|500 +1.3.6.1.2.1.33.1.3.3.1.3.1|2|233 +1.3.6.1.2.1.33.1.3.3.1.3.2|2|233 +1.3.6.1.2.1.33.1.3.3.1.3.3|2|235 +1.3.6.1.2.1.33.1.4.1.0|2|4 +1.3.6.1.2.1.33.1.4.2.0|2|500 +1.3.6.1.2.1.33.1.4.4.1.2.1|2|233 +1.3.6.1.2.1.33.1.4.4.1.2.2|2|233 +1.3.6.1.2.1.33.1.4.4.1.2.3|2|235 +1.3.6.1.2.1.33.1.4.4.1.3.1|2|3 +1.3.6.1.2.1.33.1.4.4.1.3.2|2|21 +1.3.6.1.2.1.33.1.4.4.1.3.3|2|2 +1.3.6.1.2.1.33.1.4.4.1.4.1|2|-4 +1.3.6.1.2.1.33.1.4.4.1.4.2|2|469 +1.3.6.1.2.1.33.1.4.4.1.4.3|2|-26 +1.3.6.1.2.1.33.1.4.4.1.5.1|2|2 +1.3.6.1.2.1.33.1.4.4.1.5.2|2|14 +1.3.6.1.2.1.33.1.4.4.1.5.3|2|2 +1.3.6.1.2.1.33.1.5.1.0|2|500 +1.3.6.1.2.1.33.1.5.3.1.2.1|2|233 +1.3.6.1.2.1.33.1.5.3.1.2.2|2|233 +1.3.6.1.2.1.33.1.5.3.1.2.3|2|235 +1.3.6.1.6.3.10.2.1.3.0|2|10543019