export MIBDIRS=/usr/share/snmp/mibs
export MIBS=ALL

Biswajit Mandal wrote:
> Hi,
> While doing snmpwalk on agent, I am getting the output in OID format, 
> as below:
> $snmpwalk -v 2c -c "public" <IP> 1
> ................
> iso.3.6.1.2.1.2.2.1.17.7 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.8 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.9 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.10 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.11 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.12 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.13 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.14 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.15 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.16 = Counter32: 0
> iso.3.6.1.2.1.2.2.1.17.17 = Counter32: 0
> ...........
> I have added all the MIBs in /usr/share/snmp/mibs and
> put the below line in snmp.conf file in /root/.snmp
> mibs +ALL
>
> $net-snmp-config --default-mibdirs
> /root/.snmp/mibs:/usr/share/snmp/mibs
>
> But still not getting the Object Names in output.
> Can you please point me out where I am doing wrong?
>
> With regards,
> Biswajit
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network 
> management toolset available today.  Delivers lowest initial 
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> ------------------------------------------------------------------------
>
> _______________________________________________
> Net-snmp-coders mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>   


------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to