We mentioned how to install Nagiosinstallation. The client will introduce it later in the article. This article will introduce how to configure the server side of Nagiosinstallation.
We talked about how to install Nagios installation. The client will introduce it later in the article. This article will introduce how to configure the server side of Nagios.
Procedure1: Open the local. cfg file and configur
Implementation of Nagios: Nagios adopts distributed-centralized management mode. Install the main Nagios program on the Nagios server,
Install the Nagios agent on the monitored host. Monitors the host status through communication between the main
Monitor 80-Port 3306-Port passwd file changesExperiment Description: The environment is a host Linux CentOS release 6.5 (Final) 192.168.0.22 open httpd 80 port 3306 PortOne, prepare before starting the installation:1. Installing Nagios Server SoftwareA,nagios-3.5.1.tar.gzB,nagios-plugins-1.4.16.tar.gzC,nrpe-2.12.tar.gz2. Configure Environment variables:[Email pro
The new company monitoring with the Zabbix, which used to Zabbix-proxy, originally did not try to get, now first installed to see in order to follow up the use of inspection.Zabbix-proxy is a monitoring proxy server, which collects the monitored data, stores it in the buffer, the time can be set by the configuration file, and then transferred to Zabbix_server; the monitoring agent needs a separate database
first, environmental preparedness
Host and software preparation
Os:centos 6.7x86_64
Zabbix version: zabbix-3.0.2
MySQL version: MariaDB10.1.13
Nginx Version: nginx-1.8.0
PHP Version: php-5.6.1
Host IP Planning:
Host ip:192.168.3.45
Host Resource planning:
Memory: More than 2GB
Host partition:/TMP partition at least 2G above, MySQL data disk 20G above
Second, basic component Installation (LNMP)
1), the basic
http://www.ttlsa.com/zabbix/zabbix-web-monitor-real-life-scenario/http://www.ttlsa.com/zabbix/zabbix-monitor-web-api/Create a web SceneConfiguration->host-> your console->web-> the top right corner create scenario650) this.width=650; "title=" Zabbix real-combat monitoring We
Configuring Nagios Monitoring System filesNagios configuration file:Nagios.cfg: Master profile, defining the name and location of various configuration filesCGI.CFG: Controlling the CGI configuration fileResource.cfg: Resource file, define various variables so that other files can be calledObjects: Other configuration file directory, this directory is mainly:COMMAND.CFG: Command configuration file, define various command formats for other file callsCo
monitoring configuration-configuration of notifications
Notify by email when there is a problem with the service
1, configure the command to send mail
Edit/usr/local/nagios/etc/objects/commands.cfg
The default output macros $hostoutput$ and $serviceoutput$ only output the first line of information, and we use $longhostoutput$ and $longserviceoutput$ to output the complete information.
in order to accept the format of a good, and Chinese text-free hyp
First I have configured the lamp environment, or can use the following command:[[Email protected] ~] #yum install make mysql-server httpd php mysql-devel gcc net-snmp-devel curl-devel perl-dbi php-gd ph P-mysql php-bcmath php-mbstring php-xml unixodbc-devel openipmi-devel libxml2-develTo complete the installation:1. Create a new Zabbix account:[Email protected] ~]useradd zabbix-s/sbin/nologin2, create
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. You can modify and apply the configurations on your own.
Network Monitor
Yum deployment, zabbix monitoring, and yum deployment of zabbix monitoring
Deploy zabbix monitoring in yum
Chapter 2 deploy zabbix server in yum... 1
1.1 command line deployment... 1
1.1.1 yum source configuration-explanation... 2
1.1.2 MariaDB and mysql 3
1.2 zabbix-web i
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
Zabbix source code compilation and installation, and zabbix source code compilation
Introduction:
Zabbix distributed monitoring system, source code compilation and installation records (not to mention the number of times)
: Http://jaist.dl.sourceforge.net/project/zabbix/ZABBIX
It is a complicated process to build nagios, first of all it requires the reader to have a Linux foundation, the most important thing is to spend a lot of energy and time, there is patience and careful. I mainly refer to this article on the Internet, I think the writing is very good.Original:Http://www.cnblogs.com/mchina/archive/2013/02/20/2883404.htmlhttp://www.ibm.com/developerworks/cn/linux/1309_luojun_nagios/I. About Nagios650) this.width=650; "ti
Values :Check , notif or misc
Command Line
System command line that'll be run on execution
②.Increase inNagioscommand, usingADDAction:Format:
Centreon-u User name -P password -o cmd-a add-v ' command name ; type ; Command '
Note: When you define a command directly, you need to use the single quote " ' ", a variable should be included in the command" $... ". 1), execute the command:
[Email protected] ~]# centreon-uadm
Nagios+centreon of Chinese ①.Download language Files : wget Http://cacti-nagios.googlecode.com/files/messages.mo ②.Create a language directory : mkdir-p/usr/local/centreon/www/locale/zh_cn/lc_messages/ ③. move the downloaded messages.mo to the directory created in step 2 : MV messages.mo/usr/local/centreon/www/locale/zh_cn/lc_messages/ ④. Log in to Centreon, click administartors, and then click Optionto go to "my account" and change the language t
System environment:[Email protected]_server ~]# cat/etc/redhat-releaseCentOS Release 6.9 (Final)1. Update the Yum sourceMv/etc/yum.repos.d/centos-base.repo/etc/yum.repos.d/centos-base.repo.backupWget-o/etc/yum.repos.d/centos-base.repo Http://mirrors.aliyun.com/repo/Centos-6.repo2. Adjusting the character setecho ' Export lc_all=c ' >>/etc/profileSource/etc/profile3. Close Iptables and SELinux4. Update the system time/usr/sbin/ntpdate pool.ntp.orgThen put in a timed task5. Installing GCC and lamp
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.