states of a monitored object. Nagios passes the thresholds for warting and crtical to the plug-in and is responsible for monitoring and analyzing the results of a specific object by the plug-in, with output information such as status information (Ok,warning,critical or Unkown) and additional detailed information.Second, the environmentSystem: CentOS 6.4x64 Minimized installationnagios-server:192.168.3.71na
Install and compile the Nagios document quickly in CentOS 6.5
Install and compile the Nagios documentation-all virtual environments in CentOS 6.5.
The purpose of writing this document is to facilitate and quickly deploy Nagios, which involves configurations that you like. Yo
Install nagios 4.0.8 on centos 6.5
Disable selinux
Setenforce 0
The permanent method is
Vi/etc/selinux/config
The status changes to disabled.
SELINUX = disabled
You need to restart the server.
Disable Firewall
/Etc/init. d/iptables stop
Delete firewall rules and restart Firewall
Mv/etc/sysconfig/iptables/opt
/Etc/init. d/iptables restart
Install the epel update source
Wgethttp: // dl.fedoraproject.org/pub/
for external command files /tr>
5.5 Installing the Nagios plugin# wget https://nagios-plugins.org/download/nagios-plugins-2.1.2.tar.gz# tar ZXVF nagios-plugins-2.1.2.tar.gz# CD nagios-plugins-2.1.2#./configure--prefix=/usr/local/
Nagios is a great monitoring tool that can help you monitor your network's servers and so on, and has the ability to alert you to email issues, and can combine Nagios's hardware to monitor the temperature of your room and check and alarm in real time.The free version of Nagios can only monitor 7 units (not clear or 6 units), but for small businesses, it should be enough for a few important servers to be mon
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
Install FAN nagios on CentOS
1. FAN is a centos-based mini version system. You can directly download the iso image for installation. It can also be installed on the redhat platform. FAN 2.1 is generally installed on a 32-bit system on the redhat 5. x platform.
Official Website: http://www.fullyautomatednagios.org/download/
2. Configure the network and dns
1. netw
the back of the Dongdong also sent up to add to everyone, study together, progress together.
Next, we will take a look at how on the Linux platform Ann Nagios This dongdong, here, I personally think CentOS is still relatively good platform, if you want to install the words CentOS This is a good choice oh, And you can also through the Linux command line to run Y
Note: There is a file embedded within this post, please visit this post to download the file.The data center does not have a temperature alarm device. I use this method to control the temperature of the data center. If there is only one alarm, a single machine failure can be considered. If there are several alarms at the same time, it can be considered that there is a problem with the air conditioner in the data center.
The specific implementation method is as follows:
Environment: monitored:
First, fan is a CentOS-based mini-version system that can download ISO image installation directly. It can also be installed on the Redhat platform, and FAN 2.1 is typically installed on a 32-bit system on the Redhat 5.x platform.Official website: http://www.fullyautomatednagios.org/download/Second, Configure the network and DNS1.network[Email protected] desktop]# Cat/etc/sysconfig/network-scripts/ifcfg-eth32.dns[Email protected] desktop]# cat/etc/res
First, the system environmentOperating system: CentOS 7Nagios server-side version: nagios-4.0.8-2.el7.x86_64Nrpe Client version: nrpe-2.15-7.el7.x86_64Two, Nagios custom plugin return code:Return Code Service State Host State0 OK up1 WARNING up or down/unreachable*2 CRITICAL down/unreachable3 UNKNOWN down/unreachableThird, define the plug-in, put the plug-in/usr/
The latest stable version is installed here:Nagios-4.0.8Nagios-plugins-2.0.3The installation is as follows:Preparations before installationTo use the root user to operate the server, the following software environments are required:ApachePHPDCC compilerGD development LibraryYou can use yum for installation:Yum install httpd phpYum install gcc glibc-commonYum install gd-devel Create users and user groups Useradd-m nagiosPasswd nagiosCreate a newNagcmdGroup for allowing external commands
1.Nagios IntroductionNagios is a powerful network monitoring tool, it can effectively monitor the Windows, Linux, UNIX host status and router switch network settings, printer work status, and the status of abnormal services in a timely manner in the form of mail, MSN SMS, such as the first time to notify the administrator. Because it is a follow GPLV2 open-source network monitoring software, with its excellent performance low cost of use, by the vast
Build Nagios monitoring under LinuxOne, what is Nagios1.nagios IntroductionNagios is a monitoring system that monitors the system's operational status and network information.Nagios can monitor the specified local or remote host and service, as well as provide exception notification functionality.Nagios runs on top of the Linux/unix platform, while providing an optional browser-based web interface to allow
Install and configure Nagios in CentOS: preparations, installation and logon, and troubleshooting cacti are powerful in terms of network traffic performance monitoring and Chart Drawing, however, the monitoring of the server and service status and the error alarm mechanism can be achieved through the Nagios artifact described in this article.
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.