Workaround: Perform the following steps:
On the management server, edit the /etc/opt/sun/n1gc/agent.properties file to add an entry.
com.sun.hss.agent.snmpAgentPort=10161
Disable N1 System Manager by using the following command.
# svcadm disable n1sm
On the target node, create the config file and specify the new password, seed, and snmpv1 string.
# ls -l /tmp/cred
-r-------- 1 root root 77 Mar 8 20:04 /tmp/cred |
bash-3.00# cat /tmp/cred
ES_USMUSER_PASS=mynewpass
ES_SNMPV1_STRING=public
ES_SECURITY_SEED=myseed
Configure the agent and specify a new user.
# /opt/SUNWsymon/sbin/es-config -u mynewuser -r -f /tmp/cred -p agent
Stop the agent.
# /opt/SUNWsymon/sbin/es-stop -aY
Edit the “adminUsers” line with the new user in the /var/opt/SUNWsymon/cfg/kernel-reader-simple.dat file.
value:adminUsers = "mynewuser"
Start the agent.
# /opt/SUNWsymon/sbin/es-start -alY
On the management server, verify whether the agent is running.
snmpwalk -c public -v 1 nodename:10161
Set new credentials for the monitored node.
# n1sh set server ip_or_name agentsnmpv3=mynewuser/mynewpass