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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...