Build Zabbix monitoring under Debian

Source: Internet
Author: User

1. Build Lamp Environment

Aptitude install Mysql-server mysql-client apache2 apache2-doc php5 php5-mysql libapache2-mod-php5
Vim My.cnfcharacter-set-server = UTF8 #设置字符集utf8innodb_file_per_table = 1 #让innodb每个表文件单独存储

2. Download the Zabbix source installation package (This package is an installation source, which is equivalent to adding a Zabbix source after installation)

wget Http://repo.zabbix.com/zabbix/2.4/debian/pool/main/z/zabbix-release/zabbix-release_2.4-1+wheezy_ All.debdpkg-i zabbix-release_2.4-1+wheezy_all.deb apt-get Update

3. Installing the Zabbix Agent

Apt-get Install Zabbix-agent
vim/etc/zabbix/zabbix_agentd.confserver= "Zabbix server LAN IP" #必须与zabbix server Listenip consistent hostname= "Zabbix agent LAN IP "listenip=" Zabbix Agent LAN IP "

4. Installing Zabbix Server

Apt-get Install Zabbix-server-mysql zabbix-frontend-php zabbix-get
vim/etc/zabbix/zabbix_server.conflistenip=192.168.11.1

Configuring the Apache virtual host for Zabbix

Vim/etc/apache2/sites-available/zabbix<virtualhost *:80> ServerAdmin [email protected] Documentroot/usr/shar E/zabbix include/etc/zabbix/apache.conf errorlog ${apache_log_dir}/error.log LogLevel warn Customlog ${APACHE _log_dir}/access.log combined</virtualhost>

The basic building has been completed.

By setting some necessary parameters in the browser, you can make a preliminary use of the

This article is from the "Blowfish Home" blog, please make sure to keep this source http://mrhetun.blog.51cto.com/10560856/1695111

Build Zabbix monitoring under Debian

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.