Hi All,
   I am very new to SNMP. To have a hold on SNMP, I planned to use net-snmp. I am using Red Hat Linux Advanced Server(kernel 2.4.21-4). I am using the net-snmp package which by default comes with this distribution of Linux. I have crated a sample mib file. Using the mib2c I am able to generate the corresponding .c and .h files. Can anyone suggest me citing some example how can link my .c and .h files with the main snmp package, so that I can set and get the values of the OIDs present in my Sample mib file using the snmpget and snmpset command.
   If I modify my .c file what command should I use to recompile my .c file, so that I can use the snmpget and snmpset commands from remote machine to get and set the values of my OIDs. I want to execute a code which will take the value of an OID from a file whenever an snmpget request is made.
 
Thanks and Regards,
Rana.
 

Reply via email to