Hi,

I have tried what you offered but it did not change the result.

I had  "mibs   ALL" in the snmpd.conf file. When I look at the logs I
see that  NET-SNMP-EXAMPLES-MIB loaded or parsed what ever it means.

 

parse-mibs:   Module 19 NET-SNMP-EXAMPLES-MIB is in
/opt/ekicim/snmp/share/snmp/mibs//NET-SNMP-EXAMPLES-MIB.txt

trace: new_module(): parse.c, 4131:

 

I see module loaded as well.

snmpd_register_app_config_handler: registering .conf token for
"exampleint"

 

Thanks,

 

From: [email protected] [mailto:[email protected]] 
Sent: Thursday, January 08, 2009 2:55 PM
To: MEHMET ALI EKICI; [email protected]
Subject: RE: example codes do not work

 

There is issue with enviroment variables.

Export the mibs.

export MIBDIRS=$Dir

export MIBS=ALL

Dir=Path where your mibs are present.

 

 

Regards 

Ayush Pathak

 

________________________________

From: MEHMET ALI EKICI [mailto:[email protected]] 
Sent: Thursday, January 08, 2009 5:12 PM
To: [email protected]
Subject: example codes do not work

Hi All,

 

I have configured net-snmp as follows 

./configure --prefix=/opt/snmp/ --with-mib-modules=examples/example

 

 When I query for example oids I get the following error. 

 

NET-SNMP-MIB::netSnmp.2.1.1.0 = No Such Object available on this agent
at this OID

snmpget -v 2c  -c public localhost:9000  1.3.6.1.4.1.8072.2.1.1.0

 

Would you please help out ?

Mehmet

 

 

        
        

 



************************************************************************
Bu elektronik posta ve onunla iletilen butun dosyalar sadece gondericisi 
tarafindan almasi amaclanan yetkili gercek ya da tuzel kisinin kullanimi 
icindir.  Eger soz konusu yetkili alici degilseniz bu elektronik postanin 
icerigini aciklamaniz, kopyalamaniz, yonlendirmeniz ve kullanmaniz hukuka 
aykiri ve yasaktir, lutfen bu elektronik postayi siliniz.
TELLCOM ILETISIM bu mesajin icerdigi bilgilerin dogrulugu veya eksiksiz oldugu 
konusunda herhangi bir garanti vermemektedir.  Bu nedenle bu bilgilerin ne 
sekilde olursa olsun iceriginden, iletilmesinden, alinmasindan ve 
saklanmasindan sorumlu degildir. Bu mesajdaki gorusler yalnizca gonderen kisiye 
aittir ve TELLCOM ILETISIM in goruslerini yansitmayabilir
Bu e-posta bilinen butun bilgisayar viruslerine karsi taranmistir.
************************************************************************
This e-mail and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. If 
you are not the intended recipient you are hereby notified that any 
dissemination, forwarding, copying or use of any of the information is illegal 
and prohibited, and the e-mail should be deleted.
TELLCOM ILETISIM makes no warranty as to the accuracy or completeness of any 
information contained in this message and hereby excludes any liability of any 
kind for the information contained therein or for the information transmission, 
reception, storage or use of such in any way whatsoever.  The opinions 
expressed in this message belong to sender alone and may not necessarily 
reflect the opinions of TELLCOM ILETISIM.
This e-mail has been scanned for all known computer viruses.
************************************************************************

<<inline: Telldis_00001.jpg>>

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to