이미 Scouter 다운로드시 내장되어 있는 웹 서버가 있어 Scouter Web API에 Scouter Paper를 업로드하여 바로 사용할 수 있음
아래는 Scouter에서 webapp을 콜렉터 서버와 독립적으로 실행하는 경우에 해당됨 Scouter 》extweb: 폴더 하위에 설치한 Scouter Paper 파일들을 전부 복사 》 conf 》 lib 》 logs
실행
scouter/webapp/startup.sh
scouter/webapp/startup.bat
중지
scouter/webapp/stop.sh
scouter/webapp/stop.bat
접속 (6188 포트)
http://서버IP:6188/extweb/index.html
3. 설치 - 방법2(임베디드 실행)
Scouter에서 webapp을 독립 실행하지 않고 콜렉터 서버에 포함(embedded)된 형태로 실행하는 경우에 해당됨
Scouter webapp은 json 파싱이나 메모리를 많이 사용하는 방식의 bulk성 데이터 처리를 동반하므로, 운영 환경에서 embedded 모드로 webapp을 실행하는 것은 권장되지 않음 Scouter 》 server 》 extweb : 폴더 하위에 설치한 Scouter Paper 파일들을 전부 복사 》 conf 》 lib 》 logs
실행
스카우터 콜렉터 서버와 같이 실행되고 중지됨
접속 (6180 포트)
http://서버IP:6180/extweb/index.html
4. 설정
설치 방법에 따른 설정 파일 수정
독립 webapp : scouter/webapp/conf/scouter.conf 수정
임베디드 : scouter/server/conf/scouter.conf 수정
기본 설정
# 웹 API 활성화
net_http_server_enabled=true
net_http_api_enabled=true
net_http_port=6188