I’ve been having some trouble getting our EdgeSwitches to discover. Through some poking and prodding I found that the sysObjectID OID had changed. I added it to the edgeswitch.yaml file and it would still not discover. I found that collapsing the file, which currently has 2 sysObjectID statements fixed this. I would like to submit a pull request to get this change added, but am not very good with git and would not like to break anything, so if someone doesn’t mind getting this into a pull request I would appreciate it.
old /opt/librenms/includes/definitions/edgeswitch.yaml
os: edgeswitch
text: EdgeSwitch
type: network
icon: ubiquiti
ifname: true
bad_snmpEngineTime: true
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'CPU Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
discovery:
-
sysObjectID:
- .1.3.6.1.4.1.4413
- .1.3.6.1.4.1.41112
- .1.3.6.1.4.1.10002
- .1.3.6.1.4.1.8072
sysDescr_regex:
- '/^EdgeSwitch/'
- '/^EdgePoint/'
- '/^USW[ -]/'
- '/^UBNT US/'
- '/^US[ -]/'
-
sysObjectID:
- .1.3.6.1.4.1.8072.3.2.10
- .1.3.6.1.4.1.27282.3.2.10
sysDescr_regex:
- '/^Linux UBNT/'
- '/^RTL8380/'
New:
os: edgeswitch
text: EdgeSwitch
type: network
icon: ubiquiti
ifname: true
bad_snmpEngineTime: true
over:
- { graph: device_bits, text: 'Device Traffic' }
- { graph: device_processor, text: 'CPU Usage' }
- { graph: device_mempool, text: 'Memory Usage' }
discovery:
-
sysObjectID:
- .1.3.6.1.2.1.1.1.0
- .1.3.6.1.4.1.4413
- .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.8072.3.2.10
- .1.3.6.1.4.1.27282.3.2.10
sysDescr_regex:
- '/^EdgeSwitch/'
- '/^EdgePoint/'
- '/^USW[ -]/'
- '/^UBNT US/'
- '/^US[ -]/'
- '/^Linux UBNT/'
- '/^RTL8380/'