screensaver for two monitors

Alibabacloud.com offers a wide variety of articles about screensaver for two monitors, easily find your screensaver for two monitors information here online.

jquery Monitors text box events and handles them accordingly

This article describes the jquery Monitoring text box event and how to handle it accordingly. Share to everyone for your reference. Specific as follows://事情委托$(document).on(‘input propertychange‘, ‘#query‘, function(){var input = $(this).val();show(input);});var show = function(txt){var info = ‘监听: + txt + ‘+ ‘相关搜索: + showTags(txt);$(‘.info‘).html(info);}var showTags = function(txt){var tag = ‘‘;if(txt.length){for (var i = 0; i tag += ‘+txt+‘相关‘+i+‘;};}return tag;}jquery

Nagios monitors Dell server hardware

check_command check_power service_groups dell-openmanage Notificati Ons_enabled 1} Define service{use Local-service host_name usvr-131 , usvr-119,usvr-70,usvr-71,usvr-72,usvr-73,usvr-82,usvr-83,usvr-84,usvr-85,usvr-86,usvr-87 service_description Omsa_temp Check_command check_temp! " 0=30/15 "!" 0=40/10 "Service_groups dell-openmanage notifications_enabled 1}4. Check the configuration file and reload the configuration fileNagioscheckService Nagios ReloadQuad, firewall configurationSince we

Script monitors Web server, does not work properly email reminders

Background introductionThe company has a number of Web sites, no configuration monitoring services, every day to check whether the server is working properly. Inefficient and time-consuming. Code Snippets#!/bin/bash# Author Jerry.huang (Email:[email protected]) # Check Web Serverif[[-Z ' curl-i-S"http://www.baidu.com"|grep "OK"` ]]; ThenEcho "www.baidu.com Server server is down"| Mail-s"www.baidu.com Server Alert"[Email protected],616043155@qq. com Echo "$ (date) www.baidu.com server is down">

An alert Shell script that monitors MySQL transactions in Nagios for a long time without RUNNING.

An alert Shell script that monitors MySQL transactions in Nagios for a long time without RUNNING.Preface:1. Write a transaction monitoring script#! /Bin/bash2. Add script monitoring on the nagios ClientTest the script first.[Root @ wgq_idc_dbm_3_61 binlog] # Add monitoring command in nrpe. cfg4. Add configuration options on the main monitoring server of nagiosCheck on the nagios server firstAdd the transaction monitoring option in services. cfg:Add th

Php monitors the status of the varnish Cache Server

Php monitors the status of the varnish Cache Server This article describes how to monitor the status of the varnish Cache Server in php. Varnish is a high-performance open-source HTTP accelerator that can replace Squid, Nginx, and other servers. For more information, see When varnish and the website are deployed on the same server, it is impossible for us to log on to the server at any time to check varnish's hit rate. I did not expect a great man t

Python monitors whether the host is alive

#!/usr/bin/env python#-*-Coding:utf-8-*-Import SysFrom threading Import ThreadImport subprocessFrom queue import queueNum_threads=3ips = [' 127.0.0.1 ', ' 192.168.20.140 ']Q=queue ()def pingme (I,queue):While True:ip = queue.get ()print ' Thread%s pinging%s '% (I,IP)ret = Subprocess.call (' ping-c 1%s '% ip,shell=true,stdout=open ('/dev/null ', ' W '), Stderr=subprocess. STDOUT)if ret = = 0:Print '%s is alive! '% IPELIF ret ==1:Print '%s is down ... '% IPQueue.task_done ()For I in Range (num_thr

Jconsole monitors tomcat JVM memory, threads, CPU, and jconsolejvm

Jconsole monitors tomcat JVM memory, threads, CPU, and jconsolejvm JConsole was introduced from Java 5 to monitor Java application performance and trace Java code. Jconsole is a built-in JDK monitoring tool. You only need to find the JDK installation path, open the bin folder, and double-clickJconsoleYou can. 0. Preparations before monitoring Write the code to tomcat/bin/catalina. sh. CATALINA_OPTS=-Djava.awt.headless=true JAVA_OPTS="-Djava.rmi.serve

Shell that monitors PHP processes and Exception Log checks

Shell that monitors PHP processes and error log checks 1: When doing some asynchronous processing, it is inevitable that the program hangs, this shell can be used to listen to the queue processing of the PHP script process, if the process is dead will be restarted. #!/bin/bashprocess= ' ps-ef|grep '/www/project/handle.php ' |grep-v grep|wc-l ' if [$process-eq 0];then/usr/bin/php/www/ project/handle.php# here can also record the log, understand the s

Shell that monitors PHP processes and Exception Log checks

Shell that monitors PHP processes and error log checks

PHP Script monitors nginx 502 exception and automatically restarts PHP-FPM

