nrpe monitoring objects and thresholds:
##Monitoring objects |
MonitoringThreshold |
|
Machine Assets Source | Host survival:
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 servicemonitorcontrol 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!