Have you tried to turn on some debug TOKENs to verify things?
See e.g. http://net-snmp.sourceforge.net/wiki/index.php/Debug_tokens

E.g., snmptranslate -m ALL -Pu  -Dparse-file -Of 
.1.3.6.1.4.1.4491.2.1.6.2.1.1

will list all MIB files (with full paths) parsed. Comparing the output 
on the two machines may show what's amiss (-DALL will output all 
debugging info, IIRC)

-EricZ

On 07/21/2016 09:18 AM, venerabl...@googlemail.com wrote:
>         > How did you verify that both machines had the exact same MIB files?
>>
>> Lee
>
> I have copied the files on both machines (/usr/share/mibs), and the count is 
> the same.
>
> Regards,
> Venerable
>
>> -----Ursprüngliche Nachricht-----
>> Von: Lee
>> Gesendet: Mi. 20.07.2016 17:42
>> An: venerabl...@googlemail.com
>> Kopie: net-snmp-users@lists.sourceforge.net
>> ,  ,
>> Betreff: Re: snmptranslate doesn't show full MIB-Tree on equal Systems
>>
>> On 7/20/16, venerabl...@googlemail.com  wrote:
>>> On 7/15/16, ler...@gmail.com wrote
>>>> What happens if you try it with mibReplaceWithLatest off? Found this:
>>>> " 
>>>> target="_blank">https://docs.oracle.com/cd/E18752_01/html/816-5166/snmpcmd-1m.html
>>>>> -PR > Replace MIB objects using the last read MIB file. The parser
>>>> replaces MIB objects in its hierarchy whenever it sees a subidentifier
>>>> and name match. > Caution - Setting this option might result in an
>>>> incorrect
>>>> hierarchy. Can be also set with the configuration token >
>>>> mibReplaceWithLatest.
>>>>> Regards,
>>>> Lee
>>>
>>> I have set it to "no" on both machines, no changes.
>>> On Server1 no problems, on server2 the same problem as before.
>>>
>>> It seems to be really tricky.
>>
>> How did you verify that both machines had the exact same MIB files?
>>
>> Lee
>>
>>
>>>
>>> Regards,
>>> Venerable
>>>
>>> 2016-07-15 0:38 GMT+02:00 Lee :
>>>>
>>>> On 7/14/16, venerabl...@googlemail.com  wrote:
>>>>> Hi Hans,
>>>>>
>>>>> Thanks for reply.
>>>>>
>>>>> The MIB files on both machines are the same.
>>>>>
>>>>> I have compiled hundreds of MIB files and copied to both machines.
>>>>>
>>>>> The MIB files from the std packages, have I moved to my home directory
>>>>> before.
>>>>>
>>>>> The snmp config files are all the same.
>>>>>
>>>>> I have also checked env, export and net-snmp-config, I can't find any
>>>>> differences.
>>>>>
>>>>> My snmp.conf looks like:
>>>>>
>>>>> mibdirs /usr/share/mibs
>>>>> mibs ALL
>>>>> showMibErrors yes
>>>>> strictCommentTerm yes
>>>>> mibAllowUnderline yes
>>>>> mibReplaceWithLatest yes
>>>>> extendedIndex yes
>>>>
>>>> What happens if you try it with mibReplaceWithLatest off?  Found this:
>>>> " 
>>>> target="_blank">https://docs.oracle.com/cd/E18752_01/html/816-5166/snmpcmd-1m.html
>>>>
>>>> -PR
>>>>     Replace MIB objects using the last read MIB file. The parser
>>>> replaces MIB objects in its hierarchy whenever it sees a subidentifier
>>>> and name match.
>>>>     Caution - Setting this option might result in an incorrect
>>>> hierarchy. Can be also set with the configuration token
>>>> mibReplaceWithLatest.
>>>>
>>>> Regards,
>>>> Lee
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> Thanks!
>>>>>
>>>>> Venerable
>>>>>
>>>>>
>>>>>
>>>>>> -----Ursprüngliche Nachricht-----
>>>>>> Von: Hans Jørgen Jakobsen
>>>>>> Gesendet: Di. 12.07.2016 18:50
>>>>>> An: net-snmp-users@lists.sourceforge.net
>>>>>> Betreff: Re: snmptranslate doesn't show full MIB-Tree on equal Systems
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, 11 Jul 2016, venerabl...@googlemail.com wrote:
>>>>>>
>>>>>>> For example:
>>>>>>> If I use snmptranslate -m ALL -Pu -Of .1.3.6.1.4.1.4491.2.1.6.2.1.1
>>>>>>> on Server1 then it translated me
>>>>>>
>> .iso.org.dod.internet.private.enterprises.cableLabs.clabProject.clabProjDocsis.docsIfMCmtsMib./
>>>>>
>>>>> docsIfMCmtsConformance.docsIfMCmtsCompliances.docsIfMCmtsCoreDeviceCompliance
>>>>>>>
>>>>>>> If I use the same command on Server2 then it translated me only
>>>>>>>
>>>>>>>
>> .iso.org.dod.internet.private.enterprises.cableLabs.clabProject.clabProjDocsis.docsIfMCmtsMib.2.1.1
>>>>>>>
>>>>>>>
>>>>>>> How can that be?
>>>>>>
>>>>>> Have you looked at what MIB files are present on both machines.
>>>>>> How has the Docsis MIB files entered the machines. They are at least on
>>>>>> my machines not part of std packages.
>>>>>> Differences in enviroment variables or (snmp) config files?
>>>>>>
>>>>>> /hjj>
>>>>>>
>>>>>> -----Ursprüngliche Nachricht Ende-----
>>
>>
>> -----Ursprüngliche Nachricht Ende-----
>
>
> ------------------------------------------------------------------------------
> What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
> patterns at an interface-level. Reveals which users, apps, and protocols are
> consuming the most bandwidth. Provides multi-vendor support for NetFlow,
> J-Flow, sFlow and other flows. Make informed decisions using capacity planning
> reports.http://sdm.link/zohodev2dev
> _______________________________________________
> Net-snmp-users mailing list
> Net-snmp-users@lists.sourceforge.net
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to