librenms/tests/data/jetstream_sg2210p.json
Justin Bronn f8d9ab4d49
Improve TP-Link JetStream Discovery (#12946)
* Add the TPLINK-SYSINFO MIB, via TP-Link's 20210310 archive.

* Simplify discovery of TP-Link JetStream switches: the OID `.1.3.6.1.4.1.11863.5.` applies to them all.

* Support TP-Link JetStream switch hardware, serial, and version data using their sysInfo MIB.

* Use correct filename for the TP-Link sysInfo MIB.

* Add SNMP and test data for TP-Link JetStream switch models SG2210P and T2600G-28TS.
2021-06-16 18:18:58 +02:00

69 lines
2.4 KiB
JSON

{
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.11863.5.26",
"sysDescr": "JetStream 10-Port Gigabit Smart Switch with 8-Port PoE+",
"sysContact": "<private>",
"version": "3.20.0 Build 20200730 Rel.32643",
"hardware": "TL-SG2210P 3.20",
"features": null,
"os": "jetstream",
"type": "network",
"serial": "22064D8000919",
"icon": "tplink.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
},
"mempools": {
"discovery": {
"mempools": [
{
"mempool_index": "1",
"entPhysicalIndex": null,
"mempool_type": "jetstream",
"mempool_class": "system",
"mempool_precision": 1,
"mempool_descr": "Memory #1",
"mempool_perc": 34,
"mempool_perc_oid": ".1.3.6.1.4.1.11863.6.4.1.2.1.1.2.1",
"mempool_used": 34,
"mempool_used_oid": null,
"mempool_free": 66,
"mempool_free_oid": null,
"mempool_total": 100,
"mempool_total_oid": null,
"mempool_largestfree": null,
"mempool_lowestfree": null,
"mempool_deleted": 0,
"mempool_perc_warn": 90
}
]
},
"poller": "matches discovery"
},
"processors": {
"discovery": {
"processors": [
{
"entPhysicalIndex": 0,
"hrDeviceIndex": 0,
"processor_oid": ".1.3.6.1.4.1.11863.6.4.1.1.1.1.2.1",
"processor_index": "1",
"processor_type": "jetstream",
"processor_usage": 29,
"processor_descr": "Proc #1",
"processor_precision": 1,
"processor_perc_warn": 75
}
]
},
"poller": "matches discovery"
}
}