Nagios's Nrpe parameters

Source: Internet
Author: User

1. First Use the table to list my monitoring objects and thresholds:


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)



This article is from the "Lonely (Technology Group: 1991706)" blog, please be sure to keep this source http://304076020.blog.51cto.com/7503470/1437190

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.