librenms/tests/data/rutos-rutx_rut360.json
PipoCanaja 8c4205c614
refactor - remove unused entPhysicalIndex_measured (#15892)
* remove unused entPhysicalIndex_measured
* tests
* tests
* doc
* entPhysicalIndex_measured must be ports OR null currently
* Should not pass tests
* tests
* back to normal
2024-03-19 10:24:07 +01:00

735 lines
30 KiB
JSON

{
"sensors": {
"discovery": {
"sensors": [
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.18.1",
"sensor_index": "mCellID.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Cell ID",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 22221111,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.3.1",
"sensor_index": "mImei.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "IMEI",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1234567891,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "count",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.8.1",
"sensor_index": "mIMSI.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "IMSI",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1234567890,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "signal",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.20.1",
"sensor_index": "mRSRP.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Signal Level - RSRP",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": -98,
"sensor_limit": 0,
"sensor_limit_warn": null,
"sensor_limit_low": -100,
"sensor_limit_low_warn": -90,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "1",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "signal",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.21.1",
"sensor_index": "mRSRQ.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Signal Level - RSRQ",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": -12,
"sensor_limit": 0,
"sensor_limit_warn": null,
"sensor_limit_low": -20,
"sensor_limit_low_warn": -15,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "1",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "signal",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.12.1",
"sensor_index": "mSignal.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Signal Level - RSSI",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": -71,
"sensor_limit": 0,
"sensor_limit_warn": null,
"sensor_limit_low": -85,
"sensor_limit_low_warn": -75,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "1",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "snr",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.19.1",
"sensor_index": "mSINR.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Signal Level - SINR",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 6.7,
"sensor_limit": 30,
"sensor_limit_warn": null,
"sensor_limit_low": 6,
"sensor_limit_low_warn": 13,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": "1",
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.15.1",
"sensor_index": "mConnectionState.1",
"sensor_type": "TELTONIKA-RUTX-MIB::ConnectionState",
"sensor_descr": "Connection State (Telia)",
"group": "Mobile",
"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,
"rrd_type": "GAUGE",
"state_name": "TELTONIKA-RUTX-MIB::ConnectionState"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.16.1",
"sensor_index": "mConnectionType.1",
"sensor_type": "TELTONIKA-RUTX-MIB::ConnectionType",
"sensor_descr": "Connection Type",
"group": "Mobile",
"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,
"rrd_type": "GAUGE",
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.11.1",
"sensor_index": "1",
"sensor_type": "TELTONIKA-RUTX-MIB::NetState",
"sensor_descr": "Mobile Net State",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 1,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "TELTONIKA-RUTX-MIB::NetState"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.10.1",
"sensor_index": "1",
"sensor_type": "TELTONIKA-RUTX-MIB::PinState",
"sensor_descr": "SIM PIN State",
"group": "Mobile",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_current": 2,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": "TELTONIKA-RUTX-MIB::PinState"
},
{
"sensor_deleted": 0,
"sensor_class": "state",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.9.1",
"sensor_index": "1",
"sensor_type": "TELTONIKA-RUTX-MIB::SimState",
"sensor_descr": "SIM State",
"group": "Mobile",
"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,
"rrd_type": "GAUGE",
"state_name": "TELTONIKA-RUTX-MIB::SimState"
},
{
"sensor_deleted": 0,
"sensor_class": "temperature",
"poller_type": "snmp",
"sensor_oid": ".1.3.6.1.4.1.48690.2.2.1.17.1",
"sensor_index": "mTemperature.1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem Module Temp",
"group": "Modem",
"sensor_divisor": 10,
"sensor_multiplier": 1,
"sensor_current": 42,
"sensor_limit": 75,
"sensor_limit_warn": null,
"sensor_limit_low": -40,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_prev": null,
"user_func": null,
"rrd_type": "GAUGE",
"state_name": null
}
],
"state_indexes": [
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionState",
"state_descr": "Connected",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionState",
"state_descr": "Not connected",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionState",
"state_descr": "Disconnected",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 2
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType",
"state_descr": "LTE",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType",
"state_descr": "4G",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType",
"state_descr": "3G",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 1
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType",
"state_descr": "2G",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 1
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType",
"state_descr": "WCDMA",
"state_draw_graph": 1,
"state_value": 4,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::ConnectionType",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 5,
"state_generic_value": 3
},
{
"state_name": "TELTONIKA-RUTX-MIB::NetState",
"state_descr": "searching",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 1
},
{
"state_name": "TELTONIKA-RUTX-MIB::NetState",
"state_descr": "registered (home)",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::NetState",
"state_descr": "registered (roaming)",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 1
},
{
"state_name": "TELTONIKA-RUTX-MIB::NetState",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 3
},
{
"state_name": "TELTONIKA-RUTX-MIB::NetState",
"state_descr": "unregistered",
"state_draw_graph": 1,
"state_value": 4,
"state_generic_value": 2
},
{
"state_name": "TELTONIKA-RUTX-MIB::PinState",
"state_descr": "PIN REQUIRED",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 2
},
{
"state_name": "TELTONIKA-RUTX-MIB::PinState",
"state_descr": "NOT READY",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 1
},
{
"state_name": "TELTONIKA-RUTX-MIB::PinState",
"state_descr": "READY",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::PinState",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 3,
"state_generic_value": 3
},
{
"state_name": "TELTONIKA-RUTX-MIB::SimState",
"state_descr": "inserted",
"state_draw_graph": 1,
"state_value": 0,
"state_generic_value": 0
},
{
"state_name": "TELTONIKA-RUTX-MIB::SimState",
"state_descr": "not inserted",
"state_draw_graph": 1,
"state_value": 1,
"state_generic_value": 2
},
{
"state_name": "TELTONIKA-RUTX-MIB::SimState",
"state_descr": "unknown",
"state_draw_graph": 1,
"state_value": 2,
"state_generic_value": 3
}
]
},
"poller": "matches discovery"
},
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux Teltonika 4.14.221 #0 Mon Feb 15 15:22:37 2021 mips",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"location": null,
"os": "rutos-rutx",
"type": "network",
"serial": null,
"icon": "teltonika.png"
}
]
},
"poller": "matches discovery"
},
"wireless": {
"discovery": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "sinr",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem SINR",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 6.7,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.19.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrp",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem RSRP",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -98,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.20.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrq",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem RSRQ",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -12,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.21.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rssi",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem RSSI",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -71,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.12.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "cell",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem CELL ID",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 22221111,
"sensor_prev": null,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.18.1\"]",
"rrd_type": "GAUGE"
}
]
},
"poller": {
"wireless_sensors": [
{
"sensor_deleted": 0,
"sensor_class": "sinr",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem SINR",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 6.7,
"sensor_prev": 6.7,
"sensor_limit": null,
"sensor_limit_warn": null,
"sensor_limit_low": null,
"sensor_limit_low_warn": null,
"sensor_alert": 1,
"sensor_custom": "No",
"entPhysicalIndex": null,
"entPhysicalIndex_measured": null,
"sensor_oids": "[\".1.3.6.1.4.1.48690.2.2.1.19.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrp",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem RSRP",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -98,
"sensor_prev": -98,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.20.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rsrq",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem RSRQ",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -12,
"sensor_prev": -12,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.21.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "rssi",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem RSSI",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": -71,
"sensor_prev": -71,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.12.1\"]",
"rrd_type": "GAUGE"
},
{
"sensor_deleted": 0,
"sensor_class": "cell",
"sensor_index": "1",
"sensor_type": "rutos-rutx",
"sensor_descr": "Modem CELL ID",
"sensor_divisor": 1,
"sensor_multiplier": 1,
"sensor_aggregator": "sum",
"sensor_current": 22221111,
"sensor_prev": 22221111,
"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_oids": "[\".1.3.6.1.4.1.48690.2.2.1.18.1\"]",
"rrd_type": "GAUGE"
}
]
}
}
}