How to install and configure ARECA Net-SNMP subagent ? [Install] Necessary files: 1. arclib32.a ==> ARECA library file 2. areca.lo 3. areca.o 4. areca.h 5. 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. Step1: Copy the necessary files to [NET-SNMP_ROOT]/agent/mibgroup/areca Step2: Run [NET-SNMP_ROOT]./configure Step3: Edit ¡§Makefile¡¨ in the [NET-SNMP_ROOT]/agent/ a. Add ¡§-lstdc++¡¨ to the tail of CFLAGS option line. b. Add ¡§mibgroup/areca/arclib32.a¡¨ string and ¡§mibgroup/areca/areca.lo¡¨ string to the head of LMIBOBJS option line. c. Add ¡§mibgroup/areca/arclib32.a¡¨ string and ¡§mibgroup/areca/areca.o¡¨ string to the head of MIBOBJS option line. Step4: 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 Step5: Edit mib_module_inits.h in the [NET-SNMP_ROOT]/agent/mibgroup/ a. Add the C statement of <> to the first line Step6: [NET-SNMP_ROOT]./make Step7: [NET-SNMP_ROOT]./make install Step8: Copy the snmpd and snmptrapd from /usr/local/sbin to /usr/sbin Step9: Copy the arcsnmp.conf to /usr/local/share/snmp Step10: Restart snmpd or snmptrapd [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 -ax¡¦ to get the snmpd PID number b. Use ¡¥kill -HUP snmpd_PID¡¦ to force snmpd to reread.