Zabbix deployment summary

1, the lack of dependencies

Build local yum repository, the rpm package to / home / install_packet / yum

Yum modify the software source

Yum modify the software source
backup existing software source

cp /etc/yum.repos.d/xxx.repo /etc/yum.repos.d/xxx.repo.bk

Here xxx may vary due to different versions, so you need to look at the directory.

vim /etc/yum.repos.d/xxx.repo

In baseurl add a line: File: /// Home / the User / yum /

enabled=1

2, trousers version is too low

Upgrade: yum Update trousers-0.3.14-2.el7.x86_64.rpm

When offline deployment zabbix-xxx.rpm may be due to differences in operating system leads can not be installed because of dependencies version low or high.

3, garbled graphics

Win + R to open the Run, type fonts, enter into the Windows font directory, find Microsoft elegant black - regular font, copy it to modify the file name for the msyh.ttf, and then upload it to / usr / share / zabbix / fonts

After a successful upload, edit

 vim /usr/share/zabbix/include/defines.inc.php
the 'graphfont' modify msyh.

After editing, click refresh to complete.

4, the installation zabbix-agent

http://repo.zabbix.com/

To download the corresponding OS, the median rpm package

Configuration /etc/zabbix/zabbix_agentd.conf

Server=zabbix server ip

ServerActive=zabbix server ip

Hostname = Do not use the machine IP # 127.0.0.1

5, zabbix logpath

tail -f /var/log/zabbix/xxx.log

6, zabbix profile path

cd /etc/zabbix/xxx.conf

7, the script storage path

cd /etc/zabbix/zabbix_agent.d/
 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_37565541/article/details/90912445