Installing Zabbix

From TBwiki
Revision as of 04:19, 28 November 2014 by Lucas Trottier (Talk | contribs)
Jump to: navigation, search


This procedure applies to Zabbix v.2.4 on CentOS6

1. Follow RedHat/CentOS installation procedure from Zabbix documentation

https://www.zabbix.com/documentation/2.4/manual/installation/install_from_packages#red_hat_enterprise_linuxcentos

Note: It is possible that you might get the following error while starting httpd on a new CentOS installation:

# service httpd start
Starting httpd: httpd: apr_sockaddr_info_get() failed for myZabbixHost
httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName

Make sure to configure your hostname "myZabbixHost" to /etc/hosts

2. Configure services to automatically starts on reboot of the server

# chkconfig mysqld on
# chkconfig zabbix-server on
# chkconfig zabbix-agent on
# chkconfig httpd on

3. Disable SELinux

# setenforce 0

Edit /etc/selinux/config and set SELINUX to disabled:

# vi /etc/selinux/config
SELINUX=disabled

4. Configure the Zabbix front end

Personal tools