- Outgoing Links
- Blogging
- JDK 1.8+ : scouter server
- download the latest version of scouter-yyyyMMdd.tar.gz.
- Extract the file.(You can see the directory ./scouter/server)
- execute start script.
cd ./scouter/server
./startup.sh
# Windows : use startup.bat file
____ _
/ ___| ___ ___ _ _| |_ ___ _ __
\___ \ / __/ \| | | | __/ _ \ '__|
___) | (_| (+) | |_| | || __/ |
|____/ \___\___/ \__,_|\__\___|_|
Scouter version 0.0.1 ${date}
Open Source Performance Monitoring
System JRE version : 1.8.0_175
- UDP Receive Port : 6100 (This port is used for gathering performance metrics.)
- TCP Service Port : 6100 (This port is used for communication with scouter client and agents.)
- configuration file location.(default)
server/conf/scouter.conf
# Agent Control and Service Port(Default : TCP 6100)
net_tcp_listen_port=6100
# UDP Receive Port(Default : 6100)
net_udp_listen_port=6100
# DB directory(Default : ./database)
db_dir=./database
# Log directory(Default : ./logs)
log_dir=./logs
All options and default values are available from the scouter client's Collector > Configure menu.
- JDK 1.6+
- Download scouter-yyyyMMdd.tar.gz
- Extract the file.(you can see the directory ./scouter/agent.host for running host monitoring agent.)
- Run it. (In some cases, root permission may be required.)
cd ./scouter/agent.host
./host.sh
All options and default values are available from the scouter client's Host > Configure menu.
- JDK 1.6+
- Download scouter-yyyyMMdd.tar.gz
- Extract the file.(you can see scouter.agent.jar file on the directory ./scouter/agent.java)
- Add -javaagent JVM options on your java application. (Refer to java option example below.)
Append below options in ${TOMCAT_DIR}/bin/catalina.sh or startup.sh
JAVA_OPTS=" ${JAVA_OPTS} -javaagent:${SCOUTER_AGENT_DIR}/scouter.agent.jar"
JAVA_OPTS=" ${JAVA_OPTS} -Dscouter.config=${SCOUTER_AGENT_DIR}/conf/scouter1.conf"
JAVA_OPTS=" ${JAVA_OPTS} -Dobj_name=myFirstTomcat1"
- ${SCOUTER_AGENT_DIR} means the directory that contains scouter.agent.jar file.
- If you are using multiple Tomcat instances in one VM, you must define their respective configuration files.
- You can specify the conf file through the -Dscouter.config environment variable as in the example above.
- Also, in this case, you should specify the name through the obj_name option so that the name of the monitored object is not duplicated in one VM.
Append below java options in ${TOMCAT_DIR}/bin/tomcat${version}w.exe
-javaagent:${SCOUTER_INSTALL_DIR}/scouter.agent.jar"
-Dscouter.config=${SCOUTER_INSTALL_DIR}/conf/scouter1.conf"
-Dobj_name=myFirstTomcat1"
- ${SCOUTER_INSTALL_DIR} means the directory that contains scouter.agent.jar file.
-
If you run Tomcat through a Windows service, you need to add it to the tomcat ${version}w.exe option.
- This Option tomcat${version}w.exe ( ex)tomcat9w.exe ) > Java > Java Options.
# Scouter Server IP Address (Default : 127.0.0.1)
net_collector_ip=127.0.0.1
# Scouter Server Port (Default : 6100)
net_collector_udp_port=6100
net_collector_tcp_port=6100
# Scouter Name(Default : tomcat1)
obj_name=myFirstTomcat1
All options and default values are available from the scouter client's Object > Configure menu.
- JRE 1.8+
- Download suitable one of
scouter.client.product-${os}[.tar.gz|.zip]
- Extract all files to new directory
- Execute scouter.exe(windows), scouter.app(osx) or scouter(linux)
Important: run the command if can not run the file.xattr -cr scouter.client.app
scouter client needs java 11+ - You will see a dialog
- Fill the authentication info(default : admin/admin) and press OK button (First, the scouter server must be running.)
- The real-time chart will be shown.