All Apps and Add-ons

How to convert .my files to .egg in Windows

zoh
Explorer

I am having trouble converting additional custom MIBs into Python Modules.
I have searched and found libsmi2pysnmp, smidump are linux commands. And i have installed build-pysnmp-mib module in python but i do not know how to call it by command "build-pysnmp-mib -o SOME-CUSTOM-MIB.py SOME-CUSTOM-MIB.mib" as it is not an executable. Please guide on how to make use of Cisco .my files.

0 Karma

pmeyerson
Path Finder

FYI IF-MIB is included in the default package .egg file, you shouldn't need to compile anything to use it, just specify that MIB name in the example zoh posted.

0 Karma

Damien_Dallimor
Ultra Champion

If you don't have Linux , try this online utility : http://www.ibr.cs.tu-bs.de/projects/libsmi/tools/

zoh
Explorer

Can you walk through for converting "IF-MIB" as mentioned in following question
http://splunk-base.splunk.com/answers/92475/snmp-modular-example
I am getting error each time I convert to Python dictonary representation.

0 Karma

jessicaz
New Member

I have to convert a custom mib file into pysnmp format.
I try to use the tool provided by this link: http://www.ibr.cs.tu-bs.de/projects/libsmi/tools/
But I don't know which option I should select under "What is the target format to be generated".

I tried with "python -python dictionary representation, for developers programming in python"
But the file generated seems not work for me.

Please let me know which one I should select if I do 'Convert a MIB to another format (smidump)'?

0 Karma

leenguyen08
New Member

i have same problem. how to fix it?

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...