As root, add the appropriate dlmod statement for your operating system in the agent's configuration file /etc/sma/snmp/snmpd.conf.
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.
Restart the SNMP agent.
# svcadm restart svc:/application/management/sma:default |