Tip

Scouter 설치 & 연동

관리자 0 621

- Scouter 다운로드

https://github.com/scouter-project/scouter/releases/

 

## 서버

- 압축 해제

scouter-all-2.10.0.tar.gz 파일 압축 해지

 

- Server 실행 & 종료

./scouter/server/startup.sh

./scouter/server/stop.sh

 

- Agent 환경 설정

./scouter/agent.host/conf/scouter.conf

 

..

net_collector_ip=192.168.123.171

..

 

./scouter/agent.java/conf/scouter.conf

 

..

obj_name=WAS-01

net_collector_ip=192.168.123.171

..

 

- Agent 실행 & 종료

./scouter/agent.host/host.sh

./scouter/agent.host/stop.sh

 

 

## WAS

- Tomcat

CATALINA_OPTS="$CATALINA_OPTS -javaagent:/home/app/scouter/agent.java/scouter.agent.jar"

CATALINA_OPTS="$CATALINA_OPTS -Dscouter.config=/home/app/scouter/agent.java/conf/scouter.conf"

CATALINA_OPTS="$CATALINA_OPTS -Dobj_name=tomcat1"

 

- Jboss AS 6.x 이하

JAVA_OPTS="$JAVA_OPTS -javaagent:/home/app/scouter/agent.java/scouter.agent.jar"

JAVA_OPTS="$JAVA_OPTS -Dscouter.config=/home/app/scouter/agent.java/conf/scouter.conf"

JAVA_OPTS="$JAVA_OPTS -Dobj_name=jboss1"

 

- JBoss EAP 6.x 이상

JAVA_OPTS="$JAVA_OPTS -javaagent:/home/app/scouter/agent.java/scouter.agent.jar"

JAVA_OPTS="$JAVA_OPTS -Dscouter.config=/home/app/scouter/agent.java/conf/scouter.conf"

JAVA_OPTS="$JAVA_OPTS -Dobj_name=jboss1"

 

standalone.conf

JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman" -> JBOSS_MODULES_SYSTEM_PKGS="org.jboss.byteman,scouter"

 

- WebLogic

JAVA_OPTIONS="$JAVA_OPTIONS -javaagent:/home/app/scouter/agent.java/scouter.agent.jar"

JAVA_OPTIONS="$JAVA_OPTIONS -Dscouter.config=/home/app/scouter/agent.java/conf/scouter.conf"

JAVA_OPTIONS="$JAVA_OPTIONS -Dobj_name=weblogic1"

 

- Jeus

JEUSMain.xml

<command-option>

   -javaagent:/home/app/scouter/agent.java/scouter.agent.jar

   -Dscouter.config=/home/app/scouter/agent.java/conf/scouter.conf

   -Dobj_name=jeus1

</command-option>

 

- Resin

resin.xml

<cluster id="app">

    ...

    <server-default>

...

<jvm-arg>-javaagent:/home/app/scouter/agent.java/scouter.agent.jar</jvm-arg>

<jvm-arg>-Dscouter.config=/home/app/scouter/agent.java/scouter.conf</jvm-arg>

 

 

 

## PC 

scouter.client.product-product-win32.x86_64.tar.gz 파일 압축 해지

 

scouter.exe 실행

Server Address : 192.168.123.171:6100

ID : admin

Password : admin


Comments

페이스북에 공유 트위터에 공유 구글플러스에 공유 카카오스토리에 공유 네이버밴드에 공유