This is a discussion on Re: OID description within the SNMP Users forums, part of the Networking and Network Related category; Great, now description works: [maestro@creative3 mibwifi]$ ./walkl | head + snmpwalk -M+/home/maestro/.snmp/mibs -m WIFI-MIB -v2c -c ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Great, now description works:
[maestro@creative3 mibwifi]$ ./walkl | head + snmpwalk -M+/home/maestro/.snmp/mibs -m WIFI-MIB -v2c -c clovek localhost:5910 WIFI-MIB::index.1 = INTEGER: 1 WIFI-MIB::ifname.1 = STRING: "wlan0" WIFI-MIB::protocol.1 = STRING: "\"IEEE 802.11\"" [maestro@creative3 mibwifi]$ ./walkl -On | head + snmpwalk -M+/home/maestro/.snmp/mibs -m WIFI-MIB -v2c -c clovek localhost:5910 -On ..1.3.6.1.2.1.12.1.1.1 = INTEGER: 1 ..1.3.6.1.2.1.12.1.2.1 = STRING: "wlan0" ..1.3.6.1.2.1.12.1.3.1 = STRING: "\"IEEE 802.11\"" Maybe bug is that I can't locate OID in 1,3,6,1,4,1,8072 only 1,3,6,1,2,1,12 works. Doesn' metter. Thank you Dave. Dave Shield wrote: > 2008/5/9 pali spacek <pali.spacek@gmail.com>: > >> Where I set up OID description in source code? >> > > This doesn't require any changes to the source code. > The descriptions are taken from the MIB file. > > > >> I need my own description of new OID in my new MIB. >> > > The two requirements here are: > a) define a MIB file that describes these objects > and install this in the appropriate place > b) configure snmpwalk to load this MIB file > > See the FAQ entry on loading mibs into the tools > for more info. > > Dave > > ------------------------------------------------------------------------- > This SF.net email is sponsored by the 2008 JavaOne(SM) Conference > Don't miss this year's exciting event. There's still time to save $100. > Use priority code J8TL2D2. > http://ad.doubleclick.net/clk;198757...un.com/javaone > _______________________________________________ > 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/...net-snmp-users > > ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757...un.com/javaone _______________________________________________ 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/...net-snmp-users |
![]() |
| Thread Tools | |
| Display Modes | |
|
|