Environment:
Xen
Centos 5.4 64 bit
Zabbix 1.8.1
1. Create a Virtual Machine (omitted)
2. Install centos 5.3 64-bit
Because it is only used to install zabbix server, only install base system.
Select customize now.
Here, only base in base system is selected.
About 15 minutes l
4. Install zabbix on the controlled end of station32
4.1: download the required package: zabbix-sender must be installed only when the controlled end is in active mode.
[[Email protected] # Yum-y localinstall \
Zabbix-2.2.3-1.el6.x86_64.rpm \ # master program server/agent are required
maintenance statetopology map: Direct topology of hostsscreen (screents): Multiple types displayed in a screentIT Services (IT service): Sometimes a host outage may not affect the service, IT service defines the limits of service tolerance degreeInstrument panel (dashboard): Monitor the overall status displayOverview (Overview): Displays data or trigger status for all machinesWeb: Monitoring Web servers by defining scenariosLatest data: View the latest data from the host projectEvent: Record of
, jabber, or SMS;Template: A set of preset entries that are used to quickly define a monitored host, typically containing item, trigger, graph, screen, application, and low-level discovery rule ; templates can be linked directly to a host;Front End (frontend): Zabbix Web Interface5, Zabbix InstallationIn the previous article we introduced the installation of Zabbix
System Information: system version: Centos6.5 64-bitServer-Side ip:172.16.4.63Server-Side ip:172.16.4.64Zabbix version: zabbix-2.0.14.tar.gz1. Install lamp environmentInstall server side with Yum:[email protected] ~]# Yum install gcc gcc-c++[[email protected] ~]# yum install-y httpd mysql mysql-server mysql-devel php p
, install SendMail or postfix
Yum install sendmail #安装
Service SendMail start #启动
Chkconfig sendmail on #设置开机启动
Yum install Postfix
Service Postfix start
Chkconfig Postfix on
CentOS 5.x is installed by default SendMail
CentOS 6.x is installed by default Postfix
SendMail and postfix only need to install one and
messages to the designated mailbox.
First: Send mail using Zabbix service-side Local mailbox account
First, install SendMail or postfix
Yum Install SendMail #安装
Service SendMail Start #启动
Chkconfig SendMail on #设置开机启动
Yum install Postfix
Service Postfi
Because there is already a PHP running environment, you only need to compile and install Zabbix.First, install dependent components
Yum-y Install NET-SNMP net-snmp-devel perl-dbi php-gd php-xml php-bcmath fping openipmi-devel php-mbstring
Ii. Compiling and installing Zabbix
①, download
Description
The Zabbix monitoring server is already configured and now uses Zabbix to monitor the Linux host.
Specific actions:
The following operations are performed on a monitored Linux host, taking the CentOS 6.x system as an example.
First, configure the firewall, open 10050, 10051 TCP and UDP ports
Vi/etc/sysconfig/iptables #编辑防火墙配置文件
-A input-s 192.168.21.127-m state--state new-m tcp-p TCP--dpor
Mysql>grant all on zabbix.* to ' Zabbix ' @ ' 127.0.0.1 ' identified by ' * * * * * * * with GRANT option; #允许账户zabbix能从本机连接到数据库zabbixMysql> Use ZabbixMysql>source/var/www/html/zabbix-3.2.0/database/mysql/schema.sql #导入脚本文件到zabbix数据库Mysql>source/var/www/html/
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.