Home Operation and Maintenance Safety How to analyze the objects and thresholds monitored by nrpe

How to analyze the objects and thresholds monitored by nrpe

May 11, 2023 pm 07:31 PM
nrpe

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: shouldcheck_httpcheck_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!

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)