Alibabacloud.com offers a wide variety of articles about screensaver for two monitors, easily find your screensaver for two monitors information here online.
Check_nrpe plug-in test:[Email protected] libexec]#/usr/local/nagios/libexec/check_nrpe-h 127.0.0.1-c check_ps_mem port-80 is no T existWith root account, the data is not captured by Check_nrpe;4. Perform Check_nrpe test with Nagios account:[Email protected] libexec]# sudo-u nagios/usr/local/nagios/libexec/check_nrpe-h 127.0.0.1-c check_ps_memport-80 is no T existResult: Using Nagios account is also no data captured. If the Nagios account does not capture the data, it cannot be captured even if
;nameofservicetemplatetouse host_name nginx service_description PINGcheck_command check_ping! 100.0,20%!500.0,60%}defineservice{ use generic-servicehost_name nginxservice_descriptionnginx_status check_commandcheck_ nrpe!check_nginx!ip!80!/usr/local/nginx/sbin/nginx!nginx.pid!nginx_status!/tmp!15000!20000 notifications_enabled 0}I'm also a split line ************************************Write it here for the time being, and I'll finish it tomorrow.This article is from the "Linux related sharing"
above commandOk-the traffic in are 0.11KB, out are 1.08KB, Total is 1.19KB. The Check Interval is 1526s | In=0.11kb;1000;1400;0;0 Out=1.08kb;1200;1500;0;0 Total=1.19kb;2200;2900;0;0 Interval=1526s;1200;1800;0;0Define in and out values exceeding 1000K, 1200K warning, exceeding 1400k,1500k severity. (No output for first run, output after 30s)3 Defining the check_traffic command on the monitored sideVi/usr/local/nagios/etc/nrpe.cfgAdd toCommand[check_traffic]=/usr/local/nagios/libexec/check_traffi
.jpg "/> Summary:1. If the monitoring page is incorrectly displayed Return code of 127 is out of bounds-plugin could be missingPossible cause is error in the command to add detection traffic, carefully check the keyword path format is correct2. If the Monitoring page error displays 650) this.width=650; "Src=" http://s3.51cto.com/wyfs02/M02/49/CA/wKioL1QagxXghSCVAADINWoui4c342.jpg " Title= "W1.png" alt= "wkiol1qagxxghscvaadinwoui4c342.jpg"/> Workaround: Empty/var/tmp/temporary files in the Nagios
After zimbra is installed on multiple servers, the Web Console displays a Red Cross for all services except the master server, indicating that the status is abnormal. However, when you use zmcontrol status to view the service status, the service is normal.
This is because the logger server and corresponding port are not specified in the newly added server. You can solve this problem by editing the following configuration file.
> VI/etc/rsyslog. conf
A) Logger server (logger. Group)
# Provides
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 on## Author: Mike McGrath
Configure echo_supervisord_conf>/etc/superv
Loadrunner monitors the installation and operation of linux servers-Linux Enterprise applications-Linux server application information. The following is a detailed description. I used to find a lot of related materials. later, I checked some information about linux on the Internet and found out where the error was. the installation is successfully monitored through the experiment. so share it with you.
1. install two service packages: rsh and rsh-serv
Zabbix (III): Monitors multiple Redis instances on Microsoft cloud Azure using the official Zabbix template, zabbixredis1. Running environment:
OS: CentOS 7.3/Python: 2.7.3/Pip: 9.0.1/Zabbix: 3.2.8/Redis: Microsoft cloud Redis 3.2.7
Monitoring templates officially provided by Zabbix.
Project address: https://github.com/blacked/zbx_redis_template
Python and Nodejs monitoring scripts are officially provided. This article uses Python scripts.
All officia
Shell 1 that monitors PHP processes and Error Log checks: When asynchronous processing is performed, it is inevitable that the program will be suspended. This shell can be used to listen to PHP script processes processed by the queue, if the process is dead, it will restart. Www.2cto.com Python code #! /Bin/bash process = 'ps-ef | grep'/www/project/handle. php' | grep-v grep | wc-l 'if [$ process-eq 0]; then/usr/bin/php/www/project/handle. php # You c
Android Download Manager monitors progress anywhere
You may want to monitor the progress anywhere in the application market or other downloads, and implement it well.
It is relatively simple to share and prevent memory overflow. We use a weak reference to bind the View to update the progress method.
Map
> ViewListem = new HashMap
> (); // Weak reference to the progress bar
Prevent recovery when the memory is insufficient.
Key is
V
The Shell script monitors the running status of a specified process.
This article mainly introduces how to monitor the running status of a specified process using Shell scripts. This article provides the script code directly. For more information, see
In the previous blog, I wrote the implementation method of the automated testing program. Now developers need to know the process to be tested (here it refers to the main process running on LINUX) the ru
1. Download mysql monitoring Script: gmetric-mysql.sh
Free in http://linux.bkjia.com/
The username and password are both www.bkjia.com
The specific download directory is in/July 6, 2014,/July 25, April,/Ganglia, which monitors MySQL.
For the download method, see
2. Modify the msyql user name and password in the script.3. The machines on line 54 and line 58 need to be modified (the cause is not identified) and can be replaced between $ [] and $. I modi
AngularJS monitors Scope variables and calls the Scope method externally.
In AngularJS, you sometimes need to monitor a variable in the Scope, because the variable changes will affect the display of some interface elements. Sometimes, you also want to call a method of Scope through jQuery.
For example:
We hope that:
● Disable the jQBtnState variable value in Scope if it is set to false and the id is set to jQBtn.● Click the jQBtn button to call a met
Ctop: a command line artifact that monitors the performance of Linux containers
Ctop is a new command line-based tool that can be used to monitor processes at the container level. By using the resource management function of the controller group (cgroup), containers provide a virtual environment at the operating system level. The tool collects data related to memory, CPU, block input and output, as well as the owner, boot time, and other metadata from
1. Obtain the number of monitors
Getsystemmetrics (sm_cmonitors );
2. Obtain the display Handle Based on the window handle, rectangular area, and dot
Monitorfromrect (LPRC, monitor_defaulttonull)
Monitorfrompoint (PT, monitor_defaulttonull)
Monitorfromwindow (pwnd-> getsafehwnd (), monitor_defaulttonull)
3. Obtain the handle of the primary Monitor
// The primary monitor always has its origin at 0, 0Hmonitor =: monitorfrompoint (cpoint (0, 0), m
= "wkiol1otmz6xkvwvaajo7fxgqh4612.jpg"/>
2) network equipment performance monitoring: common network equipment performance monitoring mainly includes memory and CPU monitoring. Below are common netscreen oid.
Memory:
Remaining memory: 1.3.6.1.4.1.3224.16.2.2.0Memory usage: 1.3.6.1.4.1.3224.16.2.1.0
CPU:
Average CPU usage: 1.3.6.1.4.1.3224.16.1.1.0CPU usage in the past 1 minute: 1.3.6.1.4.1.3224.16.1.2.0CPU usage in the past 5 minutes: 1.3.6.1.4.1.3224.16.1.3.0CPU usage in the past 15 minutes: 1
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
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.