Added my ruckus unleashed master AP, Device is added but seen as “generic device”.
This is how it shows up in web gui:
Further to this the logo is not changing to ruckus:
here is the output of vlidate.php:
here is the output of ./discovery.php -h 26 -d -m os
Here is output of ./poller.php -h 26 -r -f -d | ./pbin.sh:
https://p.libren.ms/view/546238a0
I’ve tried deleting and re-adding it many times but it just remains as a generic device event though it is clearly picking up it is a ruckus unleashed R510
Ruckus “fixed” the system object ID for Unleashed with 200.15. The Ruckus SNMP spec said “.1.3.6.1.4.1.25053.3.1.5.20”, but 200.14 incorrectly used “.1.3.6.1.4.1.25053.3.1.5.15”.
This addresses the issue with librenms:
--- includes/definitions/ruckuswireless-unleashed.yaml.org 2024-04-28 17:43:26.135737508 -0700
+++ includes/definitions/ruckuswireless-unleashed.yaml 2024-04-28 16:59:41.572914085 -0700
@@ -9,7 +9,7 @@
- { graph: device_wireless_clients, text: 'Number of Clients' }
discovery:
-
- sysObjectID: .1.3.6.1.4.1.25053.3.1.5.15
+ sysObjectID: .1.3.6.1.4.1.25053.3.1.5.20
snmpget_except:
oid: '.1.3.6.1.4.1.25053.1.2.1.1.1.1.9.0'
op: starts
Thanks dennypage.
Can you explain how I use this please?
You would apply that diff to the librenms code. You will need to rediscover after application.
no idea how to do that but searched a bit deeper and edited the relevant yaml file.
(/opt/librenms/includes/definitions/ruckuswireless-unleashed.yaml)
Much easier than assuming I know how to apply a diff to code, Sorry I’m not a programmer.
I assume you got it working though?
Hi - There was a PR that got merged 2 days ago about this change. So next release should hopefully fix it, see
librenms:master
← Cougar:patch-1
opened 06:38PM - 26 May 24 UTC
Please give a short description what your pull request is for
Fix for Ruckus … Unleashed OS detection. It could be that the previous `sysObjectID` worked with older firmware but most probably it is just a typo and untested with real hardware.
Ruckus MIB lists .15 as `ruckusZD1200` and .20 as `ruckusUnleashed`. This is based on [unleashed-mibs-20230626.zip](https://support.ruckuswireless.com/software/4093-ruckus-unleashed-ap-200-15-mr-refresh-snmp-mibs) which is the latest MIB bundle for Unleashed products.
```
RUCKUS-PRODUCTS-MIB.txt:ruckusZD1200 OBJECT IDENTIFIER ::= { ruckusWirelessControllerProducts 15 }
RUCKUS-PRODUCTS-MIB.txt:ruckusUnleashed OBJECT IDENTIFIER ::= { ruckusWirelessControllerProducts 20 }
```
This change has been tested with latest `200.15.6.112 build 54`.
#### Please note
> Please read this information carefully. You can run `./lnms dev:check` to check your code before submitting.
- [x] Have you followed our [code guidelines?](https://docs.librenms.org/Developing/Code-Guidelines/)
- [x] If my Pull Request does some changes/fixes/enhancements in the WebUI, I have inserted a screenshot of it.
- [x] If my Pull Request makes discovery/polling/yaml changes, I have added/updated [test data](https://docs.librenms.org/Developing/os/Test-Units/).
I couldn't run tests myself but hope that this change is straightforward and don't break any existing tests.
#### Testers
If you would like to test this pull request then please run: `./scripts/github-apply <pr_id>`, i.e `./scripts/github-apply 5926`
After you are done testing, you can remove the changes with `./scripts/github-remove`. If there are schema changes, you can ask on discord how to revert.
1 Like