An example of Nagios fault and solution in Ubuntu 12.04

Source: Internet
Author: User

The scenario is as follows:

OS: Ubuntu 12.04 LTS x86_64;

Nagios version 3.2.3;

Nagiosql version 3.2.0;

Pnp4nagios version 0.6.13;

Virtual Machine, quad-core, 1.5 memory;

Mode: passive monitoring

Number of monitored hosts: 169

Number of monitoring services: 745

Number of drawings: 923 (find/var/lib/pnp4nagios/perfdata-name "*. rrd" | wc-l)

Drawing mode: Synchronous mode

Fault symptom: continuous delay in alarms and monitoring, but the drawing is normal, and various tuning operations are still unsolved; after the pnp4nagios drawing is disabled, the monitoring and alarm will immediately return to normal; I personally feel like monitoring and plotting are competing for system resources;

Solution: Change the pnp4nagios plotting mode to bulk-npcd.

Briefly describe how pnp4nagios works:

First: synchronous mode Chinese: synchronous mode. In my personal understanding, as long as the data is received, drawing immediately, such:

Second: bulk mode noon: Container mode. I personally understand that it will cause a timeout when converting the data to be drawn first, reaching a certain amount, and then drawing. I heard that this method will process a large amount of data at the same time; it can be mitigated by modifying specific parameters. For example:

Third: bulk mode with npcd Chinese: bulk mode managed by npcd. My personal understanding: it is equivalent to the second type, but the author's solution is like this when npcd manages plotting. See:

Type 4: Bulk Mode with npcdmod; Use nagios to run npcd in a modular manner. However, it seems that the official website does not support nagios4, and I have not done many tests. For details, refer:

Type 5: Gearman Mode .. I don't know how to translate... looking at what the official saying is very good, we can make pnp4nagios and nagios distributed on different machines. I have not had a deep understanding of it. I am interested in visiting the official Internet cafe... see:

 

For the change method, see the pnp4nagios website.

 

Nagios details: click here
Nagios: click here

Network Monitor Nagios Overview

Nagios construction and Configuration

Build a Nagios monitoring platform in the Nginx Environment

Configure the basic Nagios System on RHEL5.3 (using Nagios-3.1.2)

CentOS 5.5 + Nginx + Nagios monitoring and control terminal installation and Configuration Guide

Install Nagios Core for Ubuntu 13.10 Server

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.