
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

Hi,
there is not much information here but what strikes me is that you use the -k option, which is usually only needed if you have to produce output even in the face of significant compilation errors...
/js
On Mon, May 11, 2015 at 05:56:01PM -0400, Yves Desgagne wrote:
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
-- !! This message is brought to you via the `libsmi' mailing list. !! Please do not reply to this message to unsubscribe. To unsubscribe or adjust !! your settings, send a mail message to libsmi-request@ibr.cs.tu-bs.de !! or look at https://mail.ibr.cs.tu-bs.de/listinfo/libsmi.
participants (2)
-
Juergen Schoenwaelder
-
Yves Desgagne