Knowledge required for Zabbix configuration and installation (1)

Source: Internet
Author: User

ZabbixThere are three main points required for configuration and installation. Let's take a look!

If no error is reported during Zabbix configuration and installation, click OK. Then add the corresponding Port:

Vi/etc/services

Join

 
 
  1. zabbix_agent 10050/tcp # zabbix agent  
  2.  
  3. zabbix_agent 10050/udp # zabbix agent  
  4.  
  5. zabbix_trapper 10051/tcp # zabbix trapper  
  6.  
  7. zabbix_trapper 10051/udp # zabbix trapper  
  8.  

Copy the configuration file and Service Startup Script

Cp-rf misc/conf/opt/app/zabbix/etc-R

To

Misc/init. d/

Select a STARTUP script that suits your environment, or write

Add a zabbix user

Useradd zabbix

Run the script to start zabbix_server and zabbix_agentd.

[Root @ zabbix ~] # Ll/usr/local/zabbix/sbin/

Total 2344

 
 
  1. -rwxr-xr-x 1 root root 362581 Apr 16 22:55 zabbix_agent  
  2.  
  3. -rwxr-xr-x 1 root root 425336 Apr 16 22:55 zabbix_agentd  
  4.  
  5. -rwxr-xr-x 1 root root 136854 Apr 16 22:55 zabbix_get  
  6.  
  7. -rwxr-xr-x 1 root root 163086 Apr 16 22:55 zabbix_sender  
  8.  
  9. -rwxr-xr-x 1 root root 1284665 Apr 16 22:55 zabbix_server  
  10.  

Zabbix configuration is returned to the zabbix compilation directory:

Generate the configuration file:

 
 
  1. mkdir /etc/zabbix  
  2.  
  3. cp misc/conf/* /etc/zabbix/  
  4.  
  5. vi frontends/php/include/db.inc.php  
  6.  

Change database content:

 
 
  1. $DB_TYPE ="MYSQL";  
  2.  
  3. $DB_SERVER ="localhost";  
  4.  
  5. $DB_DATABASE ="zabbix";  
  6.  
  7. $DB_USER ="zabbix";  
  8.  
  9. $DB_PWD ="zabbix";  
  10.  
  11. cp -rf frontends/php /var/www/html/zabbix -R  
  12.  

Configure Zabbix to access the web: http: // localhost/zabbix for installation.


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.