Re: OID description
"pali spacek" <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Great, now my 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' matter. Dave helped me To solve this. Thank you Dave. Dave Shield wrote: 2008/5/9 pali spacek <[email protected]> <[email protected]>: 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;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users 2008/5/9 pali spacek <[email protected]>: > Please, if there is developer behind this mail, I have got one small > question. Where I set up OID description in source code? I need my own > description of new OID in my new MIB. This is output from my own MIB and > looks disappointing without descriptions: > > [maestro@creative3 mibwifi]$ ./walkl > + snmpwalk -v2c -c clovek localhost:5910 > SNMPv2-SMI::mib-2.1000.1.1.1 = INTEGER: 1 > SNMPv2-SMI::mib-2.1000.1.2.1 = STRING: "wlan0" > SNMPv2-SMI::mib-2.1000.1.3.1 = STRING: "Managed" > > I need add information > SNMPv2-SMI::mib-2.1000.1.3.1 => SNMPv2-SMI::mode.1 > You can show me that here, my MIB is based on this sources: > > http://www.net-snmp.org/tutorial/tutorial-5/toolkit/mfd/if-mib/ifTable/source/ > Thank you. > > Pali from Slovakia, Europe > -- > Ak si prajes aby som cital tvoj mail do 5 min, tak napis do predmetu X5. > mobil << 0903 48 47 40 >> icq << 309458351 >> ------------------------------------------------------------------------- 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;198757673;13503038;p?http://java.sun.com/javaone _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users