Configure SNMP Parameters.
Set the SNMP parameters for the configuration.
wadm> enable-snmp --user=admin --password-file=../admin.passwd --host=serverhost --port=8989 --ssl=true --no-prompt --rcfile=null --config=config1 --loconfig1ion=india --master-host=hostname --description=cli-snmp --organization=sun --contact=internal |
Deploy the Configuration.
wadm deploy-config --user=admin --password-file=admin.pwd --host=serverhost --port=8989 config1 |
Start the Server Instance.
$ ./https-test/bin/startserv |
Run the Native Master Agent (snmpd) as root.
To allow direct communication with snmpd , add the following line in /etc/snmp/snmpd.conf and restart snmpd.
smuxpeer 1.3.6.1.4.1.42.2.190.1
view systemview included .1.3.6.1.4.1.42.2.190.1
# cd /etc/init.d/ # ./snmpd stop # ./snmpd start |
Start the Sub Agent.
Remove the file https-admserv/config/logs/pid.httpagt( If present).
$ rm ./https-admserv/config/logs/pid.httpagt |
Kill the httpagt if it is already running
wadm> start-snmp-subagent hostname |