diff options
author | zux <zux@pie-dabas.net> | 2018-11-07 08:48:39 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-11-10 07:46:56 +0700 |
commit | db7a488214ea03684298d2de706a498c43536f93 (patch) | |
tree | f8eb4bbde2dd5a7900e77ff10641bbea29c755a0 /network/zabbix_proxy/README.SLACKWARE | |
parent | 1a36cc9a1002c93038d561669079facb32041e90 (diff) |
network/zabbix_proxy: Updated for version 4.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/zabbix_proxy/README.SLACKWARE')
-rw-r--r-- | network/zabbix_proxy/README.SLACKWARE | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/network/zabbix_proxy/README.SLACKWARE b/network/zabbix_proxy/README.SLACKWARE index 2c4104ecaefb..d9ccd5e4ad01 100644 --- a/network/zabbix_proxy/README.SLACKWARE +++ b/network/zabbix_proxy/README.SLACKWARE @@ -4,13 +4,14 @@ README.Slackware This file contains some specific instructions to complete the installation of zabbix_proxy on Slackware. -You will need to have a working installation of MySQL (*) for zabbix_proxy -to run. MySQL server does not have to be on the same box as your +You will need to have a working installation of MariaDB (*) for zabbix_proxy +to run. MariaDB server does not have to be on the same box as your zabbix_proxy, but they need to be able to communicate and you will need at -least the MySQL client on the box that will run zabbix_proxy. +least the MariaDB client on the box that will run zabbix_proxy. -(*) zabbix can work with MySQL, Oracle, PostgreSQL and SQLite databases, - but these instructions are for MySQL, as it is included with Slackware. +(*) zabbix can work with MySQL and its forks, Oracle, PostgreSQL and IBM DB2 +databases, but these instructions are for MariaDB, as it is included with +Slackware. 0) Before running the SlackBuild script --------------------------------------- @@ -35,7 +36,7 @@ running: Never use the same DB, as the zabbix server uses. That will defenetly break it. -On your MySQL server, connect with full privileges: +On your MariaDB server, connect with full privileges: # mysql -u <your_user> -p<your_password> @@ -47,7 +48,7 @@ Create the zabbix database & user: mysql> flush privileges; mysql> quit -(note: if your MySQL server and zabbix proxy are the same, use "localhost" +(note: if your MariaDB server and zabbix proxy are the same, use "localhost" for <your_zabbix_proxy>) On your zabbix proxy, connect to the new database: @@ -55,7 +56,7 @@ On your zabbix proxy, connect to the new database: # cd /usr/share/zabbix_proxy/database/mysql # mysql -h <your_mysql_server> -u zabbix_proxy -p<your_password> zabbix_proxy -In MySQL, create the schema & add initial data: +In MariaDB, create the schema & add initial data: mysql> source schema.sql; mysql> quit @@ -69,7 +70,7 @@ You will need to change at least the following lines: Server=<ip_of_your_zabbix_proxy> Hostname=<hostname_of_your_zabbix_proxy> - DBHost=<your_mysql_server> (Change if MySQL is not on localhost) + DBHost=<your_mysql_server> (Change if MariaDB is not on localhost) DBName=zabbix_proxy DBUser=zabbix_proxy ("root" doesn't sound like a good idea) DBPassword=<your_password> (Change as defined above) |