Configuring SNMP Agents
Configuring the Agent in Solaris Systems
For details about installing SNMP agents in Solaris systems, refer to Installing SNMP Agent on Solaris Systems.
- Stop the agent if it is running already using the following command:
/etc/init.d/init.snmpdx stop
- Make the following changes in /etc/init.d/init.snmpdx file
Replace the lines
if [ -f /etc/snmp/conf/snmpdx.rsrc -a -x /usr/lib/snmp/snmpdx ]; then
/usr/lib/snmp/snmpdx -y -c /etc/snmp/conf -d 3 -f 0
fi
with
<Installation Directory>/sbin/snmpd
Replace the line
/usr/bin/pkill -9 -x -u 0 '(snmpdx|snmpv2d|mibiisa)'
with
/usr/bin/pkill -9 -x -u 0 '(snmpd)'
- Restart the agent using the following command:
/etc/init.d/init.snmpdx start.