Skip to content
Permalink
Browse files

Added detection for ESW 5xx series of Cisco SB devices (librenms#10077)

* Added detection for ESW 5xx series of Cisco SB devices

* Added test files

* Fixed the regex

* Updated definitions

* Final fix hopefully
  • Loading branch information...
laf authored and funzoneq committed Apr 9, 2019
1 parent c299619 commit 416c359a85c6d703c7d48d61486ea413d78fb67f
Showing with 27 additions and 0 deletions.
  1. +2 −0 includes/definitions/ciscosb.yaml
  2. +23 −0 tests/data/ciscosb_esw540_8p.json
  3. +2 −0 tests/snmpsim/ciscosb_esw540_8p.snmprec
@@ -57,3 +57,5 @@ discovery:
- .1.3.6.1.4.1.9.6.1.34.371.1
- sysDescr_regex:
- '/^Linksys SLM/'
- sysObjectID_regex:
- '/^.1.3.6.1.4.1.9.1.(1058|1059|1060|1061|1062|1063|1064|1176|1177)/'
@@ -0,0 +1,23 @@
{
"os": {
"discovery": {
"devices": [
{
"sysName": "",
"sysObjectID": ".1.3.6.1.4.1.9.1.1176",
"sysDescr": "8-port 10/100/1000 Ethernet Switch with PoE",
"sysContact": null,
"version": null,
"hardware": null,
"features": null,
"os": "ciscosb",
"type": "network",
"serial": null,
"icon": "cisco.svg",
"location": null
}
]
},
"poller": "matches discovery"
}
}
@@ -0,0 +1,2 @@
1.3.6.1.2.1.1.1.0|4|8-port 10/100/1000 Ethernet Switch with PoE
1.3.6.1.2.1.1.2.0|6|1.3.6.1.4.1.9.1.1176

0 comments on commit 416c359

Please sign in to comment.
You can’t perform that action at this time.