Configuring SNMP Agent on Solaris Systems

For details about enabling SNMP agents in Solaris systems, refer to Enabling SNMP Agent on Solaris System.

To configure SNMP Agent do the following:

  • Stop the agent if it is running already using
    /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
    /etc/init.d/init.snmpdx start
  • Was this page helpful?