network/zabbix_proxy: Updated for version 4.0.1.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
zux 2018-11-07 08:48:39 +00:00 committed by Willy Sudiarto Raharjo
parent 1a36cc9a10
commit db7a488214
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 15 additions and 16 deletions

View file

@ -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)

View file

@ -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

View file

@ -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"