Tags: use init data source BSP HTM href directory map user1. Download Druid 2. Put the druid you just downloaded into the Lib directory under Tomcat 3. Configure the service startup file to be monitored, add:-djava.net.preferipv4stack=true-dcom.sun.management.jmxremote- dcom.sun.management.jmxremote.port=4090-dcom.sun.management.jmxremote.rmi.port=4090- Dcom.sun.management.jmxremote.ssl=false-dcom.sun.management.jmxremote.authenticate=false- djava.rmi
NagiosStartup and detection are as follows:
Figure-Nagios
1. Check Configuration: Nagios verification is very accurate. If you cannot start nagios correctly, you can find the answer from the error output.
/Usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/nagios. cfg
Reading configuration data...
Running pre-flight check on configuration data...
...............
Total Warnings: 0
Total Errors: 0
Things look okay-No serious problems were detected during the pre-flight check
2. Start nagios
/Us
Zookeeper Analog Monitoring Service node downtime /*** Analog Monitoring Service node outage * thought:* node is on line, create a node under/watch, and then monitor the node Log event types to determine if nodes are down * @throws Exception*/publicstaticvoid Watch () throwsexception{while (true) {finalzookeeper zkclie
Zabbix_serverShutting down zabbix_server: [OK]Starting zabbix_server: [OK]Iv. Import TemplatesBecause the Zabbix original template is not compatible with Tomcat and so on. The template needs to be re-imported.Configuration--HostsClick Update SubmissionConfiguration--Templates---ImportTemplate: Link: http://pan.baidu.com/s/1b0Hm02 Password: 631hOn--Import template imports complete.Configuration--Hosts--TemplatesCustomtomcat is the imported template, which is used here.Here you can find that JMX
I. Network Monitoring Program commands
Install the nmap package
1. nmap-s [T/U/P].-s indicates scan T indicates scanning TCP connections, and U indicates UDP connection P indicates ICMP
2. nmap-A IP_address/domian_name scan the Operating System
3. nmap-p port_name scan Port
The netstat command monitors the port and Protocol listening status of all networks.
Netstat-a (all) view all listening protocols
-P is displayed as a pid process number.
-T indic
What is perf4j?-------------------- Perf4j is a simple service monitoring framework that can be used to monitor system requirements, such as real-time system throughput and system response time.
Perf4j generates monitoring charts---------------------------- Charts generated by pef4j support mean, Min, Max, stddev, count and TPS.
Mean average response time
Mi
Configure the servers to be monitored
Array definition: host_ports= (Host_name=host_port=uri_path)Host_name for easy-to-identify server namesHost_port for server IP and service portUri_path the request path for the economy
Open firewall port for script running server, intranet IP and extranet IP, but be consistent with Host_port-A rh-firewall-1-input-m state--state new-m tcp-p tcp-s 121.45.111.17--dport 8090-j ACCEPT
Write a Python service monitoring programObjective:Redhat under Installation Python2.7rhel6.4 comes with a 2.6, found that some machines are python2.4. Download the source code to the Python site. Unzip to the Redhat. Then execute the following command:#./configure --prefix=/usr/local/python27# make# make InstallPython2.7 is not enabled by default after this installation. You need to use/usr/local/python27/
Tags: OracleDescription: The listener service is inexplicably terminated and must be started manually.There are a lot of information about the problem on the net, and the following points are summarized.1, the address uses the host name, modifies the host file and listens the file to solve this problem.2, Firewall mischief.3, the Security software optimization function mischief.4. Problems with Environment variablesHowever, our side of the situation i
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_ena
Zabbix Monitoring A service, such as Crond,zabbix itself without this template, requires manual script writingScenario Description:192.168.10.10:zabbix Server192.168.10.11:zabbix Client2: Script contents are as follows:[email protected] scripts]# pwd/etc/zabbix/scripts[email protected] scripts]# cat check_process_running#!/bin/sh##################################################### Check Process runing stat
still occurs after modifying to the correct IP address, followed by official documentation starting TNS Listener or lsnrctl Start yields TNS-12541, Linux error:111:connection refuse D (document ID 343295.1), only to find that because the local host loopback name and address is not correct, after modifying the/etc/hosts, restart the monitoring service, the problem is resolved.[Email protected] ~]$ more/etc/
Monitoring Web Service status using the shellPrinciple: Download the website and write the output to/dev/null if the command executes successfully (returns 0) Print success prompt, if the download fails, this is downloaded again, if it fails, the print failsThe script is as follows[[Emailprotected]~]#catcheckurl.sh#!/bin/bashcheckurl () {timeout=5fails=0success= 0whiletruedowget--timeout= $timeout --tries=1
When we use SSM to do projects, one way is to get the data through Redis, and to execute this method when the service is started and to manipulate the data in Redis, this is a time to listen. Here is the applicationlistener to do the monitoring.
The specific code is as follows:
Package Com.zcjy.titan.listener;Import org.springframework.beans.factory.annotation.Autowired;Import Org.springframework.context.A
Article Title: The UbuntuLinux system sets up the cacti Monitoring Service. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic classification. Step 1: Install ubuntu and LAMP services.
We recommend that you use the ubuntu server system + LAMP ser
The code implements the functions of deleting the service, starting the service, stopping the service, detecting whether the service is running, and whether the service exists:#pragma once#include Copyright NOTICE: This article for Bo Master original article, without Bo Mas
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.