ctm monitors

Read about ctm monitors, The latest news, videos, and discussion topics about ctm monitors from alibabacloud.com

Nagios + Cacti module-NRPE monitors linux local information (5)

Problem Encountered: Nagios monitors local information of remote host linux, such as memory, cpu, and load. Solve the problem: NRPE monitoring information Undertake http://mengsir.blog.51cto.com/2992083/1254272 Nagios + Cacti module-NRPE monitoring linux local information IV) Monitored machine: 1. Modify nrpe. cfg Vi/var/www/html/nagios/etc/nrpe. cfg suppose 1.2.3.4 is the IP address of the monitoring server) Allowed_hosts = 127.0.0.1, 1.2.3.4 // allo

Monitors the script of the MySQL process, restarts if the fault occurs, and sends an Email notification if the MySQL process cannot be started.

I have contributed a script to monitor the MYSQL process. I hope it will be helpful to you. Function: Monitors the MYSQL process and restarts upon failure. If the MYSQL process fails to be started, an Email notification is sent. The Code is as follows: #! /Bin/bash #/Usr/bin/nmap localhost | grep3306 # Lsof-I:3306 MYSQLPORT = 'netstat-na | grep"LISTEN"| Grep"3306"| Awk-F [:""] +'{Print $5 }'' Function checkMysqlStatus (){ /Usr/bin/mysql-uroot

Zabbix monitors mysql and zabbixmysql

Zabbix monitors mysql and zabbixmysqlI. System Environment Operating System: centos 7 Zabbix version: 3.2.5Ii. Install the zabbix Client # Wget http://repo.zabbix.com/zabbix/3.2/rhel/7/x86_64/zabbix-release-3.2-1.el7.noarch. rpm # Yum-y install zabbix-release-3.2-1.el7.noarch # Yum-y install zabbix-agent Configuration File /Etc/zabbix/zabbix_agentd.confIii. Single Point Mysql monitoring module 3.1 Template App MySQL Zabbix provides an official Templa

Python monitors process performance data and saves it as a PDF file,

Python monitors process performance data and saves it as a PDF file,Introduction Psutil module (https://pypi.python.org/pypi/psutil/) can be very convenient to monitor the system CPU, memory, disk I/O, network bandwidth and other performance parameters, the following code is to monitor a specific program of CPU resource consumption, print the monitoring data, display the drawing, and save it as a backup of the specified PDF document. DEMO code #!/usr

The nagios plug-in monitors the number of tomcat threads and nagiostomcat

The nagios plug-in monitors the number of tomcat threads and nagiostomcat Vi check_tomcat_threads.c #include

Cacti monitors Redis implementation process

Cacti monitors Redis implementation process Cacti is a set of graphic analysis tools for network traffic monitoring developed based on PHP, MySQL, SNMP, and RRDTool. It is widely used in server O M monitoring. Cacti provides plug-in management. As long as you write a specific template as required, you can monitor the traffic of any service. This article will introduce two templates: the Cacti templates for MongoDB and Redis. You can use them to monit

Supervisor monitors Gearman tasks

Supervisor monitors Gearman tasks To install a supervisor, you can directly use yum install supervisord. However, the version may be earlier. Refer to the official method:Easy_install supervisor Http://supervisord.org/installing.html#installing-to-a-system-with-internet-access Add service, vim/etc/init. d/supervisord, and modify the file attributes to execute chmod 777/etc/init. d/supervisord. #! /Bin/bash## Supervisord This scripts turns supervisord

Zabbix monitors the master-slave synchronization (replication) Status of mysqlMasterSlave, with a script attached

monitoring metrics for Zabbix server monitoring system deployment (2 ))Script 2 Create script mysqlms2.py #! /Usr/bin/python # coding: UTF-8 import MySQLdb import sys class check_mysql_repl (): def _ init _ (self): self. dbhost = 'localhost' self. dbuser = 'root' self. dbpass = 'wisp888' self. dbport = 3306 self. sock = "/data/db_misc/mysql_3306.sock" self. conn = MySQLdb. connect (unix_socket = self. sock) # connect to self according to the actual situation. cursor = self. conn. cursor (cursor

Python monitors how the site runs abnormally and sends messages

The examples in this article describe how Python monitors Web sites to run exceptions and send messages. Share to everyone for your reference. Specific as follows: This is a simple Python-developed monitoring program that sends notification messages via SMTP when the specified page status is not normal Copy the Code code as follows:#!/usr/bin/env python #-*-Coding:utf-8-*- #author Libertyspy Import socket Import Smtplib Import Urllib Mail_options = {

LoadRunner monitors Windows resource error monitor name:windows resources. Cannot connect to machine

step4. In the test machine's ' run ' input: \ \ target Machine ip\c$, click OK, to enter the target machine user name and password (using the command cmd input net use \\IP address \ipc$/user:administrator * * * (monitoring host must and server established $ IPC connection), you can view the target's C drive, which indicates the connection is successful, without entering the user name password.5. Close the firewall of the target and test machine, or the firewall is open TCP 135, TCP 445 port.6.

