contrib/zabbix_server
2007-04-16 19:18:04 +03:00
..
.footprint zabbix_server: restricted permissions on configuration file 2006-11-16 11:34:03 +02:00
.md5sum zabbix_server: updated to 1.1.7 2007-04-16 19:18:04 +03:00
Pkgfile zabbix_server: updated to 1.1.7 2007-04-16 19:18:04 +03:00
post-install zabbix_server: restricted permissions on configuration file 2006-11-16 11:34:03 +02:00
README zabbix_server: updated to 1.1.7 2007-04-16 19:18:04 +03:00
zabbix_server zabbix_server: initial import 2006-10-28 23:29:29 +03:00
zabbix_server.conf zabbix_server: updated to 1.1.4 2006-11-16 10:20:01 +02:00

README for zabbix server

REQUIREMENTS
See http://www.zabbix.com/manual/v1.1/install.php for full software
requirements.

PRE-INSTALL
For upgrading see http://www.zabbix.com/manual/v1.1/config_upgrading.php
You might have to change patch.sql to use MyISAM tables before applying 
patches.

POST-INSTALL
You should decide on tabeles format: InnoDB is used in default sql scripts
and is a better choice for zabbix database tables. However, before creating
database you can untar source somewhere and run:
  sed -i s/"type\=InnoDB"/"type\=MyISAM"/g zabbix-1.x.x/create/mysql/schema.sql

1. Choose host for the database, edit /etc/zabbix_server.conf:
  change DBHost, DBUser, DBPassword, comment out DBSocket.

2. Create mysql zabbix database (user, password):
  shell> mysql -u<username> -p<password>
  mysql> create database zabbix;
  
 maniac's corner
 [
  mysql> CREATE USER 'zabbix'@'localhost' IDENTIFIED BY 'password_as_is';
  mysql> GRANT ALL PRIVILEGES ON zabbix.* TO 'zabbix'@'localhost';
 ]
  mysql> quit;
  shell> cd create/mysql
  shell> cat schema.sql |mysql -u<username> -p<password> zabbix
  shell> cd ../data
  shell> cat data.sql |mysql -u<username> -p<password> zabbix

3. Change these values in frontends/php/include/db.inc.php:
  $DB_SERVER  ="localhost";
  $DB_DATABASE = "zabbix";
  $DB_USER     = "zabbix"; /* if one was created */
  $DB_PASSWORD = "db_user_password";

4. Change these values in /etc/zabbix/zabbix_server.conf:
  DBHost=localhost
  DBName=zabbix
  DBUser=zabbix
  DBPassword=password_as_is

5. Copy frontends/php to your webserver document root, change it's permissions.
  Default user is 'Admin', password is empty.

6. Run post-install to create dedicated zabbix user.

RESOURCES
http://www.zabbix.com/manual/v1.1
http://www.zabbix.com/forum
http://www.zabbix.com/doku