Install and configure ARECA Net-SNMP subagent [Necessary files] 1. libarclibXX.so ( It depends on the platform and saved in the individual folder) 2. areca.cpp 3. areca.h 4. commdef.h 5. interface.h 6. linux_comm.h 7. linux_ioctl.h 8. linux_pass_ioctl.h 9. Makefile 10. arcsnmp.conf Because ARECA Net-SNMP subagent is originally written in C++, but Net-SNMP is C, so we should take some modifications before compilation our subagent into Net-SNMP. [ Making and Installation ] Step1: Copy all the necessary files to [NET-SNMP_ROOT]/agent/mibgroup/areca Step2: Run [NET-SNMP_ROOT]./configure Step3: Run [NET-SNMP_ROOT]/agent/mibgroup/areca/make Step4: Edit ¡§Makefile¡¨ in the [NET-SNMP_ROOT]/agent/ a. Add ¡§mibgroup/areca/[Folder_Of_OS]/[Folder_Of_Platform]/libarclibXX.so¡¨and¡§-lstdc++¡¨to the head of line of LOCAL_LIBS option . b. Add ¡§mibgroup/areca/areca.lo¡¨ string to the head of LMIBOBJS option line. c. Add ¡§mibgroup/areca/areca.o¡¨ string to the head of MIBOBJS option line. Step5: Edit mib_module_includes.h in the [NET-SNMP_ROOT]/agent/mibgroup/ a. Add the C statement of << #include ¡§mibgroup/areca/areca.h¡¨>> to the first line Step6: Edit mib_module_inits.h in the [NET-SNMP_ROOT]/agent/mibgroup/ a. Add the C statement of <> to the first line Step7: Edit ¡§Makefile¡¨ in the [NET-SNMP_ROOT]/apps/ a. Add ¡§../agent/mibgroup/areca/[Folder_For_Platform]/libarclibXX.so¡¨and¡§-lstdc++¡¨to the head of LOCAL_LIBS option line. Step8: [NET-SNMP_ROOT]./make Step9: [NET-SNMP_ROOT]./make install Step10: Copy the snmpd and snmptrapd from /usr/local/sbin to /usr/sbin Step11: Copy the arcsnmp.conf to /usr/local/share/snmp Step12: Restart snmpd or snmptrapd Note: The "XX" of the shared-library name {libarclibXX.so} has to be replace with ¡§32¡¨ or ¡§64¡¨ depend on current platform. [Configure the snmpd (option)] Snmpd.conf is the configuration file which defines how the Net-SNMP SNMP agent operates. 1. Edit the snmpd.conf using ether ¡¥snmpconf¡¦ tool or by hand. a. Run snmpconf ¡Vg basic_setup b. Crafting a configuration by hand, if you don¡¦t need SNMP V3 this is fairly easy. 2. The rocommunity option of snmpd.conf is necessary for areca subagent. [Reconfigure the snmpd] Force the snmpd to reread its configuration files. 1. Send the signal SIGHUP to the snmpd process. a. Use ¡¥ps ¡Vax¡¦ to get the snmpd PID number b. Use ¡¥kill ¡VHUP snmpd_PID¡¦ to force snmpd ro reread.