**

Hello,

I'm working with net-snmp C API , i create a MIB file ( containt a table of
information ).

After that i used the mib2c that gives me two file "myproject.h" and
"myproject.c"

I copy this two files in the directory : /net-snmp/agent/mibgroup

and i compiled like this :

  1) ./configure --with-mib-modules=myproject

   2) make

   3) sudo make install

And from a terminal i run this command :

*>  snmpd -f -L -Dmyproject

and i get the message below :

registered debug token myproject,1 Turning on AgentX master support
NET-SNMP version 5.7.2

My question is :

that when i try to run snmptable for this table i get the messsage : NO
ENTRIES and when i try to make snmpset to this table : i get this massage

Error in packet. Reason: notWritable (That object does not support
modification)

*NOTE : in my file myproject.c i followed the example given by the net-Snmp
:data_set.c http://www.net-snmp.org/dev/agent/data__set_8c-example.html

but my table has not been initialisated

please i need help

thanks in advance
------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Net-snmp-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to