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
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
Proxy can be written here, to remind a point if the active mode is best to configure all the last start service
Installation of the cacti* (Note that the password in the test page is not "Redhat" but "Redhat"
Nagios installation, yum installation mode.* (here yum is easy to install, but pay attention to some details, something I did not mention in the original text to add)
Client:1.nagios
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
The monitoring side of the work has been done, now as long as the monitoring side of the operation;
Note: be monitored MySQL remember to set the password AH
The addition of service types is also 2:
1.web Server
2.mysql Server
The following is a script to add a Web service:
WebServices () {read-p "" Please input the Web server IP: "Webip read-p" please input the Web alias name: " Host echo "define host{host_name $host alias Web-server address $webip Check_command
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
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 file directory:The bin directory is used to store Nagios's execution programs, including Nagios, Nrpe, and so on.The ETC directory is used to store Nagios configuration files.The Libexec directory is used to store Nagios's monitoring plug-ins.The Sbin directory is used to hold the Nagios CGI file, which is the d
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.