Re: OID description

Palec <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
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 <[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
>
>   


-------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.