PHP Script monitors nginx 502 error and automatically restarts PHP-FPM The server occasionally appears Nginx 502 bad Gateway, if in the computer next to good, if midnight or go out, how to do?No problem, write a script to detect the status of the service, found an exception, automatic restart.Automatic Restart Script: Php$url= ' Http://blog.rebill.info '; $cmd= '/usr/local/php/sbin/php-fpm restart '; for($i= 0;$i$i++){ $exec= "Curl Connec

Nagios monitors servers that install ESXi (host)

wbemclient = Pywbem. Wbemconnection (Hosturl, (User,password), No_verification=true) TypeError: __init__ () Got an unexpected keyword argument " no_ Verification " In this case, edit the check_esxi_hardware.py file to delete "No_verification=true" and then test: [Email protected]176192.168. 0.100 -u nagios-p qwe123,./,./-V dellunknown:authentication Error "Unknown:authentication error" appears, continue processing SSH login to ESXi host, edit as follows: ~

Nagios monitors tomcat with Check_http

=60connection_timeout=300command[check_users]=/usr/local/nagios/libexec/check_users-w 5-c 10command[check _load]=/usr/local/nagios/libexec/check_load-w 15,10,5-c 30,25,20command[check_mem]=/usr/local/nagios/libexec/ Check_mem 80command[check_disks]=/usr/local/nagios/libexec/check_disks 80command[check_ipcons]=/usr/local/Nagios/libexec/check_ipcons 5000command[check_tomcat_8080]=/usr/local/nagios/libexec/check_http-i 192.168.1.77-p 80-u/adcollectt/ok.html-e 200-w 5-c 105. Start Nrpe[Email protect

Nagios monitors the status of Cloudstack hosts

Host hosts in Cloudstack for some reason the status is not up, and you want Nagios to monitor this state through Cloudmonkey, as follows:#!/usr/bin/python#desc:thisscriptistocheckthestatusof hostsincloudstack#canuse-htoshow Usageimportos,sysimportjsonfromoptparseimportoptionparsere_ok=0e_ warning=1e_critical=2e_unknown=3e_code=e_okparser= Optionparser () parser.add_option ("-I", "--ignore", dest= "Ignore", help= "ipaddressthat ignoretocheck ") (Options,args) =parser.parse_args () comm= '/usr/bin

Nagios monitors any TCP port

[Email protected] ~]# vim/usr/local/nagios/etc/objects/services.cfg define service {use generic- Service # Add monitoring of 22 ports HOST_NAME web01 service_description ssh port check_command check_tcp! }define Service {use generic-service # adds monitoring for 80 ports host_ Name web01 service_description http port check_command check_tcp! (+}[Email protected] ~]#/etc/init.d/~]#/et

A python script that monitors the mounting disk

= Smtplib. SMTP () s.connect (mail_host) s.login (Mail_user,mail_pass) s.sendmail (me, Mailto_list,msg.as_string ()) print (' Send successfully! \ n ') s.close () exceptexception ase:print (str (e))The following effects are performed:650) this.width=650; "src=" Https://s4.51cto.com/wyfs02/M00/06/98/wKiom1m6i9azyByDAABqTWMs_tc175.png "title=" 1.png "alt=" Wkiom1m6i9azybydaabqtwms_tc175.png "/>Hidden Points of knowledge!1) Du-s is based on the bytes to statistics, "--exclude= ' Yunwei '" is in th

Linux monitors external IP connectivity at some point

I believe everyone is familiar with the netstat command, the main use of this command, the online spread of the DDoS deflate tool is to use the number of IP to count external connections, and then combined with Iptables method to implement an IP blacklist and unblock an IPNetstat-ntu | awk ' {print $} ' | Cut-d:-f1 | Sort | uniq-c | Sort-none of the commands used, there are obvious deficiencies, such as not determining whether the local connection 127.0.0.1 or any address identifies 0.0.0.0 or e

"Shell script" monitors LAN IP online

First, the script functionTo determine whether the IP is occupied, the ping rule is considered to be occupied and the results are output to ip_yes.txt and Ip_no.txt, respectively, by means of the ping command detection.Second, script writing#!/bin/bash#Check the network is onlineip_num=192.168.1.For i in ' SEQ 1 254 'DoPing-c 2 $ip _num$i >/dev/nullIf [$? = 0];thenecho "Echo $ip _num$i is yes"Echo $ip _num$i is yes >> ip_yes.txtElseecho "Echo $ip _num$i is no"Echo Echo $ip _num$i is no >> ip_no.

A script that monitors the process, if the process unexpectedly restarts the process

#!/bin/shecho "Current DIR is" $PWDWhile [1]DoServerpid= ' Ps-ef|grep process name |grep-v Grep|awk ' {print $} 'If ["$serverpid"]Thenecho "Process name is Running,pid" $serverpid#kill-9 $serverpidElseecho "Process name is down, now starting ..."dt= ' Date +%f 'Nohup process 2>>/data/socket/$dt "_ad_error.log" 1>>/data/socket/$dt "_ad_access.log" FiSleep 5DoneA script that monitors the process, if the process unexpectedly restarts the process

Python monitors elasticsearch cluster status and pushes to Openfalcon

#!/usr/bin/python#!--*--coding:utf-8--*--importrequestsimporttimeimport Jsonimportsysimportcommandsts=int (Time.time ()) #print tscmd= ' curl 172.31.0.92:9200/_cat/health ' (a,b) =commands.getstatusoutput (cmd) #print bstatus= b.split (' ') [157]ifstatus== ' green ': healthy=3elifstatus== ' Yellow ': healthy=2elifstatus== ' red ':healthy=1else: healthy=0#printhealthypayload=[{ "Endpoint": "TBK01", " Metric ":" elasticsearch_status "," timestamp ": ts, "Step":60, "Value": 1, "CounterType": "G

Linux monitors running shell scripts for a process

The script implements a 2-per-scan monitoring of the process for the specified process name and restarts once the discovery process does not exist.#!/bin/sha=10;While [[@a-gt 5]]; Doif test $ (pgrep-f $1|wc-l)-eq 2;thenSH stop.shGnome-terminal-x SH start.sh FiSleep 2;DoneSummary: (1) indicates that the current process starts a process to execute the gnome-terminal command, (2) The parent process of Linux hangs up, the child process is not hung, but the parent process of the child process is set

Total Pages: 15 1 .... 10 11 12 13 14 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.