--===============0662836857==
Content-Type: multipart/alternative;
boundary="----=_Part_3932_25985670.1210405695598"

------=_Part_3932_25985670.1210405695598
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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:rotocol.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 :


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





2008/5/9 pali spacek :

> 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/tut...fTable/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 >>


------=_Part_3932_25985670.1210405695598
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

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:rotocol.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 ali.spacek@gmail.com"><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;198757673;13503038;p?http://java.sun.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/listinfo/net-snmp-users



 


2008/5/9 pali spacek <ali.spacek@gmail.com">pali.spacek@gmail.com>:

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:

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 >>


------=_Part_3932_25985670.1210405695598--


--===============0662836857==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

-------------------------------------------------------------------------
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
--===============0662836857==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
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

--===============0662836857==--