Re: Issues with SNMP, MIBS and TKMIB in Debian Squeeze (OLD STABLE Lenny works fine)

"Raoul Bhatia [IPAX]" <[email protected]> Fri, 21 Oct 2011 09:32:21 +0200
Newsgroups gmane.linux.debian.user.isp
Organization IPAX Internet Services
Message-ID <[email protected]>
hi!

On 2011-10-20 19:50, Andres Migliazzo wrote:
> Folks,
> I have recently installed snmp and noticed that due to a license issue
> the MIBS are deployed in a different package called snmp-mibs-downloader
> that downloads and compiles the MIBs in our systems.
*snip*

> *Neverteless I found the following issues:*
> *1. It seems to be that some MIBs Object definitions are lost:*
> # snmpwalk -v 2c -c public localhost -m all
> Undefined OBJECT-GROUP (diffServMIBMultiFieldClfrGroup): At line 2195 in
> /usr/share/mibs/ietf/IPSEC-SPD-MIB
> Undefined OBJECT-GROUP (diffServMultiFieldClfrNextFree): At line 2157 in
*snip*

this is related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=584657

> *I saw a few bugs reports submitted because of this, but couldn't find
> the solution.
>
> Will this affect graphical reporting tools like Cacti or monitoring
> tools like Nagios?*
i did not notice any problem here.

> *2. TKMIB does not shows the whole SMI tree by default.*
> You have to manually go to MIBS->Load MIBS and put the path to
> /usr/share/mibs/ietf to be able to see them. Anoying.
sorry, i do not know about this.

> *3. Even though I have the following entries in my snmp.conf file, it
> does not load all the mibs modules and it is anoying to be adding "-m
> all" to each command so see a human readable output:*
>
> # egrep -v "^#|^$" /etc/snmp/snmp.conf
> mibs ALL
> mibdirs /usr/share/mibs/ietf:/usr/share/mibs/iana:/usr/share/mibs/netsnmp

i use "mibs +ALL" (including the plus)

# snmpwalk -c public -v 2c host system 2>/dev/null
SNMPv2-MIB::sysDescr.0 = STRING: Foundry Networks EdgeIron 4802CF
SNMPv2-MIB::sysObjectID.0 = OID: 
FOUNDRY-SN-ROOT-MIB::edgeIronType2Mib.1.4.3.1
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (274961701) 31 days, 
19:46:57.01
SNMPv2-MIB::sysContact.0 = STRING: [email protected]
....

so maybe this is related to the "+" in snmp.conf?

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          [email protected]
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            [email protected]
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________