diff options
author | zux <zux@pie-dabas.net> | 2024-03-15 20:30:58 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2024-03-15 21:18:48 +0700 |
commit | 230cacbbfc855b51f48840fd6b25216ff7fa2517 (patch) | |
tree | 6f5f08afa05193ac1839222966acccd508978073 /network/zabbix_agentd | |
parent | 3b8583b0d665b034b2413e6589f9a66d90b59bdf (diff) |
network/zabbix_agentd: Updated for version 6.4.11.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/zabbix_agentd')
-rw-r--r-- | network/zabbix_agentd/README | 10 | ||||
-rw-r--r-- | network/zabbix_agentd/README.SLACKWARE | 4 | ||||
-rw-r--r-- | network/zabbix_agentd/rc.zabbix_agentd | 2 | ||||
-rw-r--r-- | network/zabbix_agentd/zabbix_agentd.SlackBuild | 16 | ||||
-rw-r--r-- | network/zabbix_agentd/zabbix_agentd.info | 6 |
5 files changed, 19 insertions, 19 deletions
diff --git a/network/zabbix_agentd/README b/network/zabbix_agentd/README index a3d2d4b286efd..cc7fdd2f1c36c 100644 --- a/network/zabbix_agentd/README +++ b/network/zabbix_agentd/README @@ -15,15 +15,11 @@ You can pass alternate values for the user and group using ZABBIXAGENTUSER and ZABBIXAGENTGROUP variables when running the build script. -zabbix_agentd needs another user/group to cooperate with other Zabbix -deamons, like zabbix_server or zabbix_proxy. This has been assigned to -the following by SlackBuilds.org, but feel free to change it on your -system for consistency with local assignments. - User: zabbix UID: 228 GID: 228 +zabbix_agentd uses group zabbix to write log file + (if you also have zabbix_server installed, it uses the same directory + for log file) group: zabbix GID: 228 -You can pass alternate values for the user and group using -ZABBIXUSER and ZABBIXGROUP variables when running the build script. For some important post-build and basic configuration instructions, see the included README.SLACKWARE file. diff --git a/network/zabbix_agentd/README.SLACKWARE b/network/zabbix_agentd/README.SLACKWARE index a41c2ef1e2e6a..1016693f9e4d3 100644 --- a/network/zabbix_agentd/README.SLACKWARE +++ b/network/zabbix_agentd/README.SLACKWARE @@ -26,9 +26,11 @@ but you can change this as needed: A standard configuration file is installed as /etc/zabbix/zabbix_agentd.conf At least the following lines need to be configured: - + For passive items: Server=<ip_of_your_zabbix_server> + For active items: Hostname=<hostname_of_your_zabbix_agent> + ServerActive=<ip_of_your_zabbix_server> 2) Start & Stop scripts for zabbix agent daemon ----------------------------------------------- diff --git a/network/zabbix_agentd/rc.zabbix_agentd b/network/zabbix_agentd/rc.zabbix_agentd index bd300d999d50a..13876fc4df017 100644 --- a/network/zabbix_agentd/rc.zabbix_agentd +++ b/network/zabbix_agentd/rc.zabbix_agentd @@ -4,7 +4,7 @@ PRGNAM=zabbix_agentd PRGDIR=/usr/sbin/ -PIDDIR=/var/run/zabbix/ +PIDDIR=/var/run/zabbix_agentd/ LOGDIR=/var/log/zabbix/ DATE=$(date +%a\ %b\ %d\ %T\ %Y) RETVAL=0 diff --git a/network/zabbix_agentd/zabbix_agentd.SlackBuild b/network/zabbix_agentd/zabbix_agentd.SlackBuild index 9a424a2a727e4..c3597c05c74cc 100644 --- a/network/zabbix_agentd/zabbix_agentd.SlackBuild +++ b/network/zabbix_agentd/zabbix_agentd.SlackBuild @@ -25,7 +25,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=zabbix_agentd -VERSION=${VERSION:-6.4.10} +VERSION=${VERSION:-6.4.11} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -114,6 +114,8 @@ CXXFLAGS="$SLKCFLAGS" \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --libdir=/usr/lib${LIBDIRSUFFIX} \ --with-libpcre2 \ + --with-openssl \ + --enable-ipv6 \ --enable-agent \ --build=$ARCH-slackware-linux @@ -134,16 +136,16 @@ touch $PKG/var/log/$PRGSHORT/$PRGNAM.log.new chown $ZABBIXAGENTUSER:$ZABBIXUSER $PKG/var/log/$PRGSHORT/$PRGNAM.log.new # Dir for pid-file -mkdir -p $PKG/var/run/$PRGSHORT -chown -R $ZABBIXUSER:$ZABBIXGROUP $PKG/var/run/$PRGSHORT -chmod g+w $PKG/var/run/$PRGSHORT +mkdir -p $PKG/var/run/$PRGNAM +chown -R $ZABBIXAGENTUSER:$ZABBIXGROUP $PKG/var/run/$PRGNAM +chmod g+w $PKG/var/run/$PRGNAM # Configuration file -sed -e "s,# PidFile=/tmp/,PidFile=/var/run/$PRGSHORT/," \ - -e "s,LogFile=/tmp/,LogFile=/var/log/$PRGSHORT/," \ +sed -e "s,# PidFile=/tmp/zabbix_agentd.pid,PidFile=/var/run/$PRGNAM/$PRGNAM.pid," \ + -e "s,LogFile=/tmp/zabbix_agentd.log,LogFile=/var/log/$PRGSHORT/$PRGNAM.log," \ $PKG/etc/$PRGSHORT/$PRGNAM.conf > $PKG/etc/$PRGSHORT/$PRGNAM.conf.new rm -rf $PKG/etc/$PRGSHORT/zabbix_agent.conf.d $PKG/etc/$PRGSHORT/zabbix_agent.conf \ - $PKG/etc/$PRGSHORT/$PRGNAM.conf + $PKG/etc/$PRGSHORT/$PRGNAM.conf $PKG/etc/$PRGSHORT/$PRGNAM.conf.d/ # Init script mkdir -p $PKG/etc/rc.d diff --git a/network/zabbix_agentd/zabbix_agentd.info b/network/zabbix_agentd/zabbix_agentd.info index 13e8946f658e1..5e88ead7f2268 100644 --- a/network/zabbix_agentd/zabbix_agentd.info +++ b/network/zabbix_agentd/zabbix_agentd.info @@ -1,8 +1,8 @@ PRGNAM="zabbix_agentd" -VERSION="6.4.10" +VERSION="6.4.11" HOMEPAGE="https://www.zabbix.com" -DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.10.tar.gz" -MD5SUM="641cf6e5820dac44700963751042f900" +DOWNLOAD="https://cdn.zabbix.com/zabbix/sources/stable/6.4/zabbix-6.4.11.tar.gz" +MD5SUM="c1bac67a0d6b9d0d4376ca8176f327a9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |