Hi,
I’m using libsmi or to be more accurate smidump to generate a Python dictionaries represention of the MIB module later used by the Ruby SNMP gem.
The following command is working well on my Mac.
smidump -k -f python SIMPLER-NETWORKS-MIB.my
The output is in the form of:
sni: 1.3.6.1.4.1.4987
ezedge: 1.3.6.1.4.1.4987.1
sniConnTable: 1.3.6.1.4.1.4987.1.1
sniConnEntry: 1.3.6.1.4.1.4987.1.1.1
...
But I’m not deploying the Rails app to my Mac. I have to deploy that on an Ubuntu server. I installed libsmi and smidump using apt-get packages. But when I run the exact same command to generate the output, I get the following:
sni: '0.4987'
ezedge: 0.4987.1
sniConnTable: 0.4987.1.1
sniConnEntry: 0.4987.1.1.1
All the entreprise part is shown as 0 instead of the correct number. So the Ruby gem is actually not able to access anything.
Any idea how to fix that?
Thanks,
Yves