SNMP 매개 변수를 구성합니다.
구성에 SNMP 매개 변수를 설정합니다.
wadm> set-snmp-prop --user=admin --host=funland --port=1893 --config=test enabled=true master-host=masterhost-name organization=organization-name location=location-name contact=contact-name description=description-name |
구성을 배포합니다.
wadm> deploy-config --user=admin --password-file=admin.pwd --host=serverhost --port=8989 config1 |
서버 인스턴스를 시작합니다.
$ ./https-test/bin/startserv |
마스터 에이전트(magt)를 루트로 실행합니다.
magt를 실행하려면 원시 snmpd를 중지해야 합니다.
$ cd /etc/init.d/ $ init.dmi stop; init.snmpdx stop; init.sma stop |
https-admserv/config/logs/pid.masteragt 파일을 제거합니다(있는 경우).
$ rm ./https-admserv/config/logs/pid.masteragt wadm> start-snmp-master-agent --snmp-port 161 hostname |
하위 에이전트를 시작합니다.
https-admserv/config/logs/pid.httpagt 파일을 제거합니다(있는 경우).
$ rm ./https-admserv/config/logs/pid.httpagt |
httpagt가 이미 실행 중인 경우 종료합니다.
wadm> start-snmp-subagent hostname |