Confound it. I’m at a loss as to what to do with these darned Cisco 9300’s that are trying (poorly, I might add) to be Merakis but, instead, show up as Generic.
Hello Laf, thanks much for reading my post! These do not run XE. As far as I can tell, Cisco bought Meraki, killed off their line of switches, and is now trying to make the 9300 into a Meraki. For sysObjectId on this C9300-48UN, I get:
Thanks, Laf! The interfaces show up as mac_addr:number instead of just number which is a little weird. Besides that minor weirdness, it seems to work just fine.
I’ve updated the pull request to use ifAlias for the port descriptions, if not set they will fall back to what you see now which is garbage from Cisco!
At the brazen risk of sounding ungrateful, I’m now thinking the way you had it before is better than ifAlias because it does give you that port number. A shame you can’t split on the ‘/’ and take the second element in the list. However, “mac/number” instead of simply “number” is very minor annoyance. As a Cisco user, one must learn to always be content with “The Cisco Way” of doing it, and it would be well to do so rather than asking busy LibreNMS people to kluge what might change next month without warning!
(Raises hand sheepishly)
Um… I’m a little confused. Why’d you change .1.3.6.1.4.1.29671.2.388 to .1.3.6.1.4.1.29671.2.38 in that last commit? Better yet, why does .1.3.6.1.4.1.29671.2.388 not work when that’s obviously the sysObjectID?
I don’t get any port graphs on the newest commit. Pulling my hair out trying to figure out why.
And the device turns “generic” on me! Now, by this point, I’m sure you opinion of me is quite similar to my avatar. But, I’m pretty sure I’m not crazy, the os shows “Meraki CS” in Libre.
The update has been merged in, remove the changes (./scripts/github-remove -d will do that if you have NO other local changes or files as it wipes everything out back to default) then upgrade and see how you get on.
Yeah, I’d respond that way too if I were you. It’s not that many changed files. I’m pretty sure it doesn’t work, but I’ll need to dive deeper to figure it out. Till then, thanks for the help Laf, always appreciated!