1. Introduction
Today, with ever-expanding scale of the network system, the rise of the network equipment and server set requirements for network administrators to conduct regular monitoring activities to ensure system the stable operation. From here, the administrator will conduct construction monitoring system, which monitors system.
There are many open source software for monitoring systems such as Nagios, Cacti, Zabbix, Zenoss, ... Each software has different advantages and disadvantages. Depending on the needs of refugee management options appropriate monitoring software. In this article, I will demonstrate how to configure and install Zabbix monitoring software on CentOS 6.
2. System Requirements:
Operating System CentOS (Link Support)
Installed Webserver with PHP (Link Support)
Installed MySQL Server (Link Support)
3. Configure Zabbix
First, I will proceed to execute the command yum install needed packages automatically from EPEL.
# yum --enablerepo=epel -y install zabbix-server-mysql zabbix-agent zabbix-web-mysql
Note: If your system is not activated using the command yum downloads packages from EPEL then do the following:# rpm -Uvh http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm # yum repolistAfter using yum command to install the necessary packages. We conducted log into MySQL Server, create a new database with the names and settings zabbix, zabbix @ localhost password
# mysql – u root –p
mysql> create database zabbix;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by ‘123456’ ;
mysql> flush privileges;
mysql> exit
Above we have set the password 123456 to zabbix @ localhost Import files of Zabbix database into MySQL Server:
# cd /usr/share/doc/zabbix-server-mysql-*/create/schema
# cat mysql.sql | mysql -u root -p zabbix
Enter password:
# cd ../data
# cat data.sql | mysql -u root -p zabbix
Enter password:
# cat images_mysql.sql | mysql -u root -p zabbix
Enter password:
# cd
Open File zabbix_server.conf #vi /etc/zabbix/zabbix_server.conf
Uncomment line 110 and pass the password setting Zabbix DB
Open File zabbix_agentd.conf
vi /etc/zabbix/zabbix_agentd.conf
Uncomment line 105,change the hostname of your system
Open file php.ini
vi /etc/php.ini
Change the appropriate values of Zabbix required as shown below:
Restart Webserver services of Zabbix
# /etc/rc.d/init.d/zabbix-server start
# /etc/rc.d/init.d/zabbix-agent start
# /etc/rc.d/init.d/httpd restart
Set for Zabbix system works every time reboot: # chkconfig zabbix-server on
# chkconfig zabbix-agent on
After finishing the above steps to configure, install it using Zabbix web interface. Open the browser and type http://ip/zabbix. Which is the IP address of the system.Introduction screen appears, it Next.
I Tick Agree and Click Next
Check out all the information required before installing Zabbix, then click Next.
Configuration information to connect to MySQL Server and Database name as shown below.
Configuration information Hostname, Port, Name, .... then click Next to continue
Information before installation. I click Next
You click Next to the next step
Zabbix installation process is so successful. Now we will proceed to the login page http://ip/zabbix/index.php. With Login Name: admin and Password: zabbix
I hope above steps will help you to Install Zabbix on your server.
Good Luck For You!!
Horoscope jour balance horoscope amour compatibilite
ReplyDeleteMy site voyance par telephone