mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Add support for Ubiquiti Unifi USP-RPS device (#15900)
This commit is contained in:
3
includes/definitions/discovery/unifi-usp.yaml
Normal file
3
includes/definitions/discovery/unifi-usp.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
modules:
|
||||
os:
|
||||
version: SNMPv2-MIB::sysDescr.0
|
11
includes/definitions/unifi-usp.yaml
Normal file
11
includes/definitions/unifi-usp.yaml
Normal file
@@ -0,0 +1,11 @@
|
||||
os: unifi-usp
|
||||
text: 'Ubiquiti UniFi'
|
||||
type: power
|
||||
icon: ubiquiti
|
||||
snmp_bulk: false
|
||||
mib_dir: ubnt
|
||||
discovery:
|
||||
-
|
||||
sysObjectID: .1.3.6.1.4.1.8072.3.2.10
|
||||
sysDescr_regex:
|
||||
- '/^USP-/'
|
552
tests/data/unifi-usp_rps.json
Normal file
552
tests/data/unifi-usp_rps.json
Normal file
@@ -0,0 +1,552 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
|
||||
"sysDescr": "USP-RPS 6.6.61.15179",
|
||||
"sysContact": "<private>",
|
||||
"version": "USP-RPS 6.6.61.15179",
|
||||
"hardware": null,
|
||||
"features": null,
|
||||
"location": "<private>",
|
||||
"os": "unifi-usp",
|
||||
"type": "power",
|
||||
"serial": null,
|
||||
"icon": "ubiquiti.svg"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"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,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "softwareLoopback",
|
||||
"ifAlias": "lo",
|
||||
"ifPhysAddress": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 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,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": null,
|
||||
"ifAdminStatus": null,
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": null,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "eth0",
|
||||
"ifPhysAddress": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 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,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": "up",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": 65536,
|
||||
"ifType": "softwareLoopback",
|
||||
"ifAlias": "lo",
|
||||
"ifPhysAddress": null,
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 48,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 48,
|
||||
"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": 6504,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 6504,
|
||||
"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": 0,
|
||||
"ifSpeed_prev": null,
|
||||
"ifConnectorPresent": null,
|
||||
"ifOperStatus": "up",
|
||||
"ifOperStatus_prev": "up",
|
||||
"ifAdminStatus": "up",
|
||||
"ifAdminStatus_prev": null,
|
||||
"ifDuplex": null,
|
||||
"ifMtu": 1500,
|
||||
"ifType": "ethernetCsmacd",
|
||||
"ifAlias": "eth0",
|
||||
"ifPhysAddress": "245a4c14e4f4",
|
||||
"ifLastChange": 0,
|
||||
"ifVlan": null,
|
||||
"ifTrunk": null,
|
||||
"ignore": 0,
|
||||
"disabled": 0,
|
||||
"deleted": 0,
|
||||
"pagpOperationMode": null,
|
||||
"pagpPortState": null,
|
||||
"pagpPartnerDeviceId": null,
|
||||
"pagpPartnerLearnMethod": null,
|
||||
"pagpPartnerIfIndex": null,
|
||||
"pagpPartnerGroupIfIndex": null,
|
||||
"pagpPartnerDeviceName": null,
|
||||
"pagpEthcOperationMode": null,
|
||||
"pagpDeviceId": null,
|
||||
"pagpGroupIfIndex": null,
|
||||
"ifInUcastPkts": 23290636,
|
||||
"ifInUcastPkts_prev": 0,
|
||||
"ifInUcastPkts_delta": null,
|
||||
"ifInUcastPkts_rate": null,
|
||||
"ifOutUcastPkts": 1166990,
|
||||
"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": 3054402846,
|
||||
"ifInOctets_prev": 0,
|
||||
"ifInOctets_delta": null,
|
||||
"ifInOctets_rate": null,
|
||||
"ifOutOctets": 510131453,
|
||||
"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
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"processors": {
|
||||
"discovery": {
|
||||
"processors": [
|
||||
{
|
||||
"entPhysicalIndex": 0,
|
||||
"hrDeviceIndex": 196608,
|
||||
"processor_oid": ".1.3.6.1.2.1.25.3.3.1.2.196608",
|
||||
"processor_index": "196608",
|
||||
"processor_type": "hr",
|
||||
"processor_usage": 4,
|
||||
"processor_descr": "Processor",
|
||||
"processor_precision": 1,
|
||||
"processor_perc_warn": 75
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"mempools": {
|
||||
"discovery": {
|
||||
"mempools": [
|
||||
{
|
||||
"mempool_index": "1",
|
||||
"entPhysicalIndex": null,
|
||||
"mempool_type": "ucd",
|
||||
"mempool_class": "system",
|
||||
"mempool_precision": 1024,
|
||||
"mempool_descr": "Physical memory",
|
||||
"mempool_perc": 16,
|
||||
"mempool_perc_oid": null,
|
||||
"mempool_used": 20856832,
|
||||
"mempool_used_oid": null,
|
||||
"mempool_free": 106414080,
|
||||
"mempool_free_oid": ".1.3.6.1.4.1.2021.4.6.0",
|
||||
"mempool_total": 127270912,
|
||||
"mempool_total_oid": null,
|
||||
"mempool_largestfree": null,
|
||||
"mempool_lowestfree": null,
|
||||
"mempool_deleted": 0,
|
||||
"mempool_perc_warn": null
|
||||
},
|
||||
{
|
||||
"mempool_index": "3",
|
||||
"entPhysicalIndex": null,
|
||||
"mempool_type": "ucd",
|
||||
"mempool_class": "buffers",
|
||||
"mempool_precision": 1024,
|
||||
"mempool_descr": "Memory buffers",
|
||||
"mempool_perc": 0,
|
||||
"mempool_perc_oid": null,
|
||||
"mempool_used": 0,
|
||||
"mempool_used_oid": ".1.3.6.1.4.1.2021.4.14.0",
|
||||
"mempool_free": 127270912,
|
||||
"mempool_free_oid": null,
|
||||
"mempool_total": 127270912,
|
||||
"mempool_total_oid": null,
|
||||
"mempool_largestfree": null,
|
||||
"mempool_lowestfree": null,
|
||||
"mempool_deleted": 0,
|
||||
"mempool_perc_warn": null
|
||||
},
|
||||
{
|
||||
"mempool_index": "4",
|
||||
"entPhysicalIndex": null,
|
||||
"mempool_type": "ucd",
|
||||
"mempool_class": "cached",
|
||||
"mempool_precision": 1024,
|
||||
"mempool_descr": "Cached memory",
|
||||
"mempool_perc": 16,
|
||||
"mempool_perc_oid": null,
|
||||
"mempool_used": 20590592,
|
||||
"mempool_used_oid": ".1.3.6.1.4.1.2021.4.15.0",
|
||||
"mempool_free": 106680320,
|
||||
"mempool_free_oid": null,
|
||||
"mempool_total": 127270912,
|
||||
"mempool_total_oid": null,
|
||||
"mempool_largestfree": null,
|
||||
"mempool_lowestfree": null,
|
||||
"mempool_deleted": 0,
|
||||
"mempool_perc_warn": null
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
},
|
||||
"route": {
|
||||
"discovery": {
|
||||
"route": [
|
||||
{
|
||||
"context_name": "",
|
||||
"inetCidrRouteIfIndex": 2,
|
||||
"inetCidrRouteType": 4,
|
||||
"inetCidrRouteProto": 2,
|
||||
"inetCidrRouteNextHopAS": 0,
|
||||
"inetCidrRouteMetric1": 1,
|
||||
"inetCidrRouteDestType": "ipv4",
|
||||
"inetCidrRouteDest": "0.0.0.0",
|
||||
"inetCidrRouteNextHopType": "ipv4",
|
||||
"inetCidrRouteNextHop": "10.10.2.1",
|
||||
"inetCidrRoutePolicy": "ccitt.0",
|
||||
"inetCidrRoutePfxLen": 0
|
||||
},
|
||||
{
|
||||
"context_name": "",
|
||||
"inetCidrRouteIfIndex": 2,
|
||||
"inetCidrRouteType": 3,
|
||||
"inetCidrRouteProto": 2,
|
||||
"inetCidrRouteNextHopAS": 0,
|
||||
"inetCidrRouteMetric1": 0,
|
||||
"inetCidrRouteDestType": "ipv4",
|
||||
"inetCidrRouteDest": "10.10.2.0",
|
||||
"inetCidrRouteNextHopType": "ipv4",
|
||||
"inetCidrRouteNextHop": "0.0.0.0",
|
||||
"inetCidrRoutePolicy": "ccitt.0",
|
||||
"inetCidrRoutePfxLen": 24
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
136
tests/snmpsim/unifi-usp_rps.snmprec
Normal file
136
tests/snmpsim/unifi-usp_rps.snmprec
Normal file
@@ -0,0 +1,136 @@
|
||||
1.3.6.1.2.1.1.1.0|4|USP-RPS 6.6.61.15179
|
||||
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.8072.3.2.10
|
||||
1.3.6.1.2.1.1.3.0|67|421511300
|
||||
1.3.6.1.2.1.1.4.0|4|<private>
|
||||
1.3.6.1.2.1.1.5.0|4|<private>
|
||||
1.3.6.1.2.1.1.6.0|4|<private>
|
||||
1.3.6.1.2.1.2.2.1.1.1|2|1
|
||||
1.3.6.1.2.1.2.2.1.1.2|2|2
|
||||
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.5.1|66|10000000
|
||||
1.3.6.1.2.1.2.2.1.5.2|66|0
|
||||
1.3.6.1.2.1.2.2.1.6.1|4|
|
||||
1.3.6.1.2.1.2.2.1.6.2|4x|245a4c14e4f4
|
||||
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.10.1|65|6504
|
||||
1.3.6.1.2.1.2.2.1.10.2|65|3054402846
|
||||
1.3.6.1.2.1.2.2.1.11.1|65|48
|
||||
1.3.6.1.2.1.2.2.1.11.2|65|23290636
|
||||
1.3.6.1.2.1.2.2.1.12.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.12.2|65|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|0
|
||||
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.15.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.15.2|65|0
|
||||
1.3.6.1.2.1.2.2.1.16.1|65|6504
|
||||
1.3.6.1.2.1.2.2.1.16.2|65|510131453
|
||||
1.3.6.1.2.1.2.2.1.17.1|65|48
|
||||
1.3.6.1.2.1.2.2.1.17.2|65|1166990
|
||||
1.3.6.1.2.1.2.2.1.18.1|65|0
|
||||
1.3.6.1.2.1.2.2.1.18.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.2.2.1.21.1|66|0
|
||||
1.3.6.1.2.1.2.2.1.21.2|66|0
|
||||
1.3.6.1.2.1.2.2.1.22.1|6|0.0
|
||||
1.3.6.1.2.1.2.2.1.22.2|6|0.0
|
||||
1.3.6.1.2.1.4.3.0|65|10619112
|
||||
1.3.6.1.2.1.4.4.0|65|0
|
||||
1.3.6.1.2.1.4.5.0|65|75297
|
||||
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|10362380
|
||||
1.3.6.1.2.1.4.10.0|65|875082
|
||||
1.3.6.1.2.1.4.11.0|65|20
|
||||
1.3.6.1.2.1.4.12.0|65|97
|
||||
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.10.10.2.42|2|2
|
||||
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.3.10.10.2.42|64|255.255.255.0
|
||||
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.21.1.1.0.0.0.0|64|0.0.0.0
|
||||
1.3.6.1.2.1.4.21.1.1.10.10.2.0|64|10.10.2.0
|
||||
1.3.6.1.2.1.4.21.1.2.0.0.0.0|2|2
|
||||
1.3.6.1.2.1.4.21.1.2.10.10.2.0|2|2
|
||||
1.3.6.1.2.1.4.21.1.3.0.0.0.0|2|1
|
||||
1.3.6.1.2.1.4.21.1.3.10.10.2.0|2|0
|
||||
1.3.6.1.2.1.4.21.1.7.0.0.0.0|64|10.10.2.1
|
||||
1.3.6.1.2.1.4.21.1.7.10.10.2.0|64|0.0.0.0
|
||||
1.3.6.1.2.1.4.21.1.8.0.0.0.0|2|4
|
||||
1.3.6.1.2.1.4.21.1.8.10.10.2.0|2|3
|
||||
1.3.6.1.2.1.4.21.1.9.0.0.0.0|2|2
|
||||
1.3.6.1.2.1.4.21.1.9.10.10.2.0|2|2
|
||||
1.3.6.1.2.1.4.21.1.11.0.0.0.0|64|0.0.0.0
|
||||
1.3.6.1.2.1.4.21.1.11.10.10.2.0|64|255.255.255.0
|
||||
1.3.6.1.2.1.4.21.1.13.0.0.0.0|6|0.0
|
||||
1.3.6.1.2.1.4.21.1.13.10.10.2.0|6|0.0
|
||||
1.3.6.1.2.1.4.22.1.2.2.10.10.2.1|4x|E00EDA10D044
|
||||
1.3.6.1.2.1.4.22.1.2.2.10.10.2.30|4x|D8CB8A014CF6
|
||||
1.3.6.1.2.1.4.22.1.2.2.10.10.2.100|4x|72A741BE6A3A
|
||||
1.3.6.1.2.1.4.22.1.2.2.10.10.2.200|4x|86E178DF9644
|
||||
1.3.6.1.2.1.11.1.0|65|69561
|
||||
1.3.6.1.2.1.11.2.0|65|69561
|
||||
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|0
|
||||
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|147617
|
||||
1.3.6.1.2.1.11.14.0|65|0
|
||||
1.3.6.1.2.1.11.15.0|65|23973
|
||||
1.3.6.1.2.1.11.16.0|65|44684
|
||||
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|69585
|
||||
1.3.6.1.2.1.11.29.0|65|0
|
||||
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.25.3.2.1.1.196608|2|196608
|
||||
1.3.6.1.2.1.25.3.2.1.2.196608|6|1.3.6.1.2.1.25.3.1.3
|
||||
1.3.6.1.2.1.25.3.2.1.3.196608|4|
|
||||
1.3.6.1.2.1.25.3.2.1.4.196608|6|0.0
|
||||
1.3.6.1.2.1.25.3.2.1.5.196608|2|2
|
||||
1.3.6.1.2.1.25.3.3.1.1.196608|6|0.0
|
||||
1.3.6.1.2.1.25.3.3.1.2.196608|2|4
|
||||
1.3.6.1.4.1.2021.4.3.0|2|0
|
||||
1.3.6.1.4.1.2021.4.4.0|2|0
|
||||
1.3.6.1.4.1.2021.4.5.0|2|124288
|
||||
1.3.6.1.4.1.2021.4.6.0|2|83812
|
||||
1.3.6.1.4.1.2021.4.14.0|2|0
|
||||
1.3.6.1.4.1.2021.4.15.0|2|20108
|
||||
1.3.6.1.4.1.2021.10.1.5.1|2|155
|
||||
1.3.6.1.4.1.2021.10.1.5.2|2|153
|
||||
1.3.6.1.4.1.2021.10.1.5.3|2|149
|
||||
1.3.6.1.6.3.10.2.1.3.0|2|254306
|
Reference in New Issue
Block a user