3/25/2021 Document 1011658.
1
Copyright (c) 2021, Oracle. All rights reserved. Oracle Confidential.
How To Disable The SNMP Agents In Solaris 2.6 Through Solaris 11 (Doc ID 1011658.1)
APPLIES TO:
Solaris Operating System - Version 11.1 to 11.3 [Release 11.0]
Solaris Operating System - Version 8 6/00 U1 to 10 9/10 U9 [Release 8.0 to 10.0]
Solaris Operating System - Version 10 3/05 to 10 1/13 U11 [Release 10.0]
All Platforms
GOAL
How to disable the SNMP (Simple Network Management Protocol) agents on Solaris 2.6 through Solaris 11 systems.
SOLUTION
For Solaris 2.6 through Solaris 9 the Solstice Enterprise Agents come bundled with the Operating System.
If the system doesn't need to run the agents kill the processes and rename the startup files.
In order to disable these daemons from running do the following.
# ps -ef | grep snmp
<ROOT_USER> 236 1 0 May 19 ? 0:00 /usr/lib/snmp/snmpdx -y -c /etc/snmp/conf
<ROOT_USER> 244 1 0 May 19 ? 0:00 /usr/lib/dmi/snmpXdmid -s tintin
<ROOT_USER> 6438 6391 0 17:13:55 pts/8 0:00 grep snmp
# kill 236
# kill 244
# cd /etc/rc3.d
# ls
./ README S76snmpdx*
../ S15nfs.server* S77dmi*
# mv S76snmpdx sS76snmpdx
# mv S77dmi sS77dmi
This will disable the daemons from starting up after the system reboot.
Solaris 10 provides the System Management Agent (SMA) and several Sub-agents.
Disabling the SMF Services will disable the Agents and prevent them being enabled on future boot ups
# svcadm disable dmi
# svcadm disable snmpdx
# svcadm disable seaport
# svcadm disable sma
Solaris 11 provides a version of Net-SNMP. There are no Sub-agents.
Disabling the SMF Service will disable the Agent and prevent it from being enabled on future boot ups
# svcadm disable net-snmp
If the SNMP Services are enabled in Zones the Services will also need to be disabled in the Zones.
Didn't find what you are looking for?
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=shhud0dzv_212&id=1011658.1 1/2
3/25/2021 Document 1011658.1
https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=shhud0dzv_212&id=1011658.1 2/2