summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--network/zabbix_server/README2
-rw-r--r--network/zabbix_server/README.SLACKWARE54
-rw-r--r--network/zabbix_server/zabbix_server.SlackBuild11
-rw-r--r--network/zabbix_server/zabbix_server.info12
4 files changed, 46 insertions, 33 deletions
diff --git a/network/zabbix_server/README b/network/zabbix_server/README
index 2b4dc15f62..e5c11daa57 100644
--- a/network/zabbix_server/README
+++ b/network/zabbix_server/README
@@ -12,5 +12,3 @@ ZABBIXUSER and ZABBIXGROUP variables when running the build script.
For some important post-build and basic configuration instructions,
see the included README.SLACKWARE file.
-
-This conflicts with zabbix_proxy package.
diff --git a/network/zabbix_server/README.SLACKWARE b/network/zabbix_server/README.SLACKWARE
index d1204bc6b7..6bb198e14b 100644
--- a/network/zabbix_server/README.SLACKWARE
+++ b/network/zabbix_server/README.SLACKWARE
@@ -4,9 +4,11 @@ README.Slackware
This file contains some specific instructions to complete the
installation of zabbix_server on Slackware.
+zabbix-java has been moved to a separate package - zabbix-java-gateway
+
You will need to have a working installation of httpd and MySQL (*) for
zabbix_server to run. MySQL server does not have to be on the same box as your
-zabbix_server, but they need to be able to communicate and you will need at
+zabbix_server, but they need to be able to communicate and you will need at
least the MySQL client on the box that will run zabbix_server.
(*) zabbix can work with MySQL, Oracle, PostgreSQL and SQLite databases,
@@ -28,7 +30,7 @@ The suggested UID and GID is 228, but you can change this as needed:
1) Configuring zabbix_server
----------------------------
-Very complete documentation in available online at:
+Very complete documentation is available online at:
https://www.zabbix.com/documentation/
For those in a hurry, here are some basic steps to get zabbix up &
@@ -42,9 +44,9 @@ On your MySQL server, connect with full privileges:
Create the zabbix database & user:
- mysql> create database zabbix character set utf8;
+ mysql> create database zabbix character set utf8 collate utf8_bin;
mysql> use mysql;
- mysql> grant all on zabbix.* to zabbix@<your_zabbix_server> identified by '<your_password>';
+ mysql> grant all privileges on zabbix.* to zabbix@<your_zabbix_server> identified by '<your_password>';
mysql> flush privileges;
mysql> quit
@@ -53,39 +55,51 @@ Create the zabbix database & user:
On your zabbix server, connect to the new database:
- # cd /usr/share/zabbix_server/create
+ # cd /usr/share/zabbix_server/database/mysql
# mysql -h <your_mysql_server> -u zabbix -p<your_password> zabbix
In MySQL, create the schema & add initial data:
- mysql> source schema/mysql.sql;
- mysql> source data/data.sql;
- mysql> source data/images_mysql.sql;
+ mysql> source schema.sql;
+ mysql> source data.sql;
+ mysql> source images.sql;
mysql> quit
1.2) Configure PHP
-zabbix requires some parameters in /etc/httpd/php.ini to be altered:
+zabbix requires some parameters in /etc/php.ini to be altered:
- - post_max_size = 16M Default = 8M
- - max_execution_time = 300 Default = 30
- - max_input_time = 300 Default = 60
- - date.timezone Needs to be set (default = blank)
+ - post_max_size = 16M Default = 8M
+ - max_execution_time = 300 Default = 30
+ - max_input_time = 300 Default = 60
+ - date.timezone Needs to be set (default = blank)
+ - always_populate_raw_post_data = -1
After changing the php.ini file, you'll need to restart httpd for the
changes to have effect:
# /etc/rc.d/rc.httpd restart
-1.3) zabbix_server configuration file
+1.3) Configure httpd
+
+zabbix requires php enabled in /etc/httpd/httpd/conf
+
+uncomment the line:
+ Include /etc/httpd/mod_php.conf
+
+add index.php to the DirectoryIndex parameter
+ Directory index.html index.php
+
+
+1.4) zabbix_server configuration file
A standard configuration file is installed as /etc/zabbix/zabbix_server.conf
You will need to change at least the following lines:
- DBHost=<your_mysql_server> (Change if MySQL is not on localhost)
- DBUser=zabbix ("root" doesn't sound like a good idea)
- DBPassword=<your_password> (Change as defined above)
+ DBHost=<your_mysql_server> (Change if MySQL is not on localhost)
+ DBUser=zabbix ("root" doesn't sound like a good idea)
+ DBPassword=<your_password> (Change as defined above)
2) Start & Stop scripts for zabbix server
-----------------------------------------
@@ -101,7 +115,7 @@ your /etc/rc.d/rc.local:
/etc/rc.d/rc.zabbix_server start
fi
-To guarantee a clean shutdown of zabbix_server, include this in
+To guarantee a clean shutdown of zabbix_server, include this in
/etc/rc.d/rc.local_shutdown:
# Stop zabbix_server
@@ -112,7 +126,7 @@ To guarantee a clean shutdown of zabbix_server, include this in
2.2) Make /etc/rc.d/rc.zabbix_server executable
-Additionally, you'll have to set the rc script to be executable just like
+Additionally, you'll have to set the rc script to be executable just like
any other Slackware rc script:
# chmod +x /etc/rc.d/rc.zabbix_server
@@ -129,5 +143,5 @@ to access it by pointing your browser at:
http://(ip-of-your-zabbix-server)/zabbix/
-From here on, you can follow the manual to start the initial configuration
+From here on, you can follow the manual to start the initial configuration
and set up all the items to monitor.
diff --git a/network/zabbix_server/zabbix_server.SlackBuild b/network/zabbix_server/zabbix_server.SlackBuild
index 4e047afe0a..9f519d297c 100644
--- a/network/zabbix_server/zabbix_server.SlackBuild
+++ b/network/zabbix_server/zabbix_server.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=zabbix_server
-VERSION=${VERSION:-2.4.3}
+VERSION=${VERSION:-3.4.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -63,8 +63,8 @@ if [ "$(grep ^$ZABBIXUSER: /etc/passwd)" = "" -o "$(grep ^$ZABBIXGROUP: /etc/gro
exit 1
fi
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -102,13 +102,14 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--enable-server \
- --enable-java \
--with-mysql \
--with-jabber \
--with-libcurl \
--with-net-snmp \
--with-ssh2 \
--with-ldap \
+ --with-ipv6 \
+ --with-libxml2 \
--build=$ARCH-slackware-linux
make
diff --git a/network/zabbix_server/zabbix_server.info b/network/zabbix_server/zabbix_server.info
index 7cb2d5fe3f..625aaf09e7 100644
--- a/network/zabbix_server/zabbix_server.info
+++ b/network/zabbix_server/zabbix_server.info
@@ -1,10 +1,10 @@
PRGNAM="zabbix_server"
-VERSION="2.4.3"
+VERSION="3.4.14"
HOMEPAGE="https://www.zabbix.com"
-DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-2.4.3.tar.gz"
-MD5SUM="e8a0699c4e49999a15c63650a2280600"
+DOWNLOAD="https://downloads.sourceforge.net/zabbix/zabbix-3.4.14.tar.gz"
+MD5SUM="16cdacf7198538c0456523d75bb149c7"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="iksemel jdk"
-MAINTAINER="Michal Bialozor"
-EMAIL="bialyy@o2.pl"
+REQUIRES="iksemel"
+MAINTAINER="zux"
+EMAIL="zux@pie-dabas.net"