summaryrefslogtreecommitdiff
path: root/network/zabbix_server/README.SLACKWARE
diff options
context:
space:
mode:
authorzux <zux@pie-dabas.net>2018-10-01 22:40:37 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-06 07:25:16 +0700
commit204ff098eaadb912364d8a1aacbff59c2c0293e2 (patch)
tree7cf8c2c060ff1c1b2dc5a2f43983fa425cb843aa /network/zabbix_server/README.SLACKWARE
parent09339ffac42fc427d5312b84ae4a28dfcbbd2b87 (diff)
downloadslackbuilds-204ff098eaadb912364d8a1aacbff59c2c0293e2.tar.gz
network/zabbix_server: Updated for version 3.4.14 + new maintainer.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'network/zabbix_server/README.SLACKWARE')
-rw-r--r--network/zabbix_server/README.SLACKWARE54
1 files changed, 34 insertions, 20 deletions
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.