See www.zabbix.com for the official Zabbix site.

Zabbix1.9.2 meerkat drizzle

From Zabbix.org
Jump to: navigation, search

Running Zabbix 1.9.2 on Ubuntu 10.10 Meerkat and Drizzle 2011.03.11

Install Drizzle

Building Zabbix Server 1.9.2

Since there are no binaries available for zabbix server 1.9.2 at the time of writing this (March 2011), we'll have to build zabbix ourselves.

Following the instructions in the manual worked for me. I decided I wanted to build with

./configure --enable-server --enable-agent --enable-ipv6 --with-libcurl --with-jabber --with-mysql

which made me install the following dev packages:

  apt-get install libmysqlclient16-dev
  apt-get install libiksemel-dev
  apt-get install libcurl4-gnutls-dev

Other then that, it all works pretty straightforward.

Creating the zabbix database on drizzle

log into drizzle and create the zabbix database:

root@tribily-tecra:~/zabbix-1.9.2# drizzle
Welcome to the Drizzle client..  Commands end with ; or \g.
Your Drizzle connection id is 9
Connection protocol: mysql
Server version: 2011.03.11 Ubuntu

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

drizzle> create database zabbix;
Query OK, 1 row affected (0.001434 sec)

drizzle> exit

Then,

  • from the zabbix source directory, edit the file 'create/schema/mysql.sql'
    • line 243, replace 'timestamp' to surround with backticks (it's a reserved word in drizzle, as it should be ;) ).
    • line 1181, surround the fieldnames expression and exp_delimiter by backticks.

Then you can import the data and schema like normal

Configuring the zabbix frontend

In conf/zabbix.conf.php, change the port to 4427 (the default drizzle port)

More info coming soon.. feel free to contribute..

Configuring and running zabbix server

coming soon.. feel free to contribute..