For each configuration file to explain, in-depth understanding of Nagios, good study, day up ~
(1) Templates.cfg file
Nagios is mainly used for monitoring host resources and services, called objects in Nagios configuration, in order to not have to repeatedly define some monitoring objects, Nagios introduced a templat
One: Prepare before installationNagios server:192.168.1.10Nagios client:192.168.1.11This post installs Nagios only using the Nagios mail alarm feature, if you need to paint another installation of cacti, or other pluginsSecond: Installation ServicesTo operate on the Nagios server:Installing apache+phpYum install httpd httpd-devel php php-mysql php-common php-gd p
NagiosThe process of monitoring a Linux server is as follows:
Client Configuration:
User Creation:
Useradd nagios can modify the shell of this account in/etc/password to/sbin/nologin)
Passwd nagios
Install plug-ins:
tarzxvfnagios-plugins-1.4.11.tar.gz
cdnagios-plugins-1.4.11
./configure--prefix=/usr/local/nagios--enable-redhat-pthread-workaround
Document directory
Contact Configuration
Contact Group Configuration
Add Host Configuration
Add service configuration
Register the plug-in using Nagios
Plug-in service configuration
Compile a plug-in using Python
Introduction
Nagios is a monitoring system that monitors the running status and network information of the system. It can monitor specified local or remote hosts and services, and provid
First, the server-side installation:1 , build on the service side Lamp EnvironmentYum install-y httpd php2 , server-side installation Nagios Main programUseradd-s/sbin/nologing./configure--prefix=/usr/local/nagios--with-command-group=nagios./configure when Perl command not found is found to install Perl this package, or make all will be error yum install-y perlMa
1, verify the correctness of the Nagios configuration file
Nagios to verify the configuration file in the very place, simply through a command to complete:/usr/local/nagios/bin/nagios-v/usr/local/nagios/etc/ Nagios.cfgnagios provides this validation feature, which usually p
Nagios is a monitoring software that helps users quickly understand problems on the host and the Internet and can be configured to be used on any network. Installing the Nagios server on any Linux operating system is a very fast process, but it takes some effort to install it securely. This article will focus on how to improve Nagios's security, rather than explaining how to install
Nagios Installation configuration:Nagios official website http://www.nagios.orgEnvironment Construction:centos6.6 192.168.11.30 do the service sidecentos6.6 192.168.11.100 do the client1. Nagios Installation-server (192.168.11.30)CENTOS6 The default Yum source does not have Nagios-related RPM packages, but we can install a epel extension source:Yum Install-y epel
Nagios is one of the most influential network information monitoring systems in the enterprise, and it can dynamically monitor the specified network status, and issue warning tones or email alerts to operators when the status is abnormal. The type of monitoring and alarm timers are fully customizable.Another powerful feature of Nagios is its ability to monitor both hosts and services. For example, it can si
Use Escalations to limit the number of Nagios alarms:
Nagios is a powerful monitoring tool, especially its alarm function. However, if the server fails to be resolved in time, Nagio will continuously send messages. How can I limit the number of Nagios alarms? This article describes how to limit the number of Nagios ala
Monitoring MySQL monitoring transaction hanging (RUNNING) alarm notification in Nagios
Preface:An error occurred while submitting the business alarm order. The page was not responded. After troubleshooting, the transaction was not committed or rolled back. I thought that if the operation status of the transaction was monitored in time, in this way, you can troubleshoot the problem in time to facilitate operation and processing. Therefore, you have cre
(Nagios)-check_openmanage [Dell],Nagios-> check_openmanage [Dell R7 *] Requirement Description at on June 14: monitoring the hardware status and environment information of the Dell R7 Series servers through Nagios: Nagios monitoring host: xxx. xxx. xxx. xxxNagios version: 3.2.3NagioSQL: 3.2.0Dell R710: xxx. xxx. xxx. x
In my first Nagios tutorial I talked your through the instillation process required for Nagios if you had not yet install Ed Nagios follow my tutorial, installing Nagios on Ubuntu.In this tutorial we is going to go through adding hosts to Nagios, sounds simple rite, well the
NagiosYou can use snmp, nrpe, and nsclient to obtain information. More importantly, you can use the latter and use its powerful plug-in module. Cacti Uses snmp and does not need to install an agent. It is generally used to monitor network traffic. Nagios is generally used to monitor processes and services.
Nagios installation environment:
Host
Operating System
IP
Remarks
Implementation of nagios grouping and plotting code [1]
I. background
In view of the Service grouping and Image Presentation functions of zabbix and cacti, the company's leaders aim to maximize business stability and propose the "real-time display of monitoring systems by service grouping" function to the O M department, the O M Department belongs to the technical support department of the company and can only be Yes to meet reasonable requirements.
This is just a function of the monitoring side of the overall script installserver ()
The specific script is as follows:
#!/bin/bash #this is Nagios server or client install Shell #at 2012/10/29 path= ' pwd ' Httppath=/usr/lo Cal/apache2 mysqlpath=/usr/local/mysql Nagiospath=/usr/local/nagios installserver () {Yum install-y
xinetd useradd-m Nagios groupad
Chapter 2: configure the relationship between nagios and configuration files
2.1 main configuration file options
The main configuration file of Nagios is/usr/local/nagios/etc/nagios. cfg.
This article briefly describes the important variables in the main configuration file.
2.1.1 object configuration file
Format: pai_
Nagios-pluginAndNrpeThe quick deployment method is as follows:
1. Install nagios-plugin and nrpe on any monitored machine. The installation directory is the same as/usr/local/nagios or depends on your actual requirements, at the same time, it is best to have mysql on the monitored machine, so that the script for monitoring mysql will be compiled, one benefit of t
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.