-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
MiB Translation Fail with resolveWithMib #62
Comments
pip_list.txt |
The The other possibility is that you redefine If you enable pysnmp debugging, the whole MIB lookup process should be reported. That might help figuring out the root cause. |
I attached the Debug log |
It's hard to tell the exact problem without seeing the whole program and relate it to the debug you provided... Could you please add
...and re-run your case? Also, I am not sure how your code is structured, but if you run more than one SNMP query per process invocation, it makes sense (from performance standpoint) to run MIB loading pieces just once. |
Hi @etingof with SNMPv2-MIB insted of SNMPv2-SMI its working fine. The structure of code is something like this:
|
So does that solve you problem or not quite? I'm not sure why you need the If you still need that custom MIB resolver, I'd strongly recommend making the |
@etingof This solve the problem. But when its with oid for some reason its failing.
Can you please confirm its behavior. |
That's because you are using the wrong method. It should be .addAsn1MibSource, not |
@etingof with addAsn1MibSource its working fine please close it. |
Hi,
I am performing a walk(Refer walk_out.txt
walk_out.txt
) and then trying to translate the O/P using some thing like this:
And getting this bellow error:
Now without MIB Translation code (with prettyPrint ) its provides o/p something like this:
-I- SNMPv2-MIB::sysDescr.0 = Tseries
-I- SNMPv2-MIB::sysObjectID.0 = SNMPv2-SMI::enterprises.211.24.12
-I- SNMPv2-MIB::sysUpTime.0 = 677417
Now What could be the problem here with this Translation. Is it the custom MIB file which I am using is creatiing any problem ?
But '1.3.6.1.2.1.1.2.0' is a part of SNMPv2-SMI.
The text was updated successfully, but these errors were encountered: