Nagios has a very powerful alarm function. You can also draw graphics when combined with PNP implementations. can be defined according to your needs: Nagios's foot type, can be said to monitor services, Nagios has done everything: The following gives Nagios installation steps. The latter will slowly update how to write footsteps define the Enterprise
1. Nagios has the following features:
1. network service monitoring (including SMTP, POP3, HTTP, NNTP, and PING)
2. server resource monitoring (CPU load, disk usage, etc)
3. You can easily customize the service monitoring plug-in you need.
4. Parallel service monitoring
5. Support for parent host rules and distributed
6. When a host or service fails, the administrator can be reminded by email or SMS.
7. Support event definitions during failures, which
1, Nrpe IntroductionNagios monitors remote hosts in a number of ways, including SNMP, NRPE, SSH, and NCSA. Here's how it monitors remote Linux hosts through Nrpe.NRPE (Nagios Remote Plugin Executor) is a daemon that runs the instrumentation command on the remote server, which allows the Nagios monitoring side to trigger the detection command on the remote host based on the installation and output the test r
Nagios Installation-server side (192.168.0.11)Then install the Nagios-related packagesYum install-y httpd nagios nagios-plugins nagios-plugins-all Nrpe Nagios-plugins-nrpeSet user and password to log in to
Nagios ConfigurationPreparations for configuring Nagios are very important.
Figure-Nagios
Handling before Nagios Configuration
The main task is to create nagios users and their groups so that the running users of nagios are
On the nagios page, the following error is displayed: Warning: NRPE: Unabletoreadoutput1. Go to the nagios monitoring server and check 1.1.
On the nagios page, the following error is displayed: Warning: NRPE: Unable to read output1. Go to the nagios monitoring server and check 1.1.
On the
Nagios NRPE monitoringThe procedure for a remote host is as follows.
Install nrpe on the invigilator
Wget http://nchc.dl.sourceforge.net/sourceforge/nagios/nrpe-2.12.tar.gz
Tar zxvf nrpe-2.12.tar.gz
Cd nrpe-2.12
./Configure -- prefix =/usr/local/nagios
Make all
Make install-plugin
# Install the supervisor in this step
Add a user to the monitored Machine
Groupadd
Introduction to Environment >>>>>>>>>>>>>>>>>>>>>>>>>> >>>>>>>Service side (monitor side): 192.168.100.2--nagios Service +check_nrpeClient (Monitored): 192.168.100.3--nrpe daemon + detection plug-inNagios's process of managing services remotely through Nrpe1. The Nagios server executes the Check_nrpe plugin installed inside it and tells Check_nrpe to detect which services.2. Connect the Nrpe on the remote m
Cacti and nagios are the necessary monitoring software for SMEs, first of all to review the advantages and disadvantages of cacti monitoring: mainly monitoring graphics traffic, through the web interface to monitor traffic, (mainly monitoring CPU memory hard disk, traffic) based on SNMP (fetch data) and RRDtool ( RRDtool is mainly the capture of data to draw images) Nagios monitoring system services, but al
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
1. Introduction to nagios plug-ins 1. nagios is an open-source network monitoring software that can be used to monitor host, service, and other objects. nagios can change the image status according to the monitoring changes, for the notification administrator, of course, you can select the alarm method (E-mai, SMS (that is, SMS Service) 2nagios usually has a main
I usedNagiosFor more than a year, he is competent in daily monitoring work. It is necessary to install a Nagios system. Let's take a look at the specific process of Nagios installation!
Figure-Nagios
Modify yum to upgrade the server[Root @ localhost ~] # Cd/etc/yum. repos. d [root @ localhost yum. repos. d] # cp CentOS-Base.repo CentOS-Base.repo.bak [root @ loc
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.