Experience in Zabbix configuration and installation

Source: Internet
Author: User

Zabbix configuration and installationExperience, but you can also practice it!

Zabbix is a CS-structured monitoring system that has not been properly installed before: You have to review the installation several times. Currently, the configuration and installation of Zabbix are as follows:

Zabbix configuration requires web, php, mysql, gcc, and other support

Please configure it yourself

Next let's start the operation.

The operating system of the Operation example is Centos 5.2.

Wget http://prdownloads.sourceforge.net/zabbix/zabbix-1.6.4.tar.gz? Download (Latest Version)

Tar zxvf zabbix-1.6.2.tar.gz

 
 
  1. mysql -uroot -p  
  2.  
  3. mysql> create databases zabbix;  
  4.  
  5. mysql> GRANT ALL PRIVILEGES ON zabbix.* TO zabbix@localhost IDENTIFIED BY ‘zabbix’ WITH GRANT OPTION;  
  6.  
  7. mysql> use zabbix;  
  8.  
  9. mysql> source /usr/local/src/zabbix-1.6.2/create/schema/mysql.sql  
  10.  
  11. mysql> source /usr/local/src/zabbix-1.6.2/create/data/data.sql  
  12.  
  13. mysql> source /usr/local/src/zabbix-1.6.2/create/data/images_mysql.sql  
  14.  

Cd zabbix-1.6.2

./Configure-prefix =/usr/local/zabbix // specify the installation directory

-Enable-server \ // install the server, which is not required by the monitored Node

-Enable-agent \ // install the agent

-With-mysql \ // a directory must be specified for mysql support

-With-net-snmp // you need to specify a directory for snmp support.

Common compilation options are as follows. For more information, see help.

 
 
  1. –enable-static Build statically linked binaries  
  2.  
  3. –enable-server Turn on build of server  
  4.  
  5. –enable-proxy Turn on build of proxy server  
  6.  
  7. –enable-agent Turn on build of agent  
  8.  
  9. –enable-ipv6 Turn on support of IPv6  
  10.  
  11. –with-mysql  
  12.  
  13. –with-oracle  
  14.  
  15. –with-pgsql  
  16.  
  17. –with-sqlite3  
  18.  
  19. –with-jabber  
  20.  
  21. –with-net-snmp  
  22.  
  23. –with-ucd-snmp  
  24.  

The Zabbix configuration client only needs to be executed:

 
 
  1. ./configure –prefix=/usr/local/zabbix –enable-agent  
  2.  
  3. make && make install  
  4.  

Do you think the above Zabbix configuration and installation experience is understandable and helpful for your configuration!

Related Article

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.