"Zabbix Series" Install and add host

Source: Internet
Author: User
Tags administrator password

Test environment Ubuntu 14.04.1 LTS


"Server-side Installation"

About the installation of the official provided a very detailed installation methods, including the platform source code and package installation. For other versions of Linux please refer to
Https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages
Zabbix is the C/s architecture, so the sub-server and the client are installed. The client only needs to install zabbix-agent. The service side recommends that both the Zabbix and the agent are installed.
The following are the server-side installation steps:
wget Http://repo.zabbix.com/zabbix/2.4/ubuntu/pool/main/z/zabbix-release/zabbix-release_2.4-1+trusty_all.deb
sudo dpkg-i zabbix-release_2.4-1+trusty_all.deb
sudo apt-get update
sudo apt-get install-y zabbix-server-mysql zabbix-frontend-php
sudo apt-get install zabbix-agent
During installation, you will be prompted to set the root password and Zabbix db password for MySQL.
After the installation is complete, enter the address in the browser Http://ip/zabbix enter the Zabbix Web installation interface
In step 2 of the Installation interface (check of pre-requisites) if PHP time zone unknown fail appears on the right
The following modifications are made
sudo vim/etc/apache2/conf-available/zabbix.conf
Remove the note from the # Php_value Date.timezone Europe/riga
Restart Apache
sudo service apache2 Retart
Solve the problem
Enter the root password for MySQL in the next step until the last

The default initial administrator password for Zabbix is

Account Admin
Password Zabbix

"Client Installation"
Windows Client
Download zabbix-agent Windows package from official website Http://www.zabbix.com/downloads/2.4.4/zabbix_agents_2.4.4.win.zip
There are two directories in the archive bin and Conf
Copy all files under Bin\win64 to \ C
Copy the zabbix_agentd.conf under conf\ to \ C
The contents of the modified zabbix_agentd.conf are as follows:
server=10.0.0.10 \\zabbix IP on the service side
Hostname=windows Test \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ local hostname
Logfile=c:\zabbix_agentd.log \ \ Local Log location
listenport=10050 \ \ Port


PS: About hostname This one needs to note that the hostname specified here must be with the Zabbix server to add the client specified in the hostname one


Kind of Can. Can be filled according to their own wishes, and the local system hostname is not associated.
Install the cmd command line:
Zabbix_agentd.exe--install
Zabbix_agentd.ext--start


Linux Client
sudo apt-get install-y zabbix-agent
Modifying a configuration file sudo vim/etc/zabbix/zabbix_agentd.conf
sever=10.0.0.10
Hostname=linux Test
Restart Zabbix-agent Service
sudo service zabbix-agent restart


"Zabbix Add Host"
There are two points that are important to note
1.Hostname is consistent with the hostname set in zabbix-agent.
2.Templates must set the correct tempalte such as Windows OS will choose Template os Windows this template
Remember to update the configuration so that it takes effect when you're done setting it up.

Attached: Mail alarm is more complex, and the exclusion of more, by the next article separately recorded.

"Zabbix Series" Install and add host

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.