mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
network/zabbix_server: Updated for version 1.8.3.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
parent
0ead47cb3c
commit
a1b3959061
3 changed files with 13 additions and 12 deletions
|
@ -29,8 +29,9 @@ The suggested UID and GID is 228, but you can change this as needed:
|
||||||
1) Configuring zabbix_server
|
1) Configuring zabbix_server
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
A very complete (320 pages) PDF manual is included and installed in
|
Very complete documentation in available online at:
|
||||||
the /usr/doc/zabbix_server-<version>/ directory.
|
http://www.zabbix.com/documentation/
|
||||||
|
|
||||||
For those in a hurry, here are some basic steps to get zabbix up &
|
For those in a hurry, here are some basic steps to get zabbix up &
|
||||||
running:
|
running:
|
||||||
|
|
||||||
|
@ -42,7 +43,7 @@ On your MySQL server, connect with full privileges:
|
||||||
|
|
||||||
Create the zabbix database & user:
|
Create the zabbix database & user:
|
||||||
|
|
||||||
mysql> create database zabbix;
|
mysql> create database zabbix character set utf8;
|
||||||
mysql> use mysql;
|
mysql> use mysql;
|
||||||
mysql> grant all on zabbix.* to zabbix@<your_zabbix_server> identified by '<your_password>';
|
mysql> grant all on zabbix.* to zabbix@<your_zabbix_server> identified by '<your_password>';
|
||||||
mysql> flush privileges;
|
mysql> flush privileges;
|
||||||
|
@ -117,7 +118,7 @@ any other Slackware rc script:
|
||||||
|
|
||||||
# chmod +x /etc/rc.d/rc.zabbix_server
|
# chmod +x /etc/rc.d/rc.zabbix_server
|
||||||
|
|
||||||
4) Starting zabbix server
|
3) Starting zabbix server
|
||||||
-------------------------
|
-------------------------
|
||||||
|
|
||||||
Now you are ready to start zabbix_server by calling the startup script:
|
Now you are ready to start zabbix_server by calling the startup script:
|
||||||
|
|
|
@ -2,11 +2,11 @@
|
||||||
|
|
||||||
# Slackware build script for zabbix_server
|
# Slackware build script for zabbix_server
|
||||||
# maintained by Niels Horn <niels.horn@gmail.com>
|
# maintained by Niels Horn <niels.horn@gmail.com>
|
||||||
# revision date 2010-03-30
|
# revision date 2010/08/23
|
||||||
|
|
||||||
PRGNAM=zabbix_server
|
PRGNAM=zabbix_server
|
||||||
VERSION=${VERSION:-1.8.2}
|
VERSION=${VERSION:-1.8.3}
|
||||||
BUILD=${BUILD:-2}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
if [ -z "$ARCH" ]; then
|
if [ -z "$ARCH" ]; then
|
||||||
|
@ -131,7 +131,7 @@ mkdir -p $PKG/var/run/$PRGSHORT
|
||||||
chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/run/$PRGSHORT
|
chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/run/$PRGSHORT
|
||||||
|
|
||||||
# Configuration file
|
# Configuration file
|
||||||
mkdir -p $PKG/etc/$PRGSHORT
|
mkdir -p $PKG/etc/$PRGSHORT/externalscripts
|
||||||
sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \
|
sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \
|
||||||
-e "s,# DBSocket=/tmp/,DBSocket=/var/run/mysql/," \
|
-e "s,# DBSocket=/tmp/,DBSocket=/var/run/mysql/," \
|
||||||
-e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \
|
-e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \
|
||||||
|
@ -141,7 +141,7 @@ mkdir -p $PKG/etc/rc.d
|
||||||
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
|
cat $CWD/rc.$PRGNAM > $PKG/etc/rc.d/rc.$PRGNAM.new
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS COPYING ChangeLog FAQ INSTALL NEWS docs/* \
|
cp -a AUTHORS COPYING ChangeLog CREDITS INSTALL NEWS README \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
|
cat $CWD/README.SLACKWARE > $PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
PRGNAM="zabbix_server"
|
PRGNAM="zabbix_server"
|
||||||
VERSION="1.8.2"
|
VERSION="1.8.3"
|
||||||
HOMEPAGE="http://www.zabbix.com"
|
HOMEPAGE="http://www.zabbix.com"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-1.8.2.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/zabbix/zabbix-1.8.3.tar.gz"
|
||||||
MD5SUM="fa4be4fa7ac20a33cc0aa5c27b827746"
|
MD5SUM="575c31880d73f6fe41e730874ebfc633"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Niels Horn"
|
MAINTAINER="Niels Horn"
|
||||||
|
|
Loading…
Reference in a new issue