Rick Engelbrecht wrote:
>Hi All
>
>I hope you can help on this. I installed Ethereal 0.9.8 and got SNMP OID
>Decode to work in Redhat 8.0 for my specific (special) MIB, and would like
>to do the same for WIN NT.
>
>I installed Ethereal 0.9.8 on a Win NT (SP6a), and copied my MIB (the one
>working in Red Hat) into the c:\Program files\ethereal\snmp\mibs directory.
>Made the Environment changes by adding the variable MIBS=ALL to system -
>Environment. At this point it does not decode the MIBs as it does in Red
>Hat. Looking through the mailing lists I do not see anything else to do,
>other than what was already done. Could someone perhaps shed light on this?
>
There could of course be several different reasons why you don't get it to work.
It normally works for me to use my own MIBs by just putting the MIB in the directory and set MIBS=ALL when
using Ethereal 0.9.8 on Windows 98/2000/NT. I have only had some problems with certain MIBS
that were not completely correct.
Maybe there is some difference in what net-snmp/ucd-snmp versions that are used in your Linux system
and your Windows system that could explain why the same MIB doesn't work on both systems.
Maybe the MIB you have problem with is importing something from some other MIB that you only have
on your Linux system, or similar.
Maybe you should also check if there is a MIBDIRS environment variable defined on your Windows system
Ethereal will use that environment variable if it is defined, so maybe you should
put your mib-files e.g. in C:/usr/mibs/ if MIBDIRS points to that directory.
If the MIBDIRS environment variable is not defined then Ethereal will use the
/snmp/mibs directory int the directory where Ethereal is installed.
Another idea could be to use some net-snmp commands to see if you get any errors with
your MIB.
http://net-snmp.sourceforge.net/tutorial/commands/index.html