diff options
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 2c4104ecae..d9ccd5e4ad 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) |