1. Tomcat directory structureTomcat is typically used for Java applications, and Apache is typically used for PHPBin folder (startup file):Configuration monitoring and the like is in the catalina.shConf folder (config file):2, server.xml configuration file descriptionconnectiontimeout= "20000" → connection time-out 20sredirectport= "8443"/>Maxthreads= "minsparethreads=" 4 "/>port= "8080" protocol= "http/1.1
service, you can modify the parameters in the Service.bat so that the default parameters are set after the service is successfully installed without having to modify the Tomcat7w.exe again.Modify the location at the end of the Service.bat file, such as:REM Set extra parameters "%executable%"//us//%service_name%--jvmoptions "-dcatalina.base=%catalina_base%;-d catalina.home=%catalina_home%;-djava.endorsed.dirs=%catalina_home%\endorsed "--StartMode JVM--StopMode jvmrem More Extra Parametersset "Pr
First, to modify the remote host (Linux) related files to be accessed, this document only describes the JMX mode of JAVA-JVISUALVM:1. Open $catalina_home/bin/startup.sh and find the penultimate line (that is, exec "$PRGDIR"/"$EXECUTABLE" start "[email protected]" line above) and add the following:Export catalina_opts= "$CATALINA _opts-dcom.sun.management.jmxremote-djava.rmi.server.hostname=192.168.*.*- Dcom.sun.management.jmxremote.port=7003-dcom.sun.management.jmxremote.ssl=false- dcom.sun.mana
Zabbix monitoring Tomcat
The template that comes with tomcat in Zabbix can monitor tomcat. The configuration is as follows:
Zabbix-java-geteway needs to be installed in the zabbix-server section. You must download zabbix from the official website:
http://repo.zabbix.com/zabbix/
You need to enable the following content
Tomcat monitoring series-send emails
As mentioned in the previous article, the mail sending function is implemented. When the monitoring software detects an exception, it calls the restartServer. bat file to execute the specified command. When selecting to implement this function, I first thought of a good tool Blat for sending mail via command line. It is very e
About the gradual departure from the development position, the boss has approved, and then my main work is "operation and maintenance + database management." Thank Chey brother and pony Brother can accept my harassment, and then will go to harass them, but also to harass Dong uncle, small just total, heart elder brother, pork brother, thank you. At the same time also want to thank Wu Louda, Leaf boss, fall total, seven total, orange elder brother them.Because have not learned to play Zabbix, so
Tags: form extras information stop port false pre SSL REMAuthor remote server operating system CentOS 7.0, Tomcat version 7.01. Linux Tomcat Configuration 1.1 catalina_opt ConfigurationYou can add the following configuration in the catalina.sh filecatalina_home=/usr/local/tomcat_fd02_mcjava_opts="$JAVA _opts-djava.rmi.server.hostname= xxx.xxx.xxx.xxx \-dcom.sun.management.jmxremote.ssl=false- Dcom.sun.manag
-dcom.sun.management.jmxremote.authenticate=false \-dcom.sun.management.jmxremote.ssl=false \-jar/tmp/notepad.jarRestarting a Java application#监控Tomcat程序Place the following jar under the/usr/local/tomcat/libCmdline-jmxclient-0.10.3.jarHead-5/usr/local/tomcat/bin/catalina.sh#!/bin/bashcatalina_opts= "-dcom.sun.management.jmxremote \-dcom.sun.management.jmxremote.p
239.75m. We will adjust it to 512 M.
To define the property information to take effect at startup, You need to define it in the/bin/Catalina. Sh script.
Edit $ catalina_home/bin/Catalina. Sh, search java_opts, and find the prompt segment.
Use the following command to define:
Java_opts = "$ java_opts-xmx512m"
650) This. width = 650; "src =" http://s3.51cto.com/wyfs02/M00/46/11/wKiom1Ptv06hBOXwAAGjdeBuFY8631.jpg "Title =" N _ % 57wck % C $ p_q7c ~ Gy9 ~ M6.jpg "alt =" wkiom1ptv06hboxwaagjdebufy8
Lambdaprobe, designed specifically for Tomcat monitoring, explains its usage here:
1 Download:
Http://www.lambdaprobe.org/downloads/1.7/probe.1.7b.zip
2 decompression, put the Probe.war under the WebApps of Tomcat
3 Set the user as follows, in Tomcat_user.xml
Vi/usr/local/tomcat/conf//
:1124073472used:17749136is: http://down.51cto.com/data/19003696, the configuration of the Web sideIn the configuration-host, find the host to be added Tomcat monitor650) this.width=650; "Src=" Http://s1.51cto.com/wyfs02/M00/85/B0/wKioL1esRmLRoF23AAAVbzalo54351.png-wh_500x0-wm_3 -wmp_4-s_1837937923.png "title=" 111.png "alt=" Wkiol1esrmlrof23aaavbzalo54351.png-wh_50 "/>In the JMX interface, add that client's IP, port write 5555, which is configured on
Personal blog: https://blog.sharedata.info/The Zabbix monitoring Web,web container is the Tomcat default port is 8080Cause Web monitoring to fail! Unable to find host so on modify Tomcat port to 80At this point, you need to use the root user to start listening on port 80So for the sake of 80 port access, a firewall for
Because the online service does not know when it will hang, it writes a script to monitor the Tomcat process. If the process does not exist, go to start the Tomcat process.#!/bin/bashSource/etc/profileSOURCE ~/.bash_profile# Source/etc/profile ~/.bash_profile These two sentences must be added, especially when monitoring some Java processes.Pid= ' Ps-ef | grep App
Introduction
A few days ago, w3ctech's entry into the famous enterprise-Baidu frontend Fex session once said that he could build his own front-end performance monitoring system seven days after listening to the lecture. Since he said it, he could not give up. In the previous article, the beauty of front-end data I believe everyone has a certain understanding of front-end data. The following describes the
In the%jboss_home%/bin/run.sh file
java_opts= "$JAVA _opts-dprogram.name= $PROGNAME"
Modified to:
java_opts= "$JAVA _opts-dprogram.name= $PROGNAME-dcom.sun.management.jmxremote.port=9999- Dcom.sun.management.jmxremote.authenticate=false-dcom.sun.management.jmxremote.ssl=false "
#-djava.rmi.server.hostname=192.168.2.2 #this must is added for TOMACAT6
For Tomcat ... find #Execut the requested Command in catalina.sh file.
Remote
Jconsole can monitor the memory usage of Java processes on the remote host. This article explains how to use Jconsole to monitor WebLogic and Tomcat on a remote host.First, the environment1. Native Environment: Windows Xp+jconsole (jdk1.6)2. Remote Environment 1:sunos (Solaris, jdk1.6) +weblogic3, Remote Environment 2:redhat (jdk1.6) +tomcatThis article will describe the configuration of the two environments, the configuration is basically the same, t
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.