display the traffic usage of the GRE tunnel on the monitoring system. Here we use the Stone check_traffic.sh plug-in, www.111cn.net the plugin's Project home page is: https://github.com/cloved/check_traffic, Because there was a special article about the plug-in log article ———— Nagios SNMP traffic monitoring check_traffic.sh, so this is not done in detail, only
#!/bin/bashexecThis article is from the "Starry Sky" blog, so be sure to keep this source http://liuxiaolan.blog.51cto.com/7789055/1621689Batch generation of Nagios monitoring hosts
1. Unable to send message alert message when service flapping status[1409537279] SERVICE alert:rs-07; Memory; CRITICAL; hard;2; Connection refused by host[1409537279] SERVICE flapping alert:rs-07; Memory; STARTED; Service appears to has started flapping (28.2% change >= 20.0% threshold)2. Reason: The flap_detection_enabled parameter function, when the service between the two states frequently switching, in order to avoid the constant sending of alarms, this parameter is used to suppress the alar
Using the nagios plug-in to log on to the vro for ping monitoring
Router_check_apn_ping.c
#include
Script auto_ssh_route01_gglc_80_49.sh called
#!/usr/bin/expect -f#set port 22set user xxxoooset host 114.66.80.49set password xxxooo@2014set timeout 30spawn ssh $user@$hostexpect "*assword:*"send "$password\r"expect "*IRT*"send "ping -c 5 -m 1000 10.7.0.186\r"expect "*IRT*"send "quit"#expect eof
CHECK_NT plug-ins are typically used to monitor Windows system resources, and the monitored side needs to install nsclient++ and turn on this feature.Also, open 12489 ports are required (default)650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/7F/4A/wKiom1cYtLSwm3GvAACU8ISOTdk881.png "title=" 1.png " alt= "Wkiom1cytlswm3gvaacu8isotdk881.png"/>Nagios server-side check_nt functional parameter Description:Client software version./check_nt-h 10.
Real-time Monitoring of tomcat processes and real-time monitoring of tomcat#! /Bin/bash step = 2for (I = 0; I
* ***/Data/2.sh
Monitors apptomcat in real time. If apptomcat fails, it will also kill webtomcat.
Server environment: centos7.2 64-bit tomcat8.5.6The Tomcat monitoring feature requires a total of two scripts, as follows:initmonitor.sh#!/bin/sh#初始化监控脚本相关变量Export tomcat_name=apache-tomcat-8.5.6export tomcat_home=/usr/local/apache-tomcat-8.5. 6 #测试接口访问地址 export WebUrl=127.0. 0.1:8080/yanglao/sysusercontroller/systest
automatically restarts tomcat after monitoring tomcat down on Linux
First step edit:monitor.sh file (file contents see below)
Step Two install crontab (see below for installation steps)
The third step is to add a timed task: CRONTAB-E
*/1 * * * */usr/java/monitor.sh
monitor.sh file contents (configured under Manual execution:./monit
Because more than one Tomcat is installed on a Web application server, there are multiple ports, such as the default of 8080, followed by additional 9100,9300,9500, and so on. A cacti_host_template_tomcat_server.xml template can only be specified to monitor a tomcat service port.So if you want to monitor more than one Tomcat server on a Web server, then you have
line. The Java program starts a simple applet on its own port 12345 to provide the request data to the Zabbix-javagateway.Start Monitoring DeploymentAs we can see from the schematic above, the key point in configuring the Zabbix monitoring Java application is to configure Zabbix-javagateway, let Zabbix-server connect Zabbix-javagateway, Tomcat enables remote
:
[Root @ squid-2 scripts] # yum install perl-HTML-Parser.i386 perl-HTML-Tagset.noarch perl-libwww-perl.noarch perl-URI.noarch
After tomcat is started, the following error is reported:
[Tomcat @ web-9 logs] $ cat catalina. out
2014-6-6 15:11:15 org. apache. catalina. core. AprLifecycleListener init
Information: The APR based Apache Tomcat Native library which a
Steps to exclude Tom from the wrong catPs-ef | grep java or JPS–LVM view Java PID processNetstat–lntup | grep Java to see if Java port is bootingView the Tomcat log tailf/application/tomcat/logs/catalina.outshow-busy-java-threads.sh Print System The top five Java process to see that the process is taking up high memory.Tomcat Java remote monitoring download JKDht
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.