Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines
Hello, Maybe someone has an idea why snmptanslate doesn't show the full MIB tree on equal configured machnies, and how it could be solved. https://sourceforge.net/p/net-snmp/mailman/message/35255038/ Thanks! Regards, venerable -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines
Den 02-08-2016 kl. 15:52 skrev venerabl...@googlemail.com: > Hello, > > Maybe someone has an idea why snmptanslate doesn't show the full MIB tree on > equal configured machnies, and > how it could be solved. > > https://sourceforge.net/p/net-snmp/mailman/message/35255038/ I dont follow the -users list, and it has been vacation time, sorry ... Have you tried to add -Dparse-mibs to snmptranslate, to learn what files it finds and tries to parse? You don't have any conflicting snmp.conf files? I have never seen such a problem. /Niels -- Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net The purpose of computing is insight, not numbers -- R W Hamming -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
RE: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines
Hello Niels, No problem. Yes, I have, and some MIB files were not loaded.server1/usr/share/mibs/ENTITY-MIB/usr/share/mibs/LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB/usr/share/mibs/ENTITY-MIB.../usr/share/mibs/LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB...server2/usr/share/mibs/DOCS-IF-M-CMTS-MIB/usr/share/mibs/IF-MIB/usr/share/mibs/DOCS-IF-M-CMTS-MIB.../usr/share/mibs/IF-MIB...Only, why? The config files are equal. Regards, Venerable > -Ursprüngliche Nachricht- > Von: Niels Baggesen > Gesendet: Mi. 31.08.2016 19:48 > An: net-snmp-coders@lists.sourceforge.net > Betreff: Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal > Systems | Machines > > Den 02-08-2016 kl. 15:52 skrev venerabl...@googlemail.com: >> Hello, >> >> Maybe someone has an idea why snmptanslate doesn't show the full MIB tree on >> equal configured machnies, > and >> how it could be solved. >> >>" target="_blank">https://sourceforge.net/p/net-snmp/mailman/message/35255038/ > > I dont follow the -users list, and it has been vacation time, sorry ... > > Have you tried to add -Dparse-mibs to snmptranslate, to learn what files > it finds and tries to parse? > > You don't have any conflicting snmp.conf files? > > I have never seen such a problem. > > /Niels > > -- > Niels Baggesen -- @home -- Århus -- Denmark -- ni...@baggesen.net > The purpose of computing is insight, not numbers -- R W Hamming > > -- > ___ > Net-snmp-coders mailing list > Net-snmp-coders@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/net-snmp-coders > > > -Ursprüngliche Nachricht Ende- -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines
Den 04-09-2016 kl. 18:29 skrev venerabl...@googlemail.com: > Yes, I have, and some MIB files were not > loaded.server1/usr/share/mibs/ENTITY-MIB/usr/share/mibs/LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB/usr/share/mibs/ENTITY-MIB.../usr/share/mibs/LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB...server2/usr/share/mibs/DOCS-IF-M-CMTS-MIB/usr/share/mibs/IF-MIB/usr/share/mibs/DOCS-IF-M-CMTS-MIB.../usr/share/mibs/IF-MIB...Only, > why? > > The config files are equal. Woukd you mind posting your snmp.conf and the output from snmptranslate -Dparse-mibs /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines
Den 12-09-2016 kl. 09:41 skrev venerabl...@googlemail.com: > Hi, > > Sorry for late response, I'm on vacation. > > At the attatched you can find the files. (I do not want to post it, because > there really long) >From the debug I can see differences in the mib files detected: --- mib-80.txt 2016-09-12 21:22:25.391857064 +0200 +++ mib-81.txt 2016-09-12 21:22:15.131982801 +0200 @@ -1507,7 +1507,6 @@ /usr/share/mibs/EGENERA-MIB /usr/share/mibs/EM4513-MIB /usr/share/mibs/ENERGY-OBJECT-MIB -/usr/share/mibs/ENTITY-MIB /usr/share/mibs/ENTITY-SENSOR-MIB /usr/share/mibs/ENTITY-STATE-MIB /usr/share/mibs/ENTITY-STATE-TC-MIB @@ -1737,11 +1736,14 @@ /usr/share/mibs/LINK-INCIDENT-MIB /usr/share/mibs/LISP-MIB /usr/share/mibs/LLDP-EXT-DCBX-MIB +/usr/share/mibs/LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB /usr/share/mibs/LLDP-EXT-DOT1-MIB +/usr/share/mibs/LLDP-EXT-DOT1-V2-MIB /usr/share/mibs/LLDP-EXT-DOT3-MIB /usr/share/mibs/LLDP-EXT-MED-MIB /usr/share/mibs/LLDP-MIB -/usr/share/mibs/LLDP-V2-MIB /usr/share/mibs/LLDP-V2-TC-MIB /usr/share/mibs/LMP-MIB What version of Net-SNMP are you using? The parser tries to optimize which files to scan by creating an index of which mibs are in which files. There are a couple pre-requisites for this to work, because it requires the time-stamp of the index file to be comparable with the modification date of the mib directory. Older versions keep the index in the file .index kept in the directory, current version keeps the directory in the persistent directory of the program. If the index seems newer than the directory it will be trusted, so this may be the problem you see. /Niels -- Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming -- 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-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
RE: Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal Systems | Machines
> -Ursprüngliche Nachricht- > Von: Niels Baggesen > Gesendet: Mo. 12.09.2016 21:33 > An: venerabl...@googlemail.com, net-snmp-coders@lists.sourceforge.net >, , > Betreff: Re: Cross-Post: Snmptranslate doesn't show full MIB-Tree on equal > Systems | Machines > > Den 12-09-2016 kl. 09:41 skrev venerabl...@googlemail.com: >> Hi, >> >> Sorry for late response, I'm on vacation. >> >> At the attatched you can find the files. (I do not want to post it, because >> there really long) > > From the debug I can see differences in the mib files detected: > > --- mib-80.txt 2016-09-12 21:22:25.391857064 +0200 > +++ mib-81.txt 2016-09-12 21:22:15.131982801 +0200 > @@ -1507,7 +1507,6 @@ > /usr/share/mibs/EGENERA-MIB > /usr/share/mibs/EM4513-MIB > /usr/share/mibs/ENERGY-OBJECT-MIB > -/usr/share/mibs/ENTITY-MIB > /usr/share/mibs/ENTITY-SENSOR-MIB > /usr/share/mibs/ENTITY-STATE-MIB > /usr/share/mibs/ENTITY-STATE-TC-MIB > @@ -1737,11 +1736,14 @@ > /usr/share/mibs/LINK-INCIDENT-MIB > /usr/share/mibs/LISP-MIB > /usr/share/mibs/LLDP-EXT-DCBX-MIB > +/usr/share/mibs/LLDP-EXT-DOT1-EVB-EXTENSIONS-MIB > /usr/share/mibs/LLDP-EXT-DOT1-MIB > +/usr/share/mibs/LLDP-EXT-DOT1-V2-MIB > /usr/share/mibs/LLDP-EXT-DOT3-MIB > /usr/share/mibs/LLDP-EXT-MED-MIB > /usr/share/mibs/LLDP-MIB > -/usr/share/mibs/LLDP-V2-MIB > /usr/share/mibs/LLDP-V2-TC-MIB > /usr/share/mibs/LMP-MIB > > > What version of Net-SNMP are you using? I'm using 5.4.3 > > The parser tries to optimize which files to scan by creating an index of > which mibs are in which files. > > There are a couple pre-requisites for this to work, because it requires > the time-stamp of the index file to be comparable with the modification > date of the mib directory. > > Older versions keep the index in the file .index kept in the directory, > current version keeps the directory in the persistent directory of the > program. If the index seems newer than the directory it will be trusted, > so this may be the problem you see. What can I do? Deleting the index file, that it would be created new? I have checked the files on both servers, and they are different. The MIB files at the directory should have the same time-stamp, i have copied this at same time. > > /Niels > > -- > Niels Baggesen - @home - Århus - Denmark - n...@users.sourceforge.net > The purpose of computing is insight, not numbers --- R W Hamming > > > -Ursprüngliche Nachricht Ende- -- ___ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders