Swap

Check swap status

swapon -s

If answer apsents – swap doesn’t exist

After that we create a new swap 1GByte

dd if=/dev/zero of=/swapfile bs=1M count=1000
mkswap /swapfile
swapon /swapfile

Zabbix

Zabbix Repo
# rpm -Uvh http://repo.zabbix.com/zabbix/3.4/rhel/7/x86_64/zabbix-release-3.4-1.el7.centos.noarch.rpm

Zabbix Server
# yum install -y zabbix-server-mysql zabbix-web-mysql
# mcedit /etc/zabbix/zabbix_server.conf


# systemctl start zabbix-server
# systemctl enable zabbix-server
# mcedit /etc/httpd/conf.d/zabbix.conf

php_value date.timezone Europe/Moscow

# systemctl start httpd
# systemctl enable httpd

Zabbix Agent
# yum install -y zabbix-agent
# mcedit /etc/zabbix/zabbix_agentd.conf

PidFile=/var/run/zabbix/zabbix_agentd.pid
LogFile=/var/log/zabbix/zabbix_agentd.log
LogFileSize=0
Server=127.0.0.1
ServerActive=127.0.0.1
Hostname=Zabbix server
Include=/etc/zabbix/zabbix_agentd.d/*.conf

# systemctl start zabbix-agent
# systemctl enable zabbix-agent