How to analyze the objects and thresholds monitored by nrpe

WBOY
Release: 2023-05-11 19:31:04
forward
1242 people have browsed it

nrpe monitoring objects and thresholds:

Host survival: Login user: System load: Disk usage: Script detects disk I/O: Detect zombie processes: Check the total number of processes: Script to check remaining memory: Detect the swap partition usage: should check_http check_ips

##Monitoring objects

MonitoringThreshold






Main

Machine

Assets

Source

check_ping

## -w 3000.0,80% -c 5000.0,100% -p 5 (If the
packet loss rate exceeds 80% within the 3000 millisecond response time, a warning will be reported. Within the 5000 millisecond response time, if the packet loss rate exceeds

100%, a critical message will be reported. A total of 5 messages will be sent. Package)

check_user

-w 5 -c 10(w for warning, c for critical)

check_load

-w 15 ,10,5 -c 30,25,20 (1 minute, 5 minutes, 15 minutes is a warning or critical if the number of waiting processes is greater than the corresponding
)

check_disk

-w 20% -c 10% -p / (the remaining space of the root partition is 20% of the total size warning,

10% critical, -p is followed by the root partition)

check_iostat

-w 5 –c 10 (If the iowait of disk I/O exceeds 5%, a warning will be reported, if it exceeds 10%, a critical report will be reported)

check_zombie _procs

-w 5 -c 10 -s Z (5 zombie processes report warning, 10 report critical)

check_total_procs

-w 150 -c 200 (total processes to 150 warning, 200 report critical)

check_mem

-w 90% -c 95% (a warning will be reported if the memory free rate is above 90%, and a critical will be reported if the memory free rate is above 95%)

check_swap

-w 20% -c 10% (the remaining space of the swap partition is 20% of the total size warning,

10% critical)

use

service

monitor

control

Monitoring service port:

check_tcp

-H localhost2 -p 80 (host and corresponding port number)

Monitoring page response time:

-H localhost2 -u http:\/\/localhost2/test.jsp –w 5 –c 10 (check the page, a warning will be reported if it exceeds 5s, and a crisis will be reported if it exceeds 10s)

Script detects the number of IP connections:

-w 200 –c 250 (If the number of IP connections exceeds 200, a warning will be reported, and if the number of IP connections exceeds 250, a critical report will be reported)

Traffic

Monitoring
Monitor server traffic:

Check_traffic

-V 2c -C public -H localhost2 -I 2 -w 12 ,30 -c 15,35 -M –b (snmp version, user, host, corresponding network card, warning threshold, critical threshold)

##

The above is the detailed content of How to analyze the objects and thresholds monitored by nrpe. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:yisu.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!