All Apps and Add-ons

Why am I getting an error with `SNMP-FRAMEWORK-MIB.mib' trying to convert MIB files to python modules?

kgbeck
New Member

I am trying to convert MIB files to python modules but I keep getting this error:

"smidump: module `SNMP-FRAMEWORK-MIB.mib' contains errors, expect flawed output"

I have tried several standard MIB files and I get the same result.
Has anyone else seem this?
Thanks,
Kevin

Tags (1)
0 Karma

Damien_Dallimor
Ultra Champion

Guessing here...

Perhaps your SNMP-FRAMEWORK-MIB.mib imports dependencies chain are not getting resolved ?

Can smidump find all the dependent mibs ? ie: look in /etc/smi.conf , are the dependencies on the path ?

Or your SNMP-FRAMEWORK-MIB.mib might not be in correct MIB format ?

0 Karma

kgbeck
New Member

Thank you Damien. We have written our own MIB and I got that message. That's when I tried a known MIB, the SNMP-FRAMEWORK-MIB and I tried to convert it in it's native directory. I've never worked with smidump before but it looks straightforward as far as what it is doing. I'm just not sure why it's failing.
Kevin

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...