Skip to content
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

Wrong module name to import in CISCO-TS-STACK-MIB #116

Open
myhomenwlab opened this issue Dec 25, 2024 · 1 comment
Open

Wrong module name to import in CISCO-TS-STACK-MIB #116

myhomenwlab opened this issue Dec 25, 2024 · 1 comment

Comments

@myhomenwlab
Copy link

The following error message was displayed when loading CISCO-TS-STACK-MIB.
I’m not actually using this MIB.
However, I noticed it because errors occur when trying to load all v1 and v2 MIBs.

[Error Messages (snmptranslate command)]
Cannot find module (RFC1493): At line 17 in ./v1/CISCO-TS-STACK-MIB.my
Cannot find module (RFC-1513): At line 29 in ./v1/CISCO-TS-STACK-MIB.my

[Relevant Code]
https://github.com/cisco/cisco-mibs/blob/main/v1/CISCO-TS-STACK-MIB.my#L16-L17

   Timeout
           FROM RFC1493

https://github.com/cisco/cisco-mibs/blob/main/v1/CISCO-TS-STACK-MIB.my#L27-L29

   ringStationIfIndex,
   ringStationMacAddress
           FROM RFC-1513

I checked the definition in the RFC and found that the name was different.

  • RFC1493 -> BRIDGE-MIB
  • RFC-1513 -> TOKEN-RING-RMON-MIB

RFC1493
https://datatracker.ietf.org/doc/html/rfc1493#section-5

BRIDGE-MIB DEFINITIONS ::= BEGIN

RFC-1513
https://datatracker.ietf.org/doc/html/rfc1513#section-5

TOKEN-RING-RMON-MIB DEFINITIONS ::= BEGIN

myhomenwlab added a commit to myhomenwlab/cisco-mibs that referenced this issue Dec 25, 2024
Correction of imported module names (Issue cisco#116)
@myhomenwlab
Copy link
Author

RFC1493 -> BRIDGE-MIB

In cisco-mibs, BRIDGE-MIB were defined in the following files.

v1: RFC 1493 based
https://github.com/cisco/cisco-mibs/blob/main/v1/BRIDGE-MIB.my

v2: RFC 4188 based (Obsoletes: 1493)
https://github.com/cisco/cisco-mibs/blob/main/v2/BRIDGE-MIB.my

RFC-1513 -> TOKEN-RING-RMON-MIB

In cisco-mibs, TOKEN-RING-RMON-MIB was defined in the following file.

v1: RFC 1513 based
https://github.com/cisco/cisco-mibs/blob/main/v1/TOKEN-RING-RMON-MIB.my

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant