Den 08-11-2011 01:28, Nguyen Dinh Phong skrev: > snmpwalk -v 2c -c public 127.0.0.1 > I only see some of the standard mibs, but not the two mibs that I linked in. > Also, I found the same behavior on UCD-SNMP-MIB, i.e. > snmpwalk -v 2c -c public 127.0.0.1 1.3.6.1.4.1.2021 would show the whole > UCD-SNMP-MIB, but > snmpwalk -v 2c -c public 127.0.0.1would not. > Is this expected behavior ?
Yes. From the snmpwalk man page: > If no OID argument is present, snmpwalk will search the subtree rooted > at SNMPv2-SMI::mib-2 (including any MIB object values from other MIB > modules, that are defined as lying within this subtree). If you want the full tree you should use snmpwalk localhost 1 /Niels -- Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net The purpose of computing is insight, not numbers --- R W Hamming ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ Net-snmp-coders mailing list Net-snmp-coders@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/net-snmp-coders