Nagios.cfg file Nagios.cfg
The default path is/usr/local/nagios/etc/ Nagios.cfg, is the Nagios core configuration file, all object configuration files must be defined in this file to play its role, where the object configuration file can only be referenced in the Nagios.cfg file.
Log_file=/usr/local/nagios/var/nagios.log
The "log_file" variable is used to defi
Nagios Monitoring SystemNagios is an open source free network monitoring tool that can monitor Windows, Linux, and UNIX host status, switch routers and other network devices, when the system or service status is abnormal when sending mail or SMS alarm, the first time to notify the site operations personnel. Traffic monitoring is not his forte, traffic monitoring recommends using cacti, which can draw very intuitive graphics..
1, Nagios features: Monitor the status of the server, powerful alarm function, the drawing function is weak need to use other plug-ins to implement or integrate other monitoring software.2. Five states of Nagios: OK warnning CRITICAL UNKNOWN PENDINGOK: normalWarnning: Warning (typically over threshold)CRITICAL: Critical Warning (host or service is down or exceed
Nagios Setup and ConfigurationExperimental environment centos6.5 two setsExperimental stepsI. Installing Nagios dependencies:Yum-y Install httpd gcc glibc glibc-common gd gd-devel php php-mysql mysql mysql-devel mysql-server xinetdTwo. Install and configure Nagios (monitor this machine)
Add the users and groups required for
1. nagios Basic installationInstall the GCC compiler, GD library, development library, and web Service on the server and create a nagios Account # useradd nagios# Passwd nagios# Usermod-G nagios apache # Add apache users to the nagios
Install and configure nagios in centos6.7
Nagios is an open-source free network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. If the system or service status is abnormal, an email or text message alert will be sent immediately to the website O M personnel. After the status is restored, a normal email o
As a system administrator, I am most worried about stopping or stopping network services for important online systems without my knowledge, in addition, it may take a long time for the faulty service or host to know. Especially during holidays, the system administrator is very nervous. To change this passive situation, I recommend the network monitoring software Nagios. I personally think its biggest advantage is that it can send a fault warning text
Reference post: https://www.howtoing.com/ubuntu-nagios/This blog post is really valid for reference, follow the steps, basically can be successfulI. Prerequisites for installationsudo apt-get install wget build-essential apache2 php apache2-mod-php7.0 php-gd libgd-dev sendmail UnzipTwo. User and group configurationUseradd NagiosGroupadd NagcmdUsermod-a-G Nagcmd NagiosUsermod-a-G Nagios,nagcmd www-dataThree.
Method One
First, MySQL from the server settings
1, MySQL from the Server users add
The code is as follows
Copy Code
Add users by executing the following statement:Mysql> GRANT REPLICATION CLIENT on *.* to Monitor@localhost identified by ' PassWord ';2. Download check-mysql-slave.pl Scriptcd/usr/local/bin/wget http://www.centos.bz/wp-content/uploads/2012/10/check-mysql-slave.plchmod +x check-mysql-slave.pl3, in MySQL from the server configuration extend Mysql-slave
1. this guide attempts to allow you to monitor local hosts by installing Nagios source programs on Ubuntu within 20 minutes using simple commands. More advanced settings are not discussed-only some basic operations, but this is enough for 95% of users to start Nagios. 1. this guide attempts to allow you to monitor local hosts by installing Nagios source programs
Nagios is an open source free network monitoring tool, can effectively monitor Windows,Linux and Unix host status, switch routers and other network settings, printers and so on. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification. Nagios What's the difference with cacti ? In sh
About Nagios
Nagios is an open-source, free network monitoring tool that effectively monitors Windows, Linux and UNIX host status, network devices such as switch routers, printers, and more. Send mail or SMS alarm when the system or service status is abnormal the first time to notify the site operators, after the status of the resumption of normal mail or SMS notification.
Nagios clients generally need to Nagios-plugins,nrpe, in order to facilitate and puppet combination, so it is best to package the source code as a package
The spec file reads as follows:
Nrpe.spec:
%define name Nrpe%define version 2.13%define Release 10%define nsusr Nagios%define NSGRP Nagios%define Nsport 5666# Res
Chapter 3: run nagios3.1 to verify the correctness of the configuration file. each time you modify your configuration file, you should run a detection program to verify the correctness of the configuration. This is important before running your Nagios program. Otherwise, the Nagios service will be disabled due to configuration errors. Verify your configuration...
Chapter 3: running
Introduction to the outsetRecently due to work needs, learning to study the installation, configuration, use of Nagios, about Nagios introduction, you can refer to my previous essay Nagios Learning Practice Series-Product introductionExperimental environmentOperating system: Red Hat Enterprise Linux Server Release 6.0 (Santiago).Note that
Linux monitoring IDC MonitoringMonitored objects: servers (operation and maintenance jobs)What to monitor: (resources)1. Usage of hardware (CPU memory storage)2, monitoring the status of application services (running stop)3. Operation of operating system (number of users in process quantity system)4, network Interface data traffic (in and out)How to monitor?Execute a custom monitoring script using CrondThe system provides the corresponding commands to viewMonitoring using software to build monit
Learn more about Nagios and find out what new system monitoring possibilities exist when using this software. Nagios is an open source monitoring software that scans for problems with hosts, services, and networks. The main difference between Nagios and other similar packages is that Nagios simplifies all information t
Install Nagios on CentOS7
1. About nagios
Nagios is an open-source free network monitoring tool that can effectively monitor the status of Windows, Linux and Unix hosts, network settings such as vswitches and routers, and printers. If the system or service status is abnormal, an email or text message alert will be sent immediately to the website O M personnel. A
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.