|
Monitoring objects |
Monitoring Valve Value |
|
Main
Machine
Source |
Host Survival:
Check_ping
|
-W 3000.0,80%-C 5000.0,100%-P 5 (3000 ms response time,
Packet drop rate exceeded 80% warning, 5000 millisecond response time, packet drop rate exceeded
100% report Critical, total 5 packets sent) |
|
Login User:
check_user |
-W 5-c (W is warning, c is critical) |
|
System load:
check_load |
-W 15,10,5-c 30,25,20 (1 minutes, 5 minutes, 15 minutes greater than corresponding
Number of wait processes warning or critical) |
|
Disk usage:
Check_disk |
-W 20%-C 10%-P/(20% warning for the total size of the remaining space on the root partition,
10% critical, after-p is the root partition) |
|
Script detects disk I/O:
check_iostat |
-W 5–c 10 (disk I/O iowait more than 5% warning, more than 10% reported critical) |
|
Detect Zombie Process:
Check_zombie _procs |
-W 5-c 10-s Z (There are 5 zombie process alarms, 10 reporting critical) |
|
Total number of detection processes:
Check_total_procs |
-W 150-C 200 (total process to 150 warnings, 200 report critical) |
|
Script detects memory remaining:
Check_mem |
-W 90%-C 95% (memory idle rate 90% or more warning, more than 95% reported critical) |
|
Detect Swap partition usage:
Check_swap |
-W 20%-c 10% (20% warning for the total size of the swap partition,
10% critical) |
|
Should
Use
Service
Service
Supervisor
Control |
Monitoring Service port:
check_tcp |
-H Localhost2-p 80 (host with corresponding port number)
|
|
Monitor page response time:
check_http |
-H localhost2-u http:\/\/localhost2/test.jsp–w 5–c 10 (Check page, more than 5s alarm, more than 10s report critical) |
|
Script detects IP connections:
check_ips |
-W 200–c (more than 200 IP connections warning, more than 250 reported critical) |
|
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 NIC, warning threshold, critical threshold) |