The SMA includes many command-line tools, which are described in the sma_snmp(5) man page.
Each tool has an associated man page. Links to all the man pages for the product are included in Appendix A, SMA Resources. The tools are located in /usr/sfw/bin.
The snmp commands can be used to query the agent to test your modules. Read the man pages for detailed usage information.