How do I get snmpd to start up automatically
On solaris 10 I have configured the snmpd.conf file and then I run /usr/sfw/sbin/snmpd to start the daemon. How ecaxtly should I configure it in the rc directories to come up at boot time. I am confused about /etc/init.d/init.snmpdx. I'm not that experienced with /etc/rcX.d/SXX scripts and how they should work.
thanks,
jackie.
# 1
The snmpd daemon is being managed by svcadm. Use svcs to see if daemon is enabled
# svcs sma
STATE STIMEFMRI
disabled14:09:55 svc:/application/management/sma:default
enable it with svcadm command
# svcadm enable /application/management/sma
# svcs sma
STATE STIMEFMRI
online 14:10:47 svc:/application/management/sma:default
The SNMP daemon configuration appears to change with every patch level
of Solaris 10. This should work on 5.10 Generic_118833-36.
Good luck.
Jerry