[rrd-users] MIB description

pali spacek pali.spacek at gmail.com
Tue Apr 22 17:31:54 CEST 2008


Hi, I'm creating my own MIB for WiFI stuff. I have problems I really
don't know where are decriptions od OID set. Here is example output:

./mib_wifi -f -L -Dmib_wifi -M localhost:8000
=======
[maestro at creative3 mibwifi]$ ./walk
+ snmpwalk -v2c -c clovek localhost:8000
IF-MIB::ifIndex.1 = INTEGER: 1
IF-MIB::ifEntry.24.1 = STRING: "IEEE 802.11-DS"
IF-MIB::ifEntry.25.1 = STRING: "blava_net"
IF-MIB::ifEntry.26.1 = STRING: "0"
IF-MIB::ifEntry.27.1 = STRING: "Repeater"
IF-MIB::ifEntry.28.1 = STRING: "off"
IF-MIB::ifEntry.29.1 = STRING: "0"
IF-MIB::ifEntry.30.1 = STRING: "0"
IF-MIB::ifEntry.30.1 = No more variables left in this MIB View (It is
past the end of the MIB tree)

How do I set my own description of OID?
IF-MIB::ifEntry.24.1          =>         IF-MIB::MAC_protocol =
STRING: "IEEE 802.11-DS"

My source is available
http://www.localnet.sk/~maestro/bc/public/mibwifi_22_04_08.tgz

you need copy mib_wifi.conf to /home/USER_DIR/.snmp/mib_wifi.conf
just execute ./run in first terminal and ./walk in second terminal

Tu summary my request >> how/where do I change decription of OID to my
own value?
Thank you.



-- 
Ak si prajes aby som cital tvoj mail do 5 min, tak napis do predmetu X5.
mobil << 0903 48 47 40 >> icq << 309458351 >>



More information about the rrd-users mailing list