mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
Fix OS Detection for USW-Flex-XG (#13999)
* Fix OS Detection for USW-Flex-XG * Only include OS module
This commit is contained in:
@@ -15,6 +15,7 @@ discovery:
|
||||
- .1.3.6.1.4.1.41112
|
||||
- .1.3.6.1.4.1.10002
|
||||
- .1.3.6.1.4.1.8072
|
||||
- .1.3.6.1.4.1
|
||||
sysDescr_regex:
|
||||
- '/^EdgeSwitch/'
|
||||
- '/^EdgePoint/'
|
||||
|
23
tests/data/edgeswitch_usw-flex-xg.json
Normal file
23
tests/data/edgeswitch_usw-flex-xg.json
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"os": {
|
||||
"discovery": {
|
||||
"devices": [
|
||||
{
|
||||
"sysName": "<private>",
|
||||
"sysObjectID": ".1.3.6.1.4.1",
|
||||
"sysDescr": "USW-Flex-XG, 6.2.14.13855",
|
||||
"sysContact": "<private>",
|
||||
"version": "6.2.14.13855",
|
||||
"hardware": "USW-Flex-XG",
|
||||
"features": null,
|
||||
"os": "edgeswitch",
|
||||
"type": "network",
|
||||
"serial": null,
|
||||
"icon": "ubiquiti.svg",
|
||||
"location": "<private>"
|
||||
}
|
||||
]
|
||||
},
|
||||
"poller": "matches discovery"
|
||||
}
|
||||
}
|
2323
tests/snmpsim/edgeswitch_usw-flex-xg.snmprec
Normal file
2323
tests/snmpsim/edgeswitch_usw-flex-xg.snmprec
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user