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 | |
parent | 1a36cc9a1002c93038d561669079facb32041e90 (diff) | |
download | slackbuilds-db7a488214ea03684298d2de706a498c43536f93.tar.gz |
network/zabbix_proxy: Updated for version 4.0.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/zabbix_proxy')
-rw-r--r-- | network/zabbix_proxy/README.SLACKWARE | 19 | ||||
-rw-r--r-- | network/zabbix_proxy/zabbix_proxy.SlackBuild | 4 | ||||
-rw-r--r-- | network/zabbix_proxy/zabbix_proxy.info | 8 |
3 files changed, 15 insertions, 16 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) diff --git a/network/zabbix_proxy/zabbix_proxy.SlackBuild b/network/zabbix_proxy/zabbix_proxy.SlackBuild index c03f1218ff..8954b48c39 100644 --- a/network/zabbix_proxy/zabbix_proxy.SlackBuild +++ b/network/zabbix_proxy/zabbix_proxy.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=zabbix_proxy -VERSION=${VERSION:-3.4.14} +VERSION=${VERSION:-4.0.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -119,8 +119,6 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r mkdir -p $PKG/usr/share/$PRGNAM/database/mysql cp -a database/mysql/schema.sql \ $PKG/usr/share/$PRGNAM/database/mysql/ -cp -a upgrades/dbpatches \ - $PKG/usr/share/$PRGNAM/upgrades/ # Initial log file mkdir -p $PKG/var/log/$PRGSHORT diff --git a/network/zabbix_proxy/zabbix_proxy.info b/network/zabbix_proxy/zabbix_proxy.info index 28596da5c6..41fbce4e2e 100644 --- a/network/zabbix_proxy/zabbix_proxy.info +++ b/network/zabbix_proxy/zabbix_proxy.info @@ -1,10 +1,10 @@ PRGNAM="zabbix_proxy" -VERSION="3.4.14" +VERSION="4.0.1" HOMEPAGE="https://www.zabbix.com" -DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-3.4.14.tar.gz" -MD5SUM="16cdacf7198538c0456523d75bb149c7" +DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-4.0.1.tar.gz" +MD5SUM="360a3325389bba50e051080a7ae27eb7" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="iksemel" +REQUIRES="iksemel jdk" MAINTAINER="zux" EMAIL="zux@pie-dabas.net" |