unable to get or set variables from the tutrial examples

"taner memet ali" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <000901c5d326$d3627430$6402a8c0@psilaptop>
Hi,
i compiled the example codes
int_scalar.c
and set_data.c into my agent but am unable to get the values
every get and set commands returns a packet error
i.e.
snmpget -v 1 -c public 127.0.0.1 netSnmpExampleInteger.0

error in packet
Reason: (noSuchName) There is no such variable in this MIB
Failed object: NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger.0


the MIB is loaded it returns the desired OIDs

snmptranslate -Of NET-SNMP-EXAMPLES-MIB::netSnmpExampleInteger.0

.1.3.6.1.4.1.8072.2.1.1.0

for data_set.c the snmpwalk command returns
nothing

snmpwalk -v 1 -c psi 127.0.0.1 netSnmpIETFWGTable

the agents snmp.conf is set to 127.0.0.1 as host adress and im able to get 
the system group values
did i forgot something to do?

Thanks in advance for answers 



-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
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.