-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cisco devices - SN display #244
Comments
Hello, the current version of the Cisco IOS driver looks for "chassis" in the |
Hello, show inventory NAME: "4 Port FE Switch on Slot 0 SubSlot 0", DESCR: "4 Port FE Switch" I would say that this is not necessarily relate to 1921 products but to others as well. This would be another example NAME: "chassis", DESCR: "1841 chassis" NAME: "WIC/HWIC 0", DESCR: "4 Port FE Switch" |
So we could match for |
I can confirm that it works with /[Cc]hassis/ for that router family. I've tested with the following code and appears to do the trick.
|
Hi, I would require your help another issue if you could and have the time. I assume that would require some kind of a loop to see if there's one configure, something like if in the show inventory command there is a NAME: "1" and a NAME: "2" and the PID is the same to set the SN for each of the one.
BR, |
Hi,
This is more of a cosmetic issue, but i was wondering why in General > Serial Number field, it's not always populated or when it is populated it has the wrong SN in it, like for a module/transceiver the device has.
I have compared the output of the command : show inventory and the regex in the Cisco_IOS.js script and they seem to capture the right thing.
e.g. i have the following in the Module tab for a device , but nothing is displayed in SN
Another device, same model has the SN of the switch module in it
Regards,
Paul
The text was updated successfully, but these errors were encountered: