Accueil

Programmes

CRUX Repository

Liens

valid xhtml 1.0

Auth

README

README for zabbix_server

REQUIREMENTS

PRE-INSTALL

POST-INSTALL

  You must, first of all, create a user zabbix

  shell> useradd zabbix

  ZABBIX comes with SQL scripts used to create the required database schema and
  also to insert a default configuration. There are separate scripts for MySQL
  and PostgreSQL.

  For MySQL:

    shell> mysql -u<username> -p<password>
    mysql> create database zabbix; 
    mysql> quit; 
    shell> cd /usr/share/zabbix/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

  For PostgreSQL:

    shell> psql -U <username>
    psql> create database zabbix; 
    psql> \q 
    shell> cd /usr/share/zabbix/create/postgresql 
    shell> cat schema.sql|psql -U <username> zabbix 
    shell> cd ../data 
    shell> cat data.sql|psql -U <username> zabbix

  PHP Frontend

    The PHP Frontend is installed in /home/www/zabbix. Edit the file
    /home/www/zabbix/include/db.inc.php to set the file correct against your
    settings.

  Configuartion files

    All you have to do, is protect your zabbix conf directory

    shell> chmod 750 /etc/zabbix
    shell> chown zabbix /etc/zabbix

    Then, edit configuration files in /etc/zabbix
      - /etc/zabbix/zabbix_server.conf: Server configuration file
      - /etc/zabbix/zabbix_agentd.conf: Agent configuration file