So I had some trouble gettin snmp working. I edited /etc/snmp/conf/snmpd.conf with the proper trap and community for my enviroment. Every time I tried to start snmp I would get erros.
Nov 6 10:09:29 pressman2 /usr/lib/snmp/snmpdx: [ID 702911 daemon.error] can’t read the directory snmpd.conf [errno: Not a directory(20)]
me trying to start snmp
bash-3.00# svcadm enable svc:/application/management/snmpdx:default
bash-3.00# svcs|grep snmp
offline 10:03:20 svc:/application/management/snmpdx:default
On the second line you can see that I check and it was not started or offline. So then it was time to consult with svcs -x. That stated that I was missing a prerequisite process that snmp relied on.
bash-3.00# svcs -x
svc:/application/management/seaport:default (net-snmp SNMP daemon)
State: disabled since Wed Oct 28 16:25:27 2009
Reason: Disabled by an administrator.
Impact: 1 dependent service is not running. (Use -v for list.)
bash-3.00# svcs |grep snmp
online 11:25:54 svc:/application/management/snmpdx:default
Now everything works like it should.