Add this to /etc/sma/snmp/snmpd.conf :
dlmod sunFM /usr/lib/fm/libfmd_snmp.so.1 dlmod sunFM /usr/lib/fm/amd64/libfmd_snmp.so.1
svcadm enable sma
Then use kaylee:/opt/csw/nagios/etc/checks.d/check_fmd_snmp.sh