Install repository configuration package:
rpm -ivh http://repo.zabbix.com/zabbix/2.0/rhel/6/x86_64/zabbix-release-2.0-1.el6.noarch.rpmInstall Zabbix server and web front-end with mysql:
yum install zabbix-server-mysql zabbix-web-mysqlInstall MySQL Database: Select Y/N as desired during each prompt and set your new root password
yum install mysql-server service mysqld start mysql_secure_installationCreate zabbix database:
mysql -uroot -p<enter new root password>;Import initial schema and data:
mysql> create database zabbix character set utf8;
mysql> grant all privileges on zabbix.* to zabbix@localhost identified by ‘zabbix’;
mysql> exit
# cd /usr/share/doc/zabbix-server-mysql-2.0.6/create-Configure Zabbix server edit /etc/zabbix/zabbix_server.conf
# mysql -uroot -p<enter password> zabbix < schema.sql
# mysql -uroot -p<enter password> zabbix < images.sql
# mysql -uroot -p<enter password> zabbix < data.sql
ListenPort=10051Start Zabbix server service:
DBHost=localhost
DBName=zabbix
DBUser=zabbix
DBPassword=somePasswd
DBSocket=/var/lib/mysql/mysql.sock
DBPort=3306
StartPollers=5
StartIPMIPollers=1 #If you have IPMI facilities in your server, enable this.
StartDiscoverers=1
SNMPTrapperFile=/tmp/zabbix_traps.tmp
StartSNMPTrapper=1
ListenIP=127.0.0.1CacheSize=24M # Bump this up to 24M from the default 8M
/etc/init.d/zabbix-server startZabbix has certain PHP requirements, so edit /etc/php5/apache2/php.ini and set
post_max_size = 16MRestart the apache web server:
max_execution_time = 300
max_input_time = 300
date.timezone = UTC
/etc/init.d/httpd restartSet zabbix services to start on reboot:
# chkconfig zabbix-server onConfigure Zabbix Web interface:
# chkconfig mysqld on
# chkconfig httpd on
At this stage, Zabbix web interface should be accessible by browsing ‘http://<IPhost>/zabbix‘Dengan mengakses http://<IPhost>/zabbix pada komputer anda akan dilanjutkan install zabbix server. installnya sangant mudah tinggal isi nama database, user dan password yang kita buat tadi, setelah selesai install dapat login dengan menggunakan (u: Admin, P: zabbix) semoga artikel Installing Zabbix 2.0 package from EPEL on CentOS 6.4 64Bit bisa mambantu rekan2 semua.
2 komentar
Bro, ane install zabbix mengikuti arahan ente, tapi saat buka http://103.252.101.112/zabbix malah ga muncul ya ???
ReplyIP itu sudah ada mail server nya.
Mohon pencerahannya bro.
erwinw14@gmail.com
server yang saya install kosongan dan memang saya peruntuhkan untuk aplikasi2 monitor, jadi ndak di campur dengan server mail, dns, proxy dan lain2.
Replydi server mas erwin install, ada mail server?
coba ip tablesnya di edit di tambahi port 10050 dan 10051 editnya di /etc/sysconfig/iptables
tapi itu http://103.252.101.112/ IP public bukan? di akses dari lokal bisa tidak?
semoga membantu,
Posting Komentar