Scripting Eight: The Ping tool monitors multiple hosts simultaneously (running in the background and displaying)

)) ((all_sum+=1)) failed_percent=$ (echo "scale=2;${ failed_sum}/${all_sum}*100 "|bc) echo-ne" \033[$2;1h "printf" %-16s%-10s%-10s%-10s%-10s "$1 $all _sum $success _sum $failed _sum" ${failed _percent}% "usleep1$ ((random%5)) 00000done} #捕捉信号 (general Ctrl + C), and ignore trap ' ' 2# hide mouse tput civisclearprintf "\n\t\t%s\n" ' pingmonitor[ "Q" NBSP;TONBSP;EXITNBSP;!NBSP;] printf "%57s\n" ' ' |tr ' ' ' = ' printf ' %-16s%-10s%-10s%-10s%-10s\n "ipsumsucfailperc# cycle monitoring host,

Design a script that monitors the surviving state of a remote machine (assuming IP 123.23.11.21) and sends a message to yourself when it finds an outage.

#!/bin/bash#Remotemonitoring.Ifthenetworkisbroken,emailme~ ping-c10www.baidu.com>33.logwhile ["1"="1"]dot=$(awk ‘{print$1}‘33.log)if[!-z$($t)];thenecho""sleep30elsebreak;fidoneecho"DiaoXianLe"|mail-s"down"[emailprotected]This article is from the It Dick thread blog, so be sure to keep this source http://68686789.blog.51cto.com/10438688/1694908Design a script that monitors the surviving state of a remote machine (assuming IP 123.23.11.21) and sends a m

Flex Monitors Browser shutdown events

: Privatefunction Insertpageexit ():void{ varBrowerfunc:string ="document.insertscript = function ()"+"{ "+"window.onbeforeunload= function ()"+"{flexobjid.beforebrowerexit (); return ' Do you want to close the browser? ';}"+"} "; Externalinterface.call (Browerfunc); Externalinterface.addcallback ("Beforebrowerexit", Beforebrowerexit); } Publicfunction Beforebrowerexit ():void { //do the work you need to clean up in Flex}Note:

Shell monitors the storage update delay alarm of Fastdfs

fdfs_monitor to view the storage status and Update Time Delay of all fastdfs instances. The execution result is the uptime value of last_synced_timestamp. Monitors Active status and latency. The script is as follows: #! /Bin/bash# Storage synchronous delay alarm scripts# Richard shen 2012/07/11# BLOG: http://lxsym.blog.51cto.comBasedir = 'dirname $0'Now_time = 'date + % s'Active = $ Basedir/active.txtIP = $ Basedir/ip.txtSyn_time = $ Basedir/syn_time

How Microsoft Network Monitor monitors local addresses (loopback)

I used to struggle for a while and thought that this software was faulty and could not monitor my own server. The hook of the API such as the SPE can indeed be done. Later, I finally figured out that Microsoft Network Monitor monitors the data of the underlying Nic, The connection to the local 127.0.0.1 does not pass through the NIC, so it cannot be monitored. The solution is to use the LAN address (192.168.1 ..). Of course, this is not the ca

Nagios Monitors iptables status

Recently we have to strengthen security protection, the boss let us monitor the status of Iptables. Here I Dickens, coupled with the guidance of my Master (Congo), was successfully completed.Let's look at the monitoring script I wrote.#!/bin/bash prefix=/usr/local/nagios/libexec;Check_iptab_md5= '/usr/bin/sudo iptables-l-n |md5sum | awk ' {print '} ' #这里是计算iptables的filter链的MD5值 once it has changed. Or the iptables is closed and can be found. oldiptablesmd5=$ (CAT/TMP/IPTABLESPLMD5) #这里是将iptables

The Nagios plugin monitors multiple tomcat threads

VI CHECK_TOMCAT_THREADS.C#include Nagios Plug-in monitors multiple tomcat threads

Js monitors IE Firefox to close, refresh, roll back, and forward events, js Firefox

Js monitors IE Firefox to close, refresh, roll back, and forward events, js Firefox Js checks whether the rollback button is executed This is hard to do. Because the browser processing method is different. Chrome and ie will reload the js and restore all the states. The js that should be taken should be reloaded, but firefox will not. That is to say, setting a flag in Firefox makes it easy to judge, but chrome and ie cannot.Js captures the page closi

Python monitors linux memory and writes it to mongodb and pythonmongodb

Python monitors linux memory and writes it to mongodb and pythonmongodb (You need to install psutil to obtain server resources and pymongo driver) # pip install psutil # Pip install pymongo # Vim memory_monitory.py The file content is as follows: #! /Usr/bin/env python#-*-Coding: UTF-8 -*-Import psutilImport socketImport timeFrom pymongo import MongoClientMongodbIp = '192. 168.200.112'Export dbport = 27017Hostname = socket. gethostbyname (socket. get

VisualVM remotely monitors remote hosts through jstatd, and visualvmjstatd

VisualVM remotely monitors remote hosts through jstatd, and visualvmjstatd Configure the permission File [Root @ test bin] # cd $ JAVA_HOME/bin [root @ test bin] # vim jstatd. all. policy grant codebase "file :$ {java. home }/.. /lib/tools. jar "{permission java. security. allPermission ;}; Run the command to start Jstatd-J-Djava.security.policy = jstatd. all. policy Check whether port 1099 is Enabled: Netstat-an | grep 1099There is another way

Total Pages: 15 1 .... 5 6 7 8 9 .... 15 Go to: Go

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.