Splunk Dev

Problem converting MIB file to Python

DavidHourani
Super Champion

Hello,

I am trying to convert a MIB file to python in order to use it in "SNMP Modular Input" and I am having the following error:

#smidump -f python CISCO-LWAPP-AP-MIB.my

CISCO-LWAPP-AP-MIB.my: unable to determine SMI version
smidump: cannot locate module `CISCO-LWAPP-AP-MIB.my'

Could someone please help me get this fixed ?

Thank you

Best regards,
David

0 Karma

Damien_Dallimor
Ultra Champion

This question is related to the SNMP Modular Input for loading in custom MIBs.

Check to make sure your SMI paths are set up correctly in /etc/smi.conf

DavidHourani
Super Champion

Ummm... i looked in /etc and i don't have an smi.conf

I only have the following:

smicache smidiff smidump smilint smiquery smistrip smixlate

Am I missing something ?

0 Karma

Damien_Dallimor
Ultra Champion

Trying qualifying your MIB file path by putting a preceeding "./".

smidump -f python ./CISCO-LWAPP-AP-MIB.my

smidump docs : https://www.ibr.cs.tu-bs.de/projects/libsmi/smidump.html

Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...