start-snmp-master-agent <connect_options> [--echo|-e] [--no-prompt|-Q] [--verbose|-v] [--snmp-port|-m snmp-master-agent-port] (nodehost)
Use this command to start the SNMP master agent. In general, to use SNMP you must have a master agent and at least one subagent installed and running on your system. You need to install the master agent before you can enable a subagent.
You cannot start the SNMP master agent through the administration interfaces when the Administration server is installed as a non-root user. To allow a non-root Administration server user to start master agent through administration interfaces, the non-root user must be given the privileges to bind to the privileged ports using RBAC, which the SNMP master agent runs on. The default SMUX port is 199 and default SNMP port is 161.
Another workaround is to manually start the master agent as root using the following command:
magt CONFIG INIT
The magt command is located under server-root/lib/snmp/magt/.
For connect_options description, see help(1).
Specify this option to print this command on the standard output before executing. This option also prints the default value for all the non-mandatory options that you do not provide in the command.
If you specify this option, wadm will not prompt you for passwords while executing this command. Use this option if you have defined all passwords in a password file and specified the file using the --password-file connect_option.
Specify this option to display a verbose output.
Specify the port number of the SNMP master agent.
wadm start-snmp-master-agent --user=admin --host=serverhost --password-file=../admin.passwd --port=8989 --ssl=true --no-prompt --rcfile=null --snmp-port=161 node1
The following exit values are returned:
command executed successfully
error in executing the command