Solaris System Management Agent Developer's Guide

ProcedureHow to Set Up the Agent to Use the Entity MIB

  1. As root, add the appropriate dlmod statement for your operating system in the agent's configuration file /etc/sma/snmp/snmpd.conf.

    • On a 64-bit Solaris Operating System on SPARC:

      dlmod entity /usr/sfw/lib/sparcv9/libentity.so
    • On a 32-bit Solaris Operating System:

      dlmod entity /usr/sfw/lib/libentity.so
  2. In the /etc/sma/snmp/snmpd.conf file, insert a dlmod statement for your module after the dlmod statement for the libentity.so.

    For example, suppose your module is named libacmerouter.so. The module is located in /home/username/lib. You would enter the following line:

    dlmod acmerouter /home/username/lib/libacmerouter.so

    Your module must be loaded after the entity module because your module is dependent upon the entity module.

  3. Restart the SNMP agent.


    # svcadm restart svc:/application/management/sma:default