30 November 2009

Mandriva 2009.1 : Install Zabbix



What is Zabbix ?


http://www.zabbix.com/

Installation on Mandriva 2009.1 Spring

1. Adding repository arsip.or.id

[root@srempuan telo]#urpmi.addmedia --distrib --mirrorlist http://www.arsip.or.id/mandrivalinux/official/2009.1/i586/


2. Install Zabbix Server

[root@srempuan telo]# urpmi zabbix
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "main_rilis_arsip")
fping 2.4b2 12mdv2009.1 i586
(medium "contrib_rilis_arsip")
libiksemel3 1.3 4mdv2009.0 i586
zabbix 1.6.2 3mdv2009.1 i586
2.7MB of additional disk space will be used.
418KB of packages will be retrieved.
Proceed with the installation of the 3 packages? (Y/n)

http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/main/release/fping-2.4b2-12mdv2009.1.i586.rpm
http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/contrib/release/libiksemel3-1.3-4mdv2009.0.i586.rpm
http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/contrib/release/zabbix-1.6.2-3mdv2009.1.i586.rpm
installing libiksemel3-1.3-4mdv2009.0.i586.rpm zabbix-1.6.2-3mdv2009.1.i586.rpm fping-2.4b2-12mdv2009.1.i586.rpm from /var/cache/urpmi/rpms
Preparing... ##############################################################################################################################################
1/3: fping ##############################################################################################################################################
2/3: libiksemel3 ##############################################################################################################################################
3/3: zabbix ##############################################################################################################################################
[root@srempuan telo]#

3. Install Zabbix-WEB Frontend

[root@srempuan telo]#urpmi zabbix-web
In order to satisfy the 'php-gd' dependency, one of the following packages is needed:
1- php-gd-5.2.9-6.3mdv2009.1.i586: GD extension module for PHP (to install)
2- php-gd-bundled-5.2.9-1mdv2009.1.i586: GD extension module for PHP (to install)
What is your choice? (1-2)
To satisfy dependencies, the following packages are going to be installed:
Package Version Release Arch
(medium "main_rilis_arsip")
libt1lib5 5.1.2 6mdv2009.1 i586
(medium "contrib_rilis_arsip")
zabbix-web 1.6.2 3mdv2009.1 i586
(medium "Main")
t1lib-config 5.1.2 6mdv2009.1 i586
(medium "Main Updates")
php-gd 5.2.9 6.3mdv2009.1 i586
4.2MB of additional disk space will be used.
994KB of packages will be retrieved.
Proceed with the installation of the 4 packages? (Y/n)

http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/main/release/libt1lib5-5.1.2-6mdv2009.1.i586.rpm
http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/main/release/t1lib-config-5.1.2-6mdv2009.1.i586.rpm
http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/main/updates/php-gd-5.2.9-6.3mdv2009.1.i586.rpm
http://telkom.arsip.or.id/mandrivalinux/official/2009.1/i586/media/contrib/release/zabbix-web-1.6.2-3mdv2009.1.i586.rpm
installing zabbix-web-1.6.2-3mdv2009.1.i586.rpm php-gd-5.2.9-6.3mdv2009.1.i586.rpm libt1lib5-5.1.2-6mdv2009.1.i586.rpm t1lib-config-5.1.2-6mdv2009.1.i586.rpm from /var/cache/urpmi/rpms
Preparing... #############################################
1/4: t1lib-config #############################################
2/4: libt1lib5 #############################################
3/4: php-gd #############################################
4/4: zabbix-web #############################################

4. Configuration

Mysql Configuration
eg. server : localhost, db : zabbix, userdb : root, passdb : kampret

mysql schema and data can be download from this

http://bayu.blitar.org/zabbix.tar.gz

Edit /etc/php.ini file

max_execution_time menjadi 300

Edit /etc/zabbix/zabbix_server.conf file

# Database host name
# Default is localhost

DBHost=localhost

# Database name
# SQLite3 note: path to database file must be provided. DBUser and DBPassword are ignored.
DBName=zabbix

# Database user

DBUser=root

# Database password
# Comment this line if no password used

#DBPassword=<password>
DBPassword=kampret

Zabbix web frontend configuration
run web server
service httpd start

run database mysql server
service mysqld start

open browser and point to http://localhost/zabbix/

and setup it.

Done.

No comments: