From 2bc5b15a3da7cb060acd7e231c2b9b874f6c60e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sander=20Blomv=C3=A5gnes?= <54621884+SanderBlom@users.noreply.github.com> Date: Wed, 18 Aug 2021 13:02:58 +0200 Subject: [PATCH] GEMDS OS: Added voltage, cell states and wireless data for cell interface. (#13142) * Added test data * Added support for some Cell states * Added more Cell states and added missing testdata * Obs deleted the test data file * Added support for monitoring Cellular signal * Forgot test data again.... * Added more Cell states and Wirless data. Removed services because I cound get it to work correctly --- includes/definitions/discovery/gemds.yaml | 184 ++++- tests/data/gemds_mxncl4ene4sn1s1e6dcnn.json | 632 +++++++++++++++++- .../gemds_mxncl4ene4sn1s1e6dcnn.snmprec | 62 ++ 3 files changed, 859 insertions(+), 19 deletions(-) diff --git a/includes/definitions/discovery/gemds.yaml b/includes/definitions/discovery/gemds.yaml index 77f10f6f4c..b7ba3d977d 100644 --- a/includes/definitions/discovery/gemds.yaml +++ b/includes/definitions/discovery/gemds.yaml @@ -1,14 +1,170 @@ -mib: MDS-SYSTEM-MIB -modules: - os: - hardware: "MDS-SYSTEM-MIB::mSysProductConfiguration.0" - serial: "MDS-SYSTEM-MIB::mSysSerialNumberPlatform.0" - version: "MDS-SYSTEM-MIB::mSysVersion.2" - sensors: - temperature: - data: - - - descr: "System Temperature" - index: "mSysTemperature.{{ $index }}" - num_oid: ".1.3.6.1.4.1.4130.10.1.1.1.2.6.{{ $index }}" - oid: mSysTemperature +mib: MDS-SYSTEM-MIB:MDS-SERVICES-MIB:MDS-SERVICE-GPS-MIB:MDS-SERIAL-MIB:MDS-IF-CELL-MIB:MDS-EVENT-MIB:MDS-REG-MIB:MDS-ORBIT-SMI-MIB:MDS-IF-NX-MIB:MDS-IF-LW-MIB:MDS-IF-LN-MIB:MDS-IF-IEEE80211-MIB +modules: + os: + hardware: 'MDS-SYSTEM-MIB::mSysProductConfiguration.0' + serial: 'MDS-SYSTEM-MIB::mSysSerialNumberPlatform.0' + version: 'MDS-SYSTEM-MIB::mSysVersion.2' + + sensors: + state: + data: + - oid: mIfCellStatusTable + value: mIfCellServiceState + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.11.{{ $index }}' + state_name: mIfCellServiceState + group: Cellular Information + descr: 'Service State' + index: 'mIfCellServiceState.{{ $index }}' + states: + - { descr: gprs, graph: 0, value: 1, generic: 0 } + - { descr: edge, graph: 0, value: 2, generic: 0 } + - { descr: umts, graph: 0, value: 3, generic: 0 } + - { descr: hsdpa, graph: 0, value: 4, generic: 0 } + - { descr: hsupa, graph: 0, value: 5, generic: 0 } + - { descr: hspaPlus, graph: 0, value: 6, generic: 0 } + - { descr: is95a, graph: 0, value: 7, generic: 0 } + - { descr: is95b, graph: 0, value: 8, generic: 0 } + - { descr: onexRtt, graph: 0, value: 9, generic: 0 } + - { descr: evdoRev0, graph: 0, value: 10, generic: 0 } + - { descr: evdoReva, graph: 0, value: 11, generic: 0 } + - { descr: evdoRevb, graph: 0, value: 12, generic: 0 } + - { descr: evdoEhrpd, graph: 0, value: 13, generic: 0 } + - { descr: lte, graph: 0, value: 14, generic: 0 } + - { descr: not running, graph: 0, value: 0, generic: 3 } + + - oid: mIfCellStatusTable + value: mIfCellSimState + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.8.{{ $index }}' + state_name: mIfCellSimState + group: Cellular Information + descr: 'Sim State' + index: 'mIfCellSimState.{{ $index }}' + states: + - { descr: not inserted, graph: 0, value: 0, generic: 3 } + - { descr: locked, graph: 0, value: 1, generic: 1 } + - { descr: ready, graph: 0, value: 2, generic: 0 } + - { descr: failed, graph: 0, value: 3, generic: 2 } + - { descr: unknown, graph: 0, value: 4, generic: 1 } + + - oid: mIfCellStatusTable + value: mIfCellModemType + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.17.{{ $index }}' + state_name: mIfCellModemType + group: Cellular Information + descr: 'Modem Type' + index: 'mIfCellModemType.{{ $index }}' + states: + - { descr: unknown, graph: 0, value: 0, generic: 3 } + - { descr: E4VLteNaVerizon, graph: 0, value: 1, generic: 3 } + - { descr: 3G1GsmGlobal, graph: 0, value: 2, generic: 3 } + - { descr: E4xLteEmea, graph: 0, value: 3, generic: 3 } + - { descr: 4GxLteNa, graph: 0, value: 4, generic: 3 } + - { descr: 4GPLteNa, graph: 0, value: 5, generic: 3 } + - { descr: EZ1LteEmea, graph: 0, value: 6, generic: 3 } + - { descr: 4GyLteNaEu, graph: 0, value: 7, generic: 3 } + - { descr: 4GzLteApac, graph: 0, value: 8, generic: 3 } + - { descr: 4GaLteGlobal, graph: 0, value: 9, generic: 3 } + - { descr: 4GbLteAmericas, graph: 0, value: 10, generic: 3 } + - { descr: 4GcLteEu, graph: 0, value: 11, generic: 3 } + - { descr: 4GdLteGlobal, graph: 0, value: 12, generic: 3 } + - { descr: evdoEhrpd, graph: 0, value: 13, generic: 0 } + + - oid: mIfCellStatusTable + value: mIfCellModemState + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.9.{{ $index }}' + state_name: mIfCellModemState + group: Cellular Information + descr: 'Modem State' + index: 'mIfCellModemState.{{ $index }}' + states: + - { descr: unknown, graph: 0, value: 0, generic: 3 } + - { descr: notRegistered, graph: 0, value: 1, generic: 3 } + - { descr: searching, graph: 0, value: 2, generic: 3 } + - { descr: registrationDenied, graph: 0, value: 3, generic: 2 } + - { descr: idle, graph: 0, value: 4, generic: 3 } + - { descr: connected, graph: 0, value: 5, generic: 0 } + - { descr: fwRequired, graph: 0, value: 6, generic: 1 } + + - oid: mIfCellStatusTable + value: mIfCellBandwidth + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.23.{{ $index }}' + state_name: mIfCellBandwidth + group: Cellular Information + descr: 'Bandwidth' + index: 'mIfCellBandwidth.{{ $index }}' + states: + - { descr: unknown, graph: 0, value: 0, generic: 3 } + - { descr: 1.4Mhz, graph: 0, value: 1, generic: 0 } + - { descr: 3Mhz, graph: 0, value: 2, generic: 0 } + - { descr: 5Mhz, graph: 0, value: 3, generic: 0 } + - { descr: 10Mhz, graph: 0, value: 4, generic: 0 } + - { descr: 15Mhz, graph: 0, value: 5, generic: 0 } + - { descr: 20Mhz, graph: 0, value: 6, generic: 0 } + + - oid: mIfCellStatusTable + value: mIfCellRoamingState + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.10.{{ $index }}' + state_name: mIfCellRoamingState + group: Cellular Information + descr: 'Roaming State' + index: 'mIfCellRoamingState.{{ $index }}' + states: + - { descr: unknown, graph: 0, value: 0, generic: 3 } + - { descr: home, graph: 0, value: 1, generic: 0 } + - { descr: roaming, graph: 0, value: 2, generic: 1 } + + temperature: + data: + - oid: mSysTemperature + num_oid: '.1.3.6.1.4.1.4130.10.1.1.1.2.6.{{ $index }}' + index: 'mSysTemperature.{{ $index }}' + descr: 'System Temperature' + low_warn_limit: -35 + low_limit: -40 + warn_limit: 65 + high_limit: 70 + voltage: + data: + - oid: mSysPowerSupplyVoltage + num_oid: '.1.3.6.1.4.1.4130.10.1.1.1.2.9.{{ $index }}' + index: 'mSysPowerSupplyVoltage.{{ $index }}' + descr: 'Input Voltage' + low_warn_limit: 12 + low_limit: 10 + warn_limit: 58 + high_limit: 61 + signal: + data: + - oid: mIfCellStatusTable + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.12.{{ $index }}' + index: 'mIfCellRssi.{{ $index }}' + descr: 'Cellular RSSI' + value: mIfCellRssi + low_warn_limit: -60 + low_limit: -70 + high_limit: -5 + + - oid: mIfCellStatusTable + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.13.{{ $index }}' + index: 'mIfCellRsrp.{{ $index }}' + descr: 'Cellular RSRP' + value: mIfCellRsrp + low_warn_limit: -106 + low_limit: -120 + high_limit: -20 + + - oid: mIfCellStatusTable + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.14.{{ $index }}' + index: 'mIfCellRsrq.{{ $index }}' + descr: 'Cellular RSRQ' + value: mIfCellRsrq + low_warn_limit: -10 + low_limit: -13 + high_limit: -1 + + - oid: mIfCellStatusTable + num_oid: '.1.3.6.1.4.1.4130.10.2.1.1.2.1.1.15.{{ $index }}' + index: 'mIfCellSnr.{{ $index }}' + descr: 'Cellular SNR' + value: mIfCellSnr + high_limit: 100 diff --git a/tests/data/gemds_mxncl4ene4sn1s1e6dcnn.json b/tests/data/gemds_mxncl4ene4sn1s1e6dcnn.json index 953b4cd3d1..87b1f50fb8 100644 --- a/tests/data/gemds_mxncl4ene4sn1s1e6dcnn.json +++ b/tests/data/gemds_mxncl4ene4sn1s1e6dcnn.json @@ -1745,6 +1745,246 @@ "sensors": { "discovery": { "sensors": [ + { + "sensor_deleted": 0, + "sensor_class": "signal", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.13.2", + "sensor_index": "mIfCellRsrp.2", + "sensor_type": "gemds", + "sensor_descr": "Cellular RSRP", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": -79, + "sensor_limit": -20, + "sensor_limit_warn": null, + "sensor_limit_low": -120, + "sensor_limit_low_warn": -106, + "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": "signal", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.14.2", + "sensor_index": "mIfCellRsrq.2", + "sensor_type": "gemds", + "sensor_descr": "Cellular RSRQ", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": -7, + "sensor_limit": -1, + "sensor_limit_warn": null, + "sensor_limit_low": -13, + "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": "signal", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.12.2", + "sensor_index": "mIfCellRssi.2", + "sensor_type": "gemds", + "sensor_descr": "Cellular RSSI", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": -87, + "sensor_limit": -5, + "sensor_limit_warn": null, + "sensor_limit_low": -70, + "sensor_limit_low_warn": -60, + "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": "signal", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.15.2", + "sensor_index": "mIfCellSnr.2", + "sensor_type": "gemds", + "sensor_descr": "Cellular SNR", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 29, + "sensor_limit": 100, + "sensor_limit_warn": null, + "sensor_limit_low": -80, + "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": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.23.2", + "sensor_index": "mIfCellBandwidth.2", + "sensor_type": "mIfCellBandwidth", + "sensor_descr": "Bandwidth", + "group": "Cellular Information", + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 6, + "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": "mIfCellBandwidth" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.9.2", + "sensor_index": "mIfCellModemState.2", + "sensor_type": "mIfCellModemState", + "sensor_descr": "Modem State", + "group": "Cellular Information", + "sensor_divisor": 1, + "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": "mIfCellModemState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.17.2", + "sensor_index": "mIfCellModemType.2", + "sensor_type": "mIfCellModemType", + "sensor_descr": "Modem Type", + "group": "Cellular Information", + "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, + "state_name": "mIfCellModemType" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.10.2", + "sensor_index": "mIfCellRoamingState.2", + "sensor_type": "mIfCellRoamingState", + "sensor_descr": "Roaming State", + "group": "Cellular Information", + "sensor_divisor": 1, + "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": "mIfCellRoamingState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.11.2", + "sensor_index": "mIfCellServiceState.2", + "sensor_type": "mIfCellServiceState", + "sensor_descr": "Service State", + "group": "Cellular Information", + "sensor_divisor": 1, + "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": "mIfCellServiceState" + }, + { + "sensor_deleted": 0, + "sensor_class": "state", + "poller_type": "snmp", + "sensor_oid": ".1.3.6.1.4.1.4130.10.2.1.1.2.1.1.8.2", + "sensor_index": "mIfCellSimState.2", + "sensor_type": "mIfCellSimState", + "sensor_descr": "Sim State", + "group": "Cellular Information", + "sensor_divisor": 1, + "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": "mIfCellSimState" + }, { "sensor_deleted": 0, "sensor_class": "temperature", @@ -1757,10 +1997,34 @@ "sensor_divisor": 1, "sensor_multiplier": 1, "sensor_current": 35, - "sensor_limit": 55, - "sensor_limit_warn": null, - "sensor_limit_low": 25, - "sensor_limit_low_warn": null, + "sensor_limit": 70, + "sensor_limit_warn": 65, + "sensor_limit_low": -40, + "sensor_limit_low_warn": -35, + "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.4.1.4130.10.1.1.1.2.9.0", + "sensor_index": "mSysPowerSupplyVoltage.0", + "sensor_type": "gemds", + "sensor_descr": "Input Voltage", + "group": null, + "sensor_divisor": 1, + "sensor_multiplier": 1, + "sensor_current": 48.72, + "sensor_limit": 61, + "sensor_limit_warn": 58, + "sensor_limit_low": 10, + "sensor_limit_low_warn": 12, "sensor_alert": 1, "sensor_custom": "No", "entPhysicalIndex": null, @@ -1770,7 +2034,365 @@ "state_name": null } ], - "state_indexes": [] + "state_indexes": [ + { + "state_name": "mIfCellBandwidth", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellBandwidth", + "state_descr": "1.4Mhz", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellBandwidth", + "state_descr": "3Mhz", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellBandwidth", + "state_descr": "5Mhz", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellBandwidth", + "state_descr": "10Mhz", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellBandwidth", + "state_descr": "15Mhz", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellBandwidth", + "state_descr": "20Mhz", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "notRegistered", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "searching", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "registrationDenied", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "idle", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "connected", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellModemState", + "state_descr": "fwRequired", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 1 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "E4VLteNaVerizon", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "3G1GsmGlobal", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "E4xLteEmea", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GxLteNa", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GPLteNa", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "EZ1LteEmea", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GyLteNaEu", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GzLteApac", + "state_draw_graph": 0, + "state_value": 8, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GaLteGlobal", + "state_draw_graph": 0, + "state_value": 9, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GbLteAmericas", + "state_draw_graph": 0, + "state_value": 10, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GcLteEu", + "state_draw_graph": 0, + "state_value": 11, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "4GdLteGlobal", + "state_draw_graph": 0, + "state_value": 12, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellModemType", + "state_descr": "evdoEhrpd", + "state_draw_graph": 0, + "state_value": 13, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellRoamingState", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellRoamingState", + "state_descr": "home", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellRoamingState", + "state_descr": "roaming", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 1 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "not running", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "gprs", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "edge", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "umts", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "hsdpa", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "hsupa", + "state_draw_graph": 0, + "state_value": 5, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "hspaPlus", + "state_draw_graph": 0, + "state_value": 6, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "is95a", + "state_draw_graph": 0, + "state_value": 7, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "is95b", + "state_draw_graph": 0, + "state_value": 8, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "onexRtt", + "state_draw_graph": 0, + "state_value": 9, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "evdoRev0", + "state_draw_graph": 0, + "state_value": 10, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "evdoReva", + "state_draw_graph": 0, + "state_value": 11, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "evdoRevb", + "state_draw_graph": 0, + "state_value": 12, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "evdoEhrpd", + "state_draw_graph": 0, + "state_value": 13, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellServiceState", + "state_descr": "lte", + "state_draw_graph": 0, + "state_value": 14, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellSimState", + "state_descr": "not inserted", + "state_draw_graph": 0, + "state_value": 0, + "state_generic_value": 3 + }, + { + "state_name": "mIfCellSimState", + "state_descr": "locked", + "state_draw_graph": 0, + "state_value": 1, + "state_generic_value": 1 + }, + { + "state_name": "mIfCellSimState", + "state_descr": "ready", + "state_draw_graph": 0, + "state_value": 2, + "state_generic_value": 0 + }, + { + "state_name": "mIfCellSimState", + "state_descr": "failed", + "state_draw_graph": 0, + "state_value": 3, + "state_generic_value": 2 + }, + { + "state_name": "mIfCellSimState", + "state_descr": "unknown", + "state_draw_graph": 0, + "state_value": 4, + "state_generic_value": 1 + } + ] }, "poller": "matches discovery" } diff --git a/tests/snmpsim/gemds_mxncl4ene4sn1s1e6dcnn.snmprec b/tests/snmpsim/gemds_mxncl4ene4sn1s1e6dcnn.snmprec index a9a73f0b56..a34a14d00e 100644 --- a/tests/snmpsim/gemds_mxncl4ene4sn1s1e6dcnn.snmprec +++ b/tests/snmpsim/gemds_mxncl4ene4sn1s1e6dcnn.snmprec @@ -226,3 +226,65 @@ 1.3.6.1.4.1.4130.10.1.1.1.2.6.0|2|35 1.3.6.1.4.1.4130.10.1.1.1.2.7.1.2.2|4|8.3.3 1.3.6.1.4.1.4130.10.1.1.1.2.9.0|4|48.72 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.1.2|4| +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.2.2|4|356853051257295 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.3.2|4| +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.4.2|4| +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.5.2|4| +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.6.2|4|0.0.6b +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.7.2|4|Carrier:GENEU-4G, App:05.05.58.00, PRI:005.026_000 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.8.2|2|0 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.9.2|2|0 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.10.2|2|0 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.11.2|2|0 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.12.2|2|-87 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.13.2|2|-79 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.14.2|2|-7 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.15.2|2|29 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.17.2|2|3 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.18.2|4|1.0.2 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.19.2|2|2502 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.20.2|66|32843797 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.21.2|2|502 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.22.2|2|3 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.23.2|2|6 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.24.2|2|19650 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.25.2|2|1650 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.26.2|2|3 +1.3.6.1.4.1.4130.10.2.1.1.2.1.1.27.2|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.3.86.80.78|4|VPN +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.6.83.101.114.105.97.108|4|Serial +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.8.70.105.114.101.119.97.108.108|4|Firewall +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.11.68.72.67.80.32.83.101.114.118.101.114|4|DHCP Server +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.11.71.80.83.32.83.101.114.118.105.99.101|4|GPS Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.11.73.47.79.32.83.101.114.118.105.99.101|4|I/O Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.11.83.83.72.32.83.101.114.118.105.99.101|4|SSH Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.11.87.69.66.32.83.101.114.118.105.99.101|4|WEB Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.11.90.84.80.32.83.101.114.118.105.99.101|4|ZTP Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.12.68.68.78.83.32.83.101.114.118.105.99.101|4|DDNS Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.12.73.80.101.114.102.32.83.101.114.118.101.114|4|IPerf Server +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.12.78.72.82.80.32.83.101.114.118.105.99.101|4|NHRP Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.12.83.78.77.80.32.83.101.114.118.105.99.101|4|SNMP Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.14.73.80.32.80.97.115.115.116.104.114.111.117.103.104|4|IP Passthrough +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.15.78.69.84.67.79.78.70.32.83.101.114.118.105.99.101|4|NETCONF Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.18.81.117.97.108.105.116.121.32.111.102.32.83.101.114.118.105.99.101|4|Quality of Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.23.78.101.116.119.111.114.107.32.77.111.110.105.116.111.114.32.83.101.114.118.105.99.101|4|Network Monitor Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.1.25.82.101.109.111.116.101.32.77.97.110.97.103.101.109.101.110.116.32.83.101.114.118.105.99.101|4|Remote Management Service +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.3.86.80.78|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.6.83.101.114.105.97.108|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.8.70.105.114.101.119.97.108.108|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.11.68.72.67.80.32.83.101.114.118.101.114|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.11.71.80.83.32.83.101.114.118.105.99.101|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.11.73.47.79.32.83.101.114.118.105.99.101|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.11.83.83.72.32.83.101.114.118.105.99.101|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.11.87.69.66.32.83.101.114.118.105.99.101|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.11.90.84.80.32.83.101.114.118.105.99.101|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.12.68.68.78.83.32.83.101.114.118.105.99.101|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.12.73.80.101.114.102.32.83.101.114.118.101.114|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.12.78.72.82.80.32.83.101.114.118.105.99.101|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.12.83.78.77.80.32.83.101.114.118.105.99.101|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.14.73.80.32.80.97.115.115.116.104.114.111.117.103.104|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.15.78.69.84.67.79.78.70.32.83.101.114.118.105.99.101|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.18.81.117.97.108.105.116.121.32.111.102.32.83.101.114.118.105.99.101|2|1 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.23.78.101.116.119.111.114.107.32.77.111.110.105.116.111.114.32.83.101.114.118.105.99.101|2|0 +1.3.6.1.4.1.4130.10.3.1.1.2.1.1.2.25.82.101.109.111.116.101.32.77.97.110.97.103.101.109.101.110.116.32.83.101.114.118.105.99.101|2|0