SHA256
1
0
forked from pool/zabbix

Accepting request 1160721 from server:monitoring:zabbix

OBS-URL: https://build.opensuse.org/request/show/1160721
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zabbix?expand=0&rev=25
This commit is contained in:
Ana Guerrero 2024-03-25 20:07:28 +00:00 committed by Git OBS Bridge
commit f5cfa26c96
9 changed files with 188 additions and 154 deletions

7
system-user-zabbix.conf Normal file
View File

@ -0,0 +1,7 @@
#Type Name ID GECOS Home directory Shell
g zabbix - "Zabbix agent"
g zabbixs - "Zabbix server"
u zabbix - "Zabbix agent" /var/lib/zabbix -
u zabbixs - "Zabbix agent" /var/lib/zabbixs -
m zabbix zabbix
m zabbixs zabbixs

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7b321c523790fed3127da6a4ab9477e4f75d08aa9ee081348b961d999c5843a0
size 44109483

3
zabbix-6.0.27.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9593a32a1a6783dfcf7522835b09f93f6ef4bc554f517f140c4ac6f00e43d57c
size 44522147

View File

@ -1,17 +0,0 @@
## Name: zabbix-agentd
## Description: Opens ports for zabbix-agentd
# space separated list of allowed TCP ports
TCP="10050"
# space separated list of allowed UDP ports
UDP=""
# space separated list of allowed RPC services
RPC=""
# space separated list of allowed IP protocols
IP=""
# space separated list of allowed UDP broadcast ports
BROADCAST=""

View File

@ -1,17 +0,0 @@
## Name: zabbix-java-gateway
## Description: Opens ports for zabbix-java-gateway
# space separated list of allowed TCP ports
TCP="10052"
# space separated list of allowed UDP ports
UDP=""
# space separated list of allowed RPC services
RPC=""
# space separated list of allowed IP protocols
IP=""
# space separated list of allowed UDP broadcast ports
BROADCAST=""

View File

@ -1,17 +0,0 @@
## Name: zabbix-proxy
## Description: Opens ports for zabbix-proxy
# space separated list of allowed TCP ports
TCP="10051"
# space separated list of allowed UDP ports
UDP=""
# space separated list of allowed RPC services
RPC=""
# space separated list of allowed IP protocols
IP=""
# space separated list of allowed UDP broadcast ports
BROADCAST=""

View File

@ -1,17 +0,0 @@
## Name: zabbix-server
## Description: Opens ports for zabbix-server
# space separated list of allowed TCP ports
TCP="10051"
# space separated list of allowed UDP ports
UDP=""
# space separated list of allowed RPC services
RPC=""
# space separated list of allowed IP protocols
IP=""
# space separated list of allowed UDP broadcast ports
BROADCAST=""

View File

@ -1,3 +1,95 @@
-------------------------------------------------------------------
Fri Mar 22 16:11:33 UTC 2024 - Boris Manojlovic <boris@steki.net>
- remove all firewalld definitions as they are part of firewald package already
-------------------------------------------------------------------
Fri Mar 22 07:49:43 UTC 2024 - Boris Manojlovic <boris@steki.net>
- update to latest release 6.0.27
- replaced zabbix-agentd.firewall zabbix-java-gateway.firewall zabbix-proxy.firewall zabbix-server.firewall
with firewalld xml definitions zabbix-agentd.xml zabbix-java-gateway.xml zabbix-proxy.xml zabbix-server.xml
- New Features and Improvements
+ ZBXNEXT-8983 Updated max supported MariaDB version to 11.2
+ ZBXNEXT-8984 Updated max supported MySQL version to 8.3
+ ZBXNEXT-8762 Added YugabyteDB by HTTP and YugabyteDB Cluster by HTTP templates
+ ZBXNEXT-8891 Updated max supported MySQL version to 8.2
+ ZBXNEXT-8524 Added support for HTTP proxy in GCP templates
+ ZBXNEXT-8759 Added dashboards in Azure templates
+ ZBXNEXT-8580 Added new discovery rules, refactored discovery rules to dependent items
and made few minor changes in MSSQL by ODBC template
+ ZBXNEXT-8730 Added Azure Cost Management by HTTP template
-Bug Fixes
+ ZBX-23124 Fixed items with disabled history being sometimes stuck in non-supported state
+ ZBX-23586 Fixed filter evaluation type of organizations discovery in Cisco Meraki dashboard by HTTP template
+ ZBX-23766 Updated Zabbix agent 2 Ceph plugin readme setup instructions
+ ZBX-24094 Fixed network interfaces LLD filtering macro in Linux by Prom template
+ ZBX-23202 Fixed unused tag value being saved in tag filter
+ ZBX-22555 Updated regexp to case insensitive in Nginx templates
+ ZBX-23973 Fixed trends being retrieved from database for new items and for items with infrequent update interval
+ ZBX-22745 Removed incorrect description of network interfaces administrative status filter macro in SNMP templates
+ ZBX-24015 Improved zabbix[queue] internal item not to block history syncers and pollers
+ ZBX-23509 Fixed JSONPath of Keyspace discovery master item in Redis by Zabbix agent 2 template
+ ZBX-24059 Fixed libmodbus unnecessary linking into all binaries
+ ZBX-24055 Added missing API port macros in URL of script items in HPE Synergy by HTTP and HPE Primera by HTTP templates
+ ZBX-20525 Fixed vfs.dir.size performance issues when walking through directory that has a lot of subdirs/files
+ ZBX-23773 Improved trigger functionality for Acronis Cyber Protect Cloud MSP by HTTP template
+ ZBX-23979 Improved trend recalculation performance by performing trend updates in own transaction
+ ZBX-23688 Improved new item value retrieval performance by adding such items to value cache after configuration sync
+ ZBX-22130 Changed JSONPath expression evaluator to treat null values as empty variants
+ ZBX-23986 Added a license to the Go module
+ ZBX-23587 Fixed widget input field selecting when clicking on label
+ ZBX-23640 Fixed preload hints opening
+ ZBX-22433 Fixed web scenario and web scenario step configuration field trimming and field sorting
+ ZBX-23684 Fixed transactions query file for PostgreSQL by Zabbix agent template
+ ZBX-22371 Fixed process tags option not adding tags for service events
+ ZBX-17208 Fixed invalid command-line flag handling in Zabbix agent 2
+ ZBX-23937 Fixed JavaScript for AWS EC2 instances discovery
+ ZBX-22715 Fixed map shape dimension changes on resizing in scaled browser mode
+ ZBX-23722 Added garbage collection after executing JavaScript code
+ ZBX-23740 Fixed netsnmp persistent state disabling without affecting its configuration
+ ZBX-23257 Fixed log items not using MaxLinesPerSecond setting correctly for Zabbix agent 2
+ ZBX-23890 Removed non-existing headers from compiler checks: mtent.h and knlist.h
+ ZBX-23912 Removed Jira with CustomFields media type in data.tmpl
+ ZBX-23761 Fixed JavaScript in Jira media type
+ ZBX-22558 Fixed trigger expression for retrieval of stub page in Nginx templates
+ ZBX-23691 Fixed LLD filters evaluation type for devices discovery in Cisco SD-WAN by HTTP template
+ ZBX-23540 Added error checks for RegisterMetrics calls
+ ZBX-23605 Removed getting location buckets in AWS by HTTP template
added discovery filters for request metrics in AWS S3 bucket by HTTP template
+ ZBX-23466 Fixed data aggregation errors in Graphs and Top hosts widgets with Elasticsearch backend
+ ZBX-23835 Updated Meraki templates
+ ZBX-23723 Fixed proxy params in JavaScript AWS templates
+ ZBX-23733 Fixed error when downloading graph as .png image if item name contains multibyte characters
+ ZBX-22983 Fixed ellipsed dropdown options in items mass update in preprocessing
+ ZBX-23715 Fixed persistent directory path not following symlinks upon creation
+ ZBX-23825 Fixed query_fields values for Acronis and Nomand templates
+ ZBX-22055 Fixed map image of map widget not being updated when pressing Apply button
+ ZBX-23629 Fixed interface icon cursor to pointer
+ ZBX-22536 Fixed TimescaleDB compression detection for history.clear API method and proper error appearance in frontend
+ ZBX-23145 Disabled deprecated automatic reconnection in MySQL
+ ZBX-22933 Improved vfs.file.regmatch and vfs.file.regexp items to use buffered file read
+ ZBX-23439 Fixed sorting of numeric items with/without aggregation enabled in Top hosts widget
+ ZBX-21973 Changed deprecated X-Frame option allow-from to Content-Security-Policy frame-ancestors
+ ZBX-23633 Fixed service alarms to be recovered with problem time in case of negative problem duration
+ ZBX-23738 Fixed Zabbix backend sources for libxml2 2.12.0 version changes
+ ZBX-23746 Fixed creation of tickets during escalation for Zammad media type
+ ZBX-23561 Fixed spacing between filter and results table
+ ZBX-18873 Fixed disabled chevrons color in problem view
+ ZBX-23636 Fixed some fields in Administration section not being trimmed on form submit
-------------------------------------------------------------------
Tue Feb 20 12:05:38 UTC 2024 - Dominique Leuenberger <dimstar@opensuse.org>
- Use %autosetup macro. Allows to eliminate the usage of deprecated
%patchN.
-------------------------------------------------------------------
Sun Feb 4 09:27:45 UTC 2024 - Dirk Müller <dmueller@suse.com>
- add group provides needed by RPM 4.19
------------------------------------------------------------------- -------------------------------------------------------------------
Sun Dec 24 09:21:51 UTC 2023 - Boris Manojlovic <boris@steki.net> Sun Dec 24 09:21:51 UTC 2023 - Boris Manojlovic <boris@steki.net>

View File

@ -1,7 +1,7 @@
# #
# spec file for package zabbix # spec file for package zabbix
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -18,17 +18,16 @@
%define server_user zabbixs %define server_user zabbixs
%define server_group zabbixs %define server_group zabbixs
# keep zabbix user for backwards compatibility of agent
%define agent_user zabbix %define agent_user zabbix
%define agent_group zabbix %define agent_group zabbix
%define SUSEfirewall_services_dir %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services
Name: zabbix Name: zabbix
Version: 6.0.25 Version: 6.0.27
Release: 0 Release: 0
Summary: Distributed monitoring system Summary: Distributed monitoring system
License: GPL-2.0-or-later License: GPL-2.0-or-later
Group: System/Monitoring Group: System/Monitoring
URL: http://www.zabbix.com URL: https://www.zabbix.com
Source0: https://cdn.zabbix.com/zabbix/sources/stable/6.0/zabbix-%{version}.tar.gz Source0: https://cdn.zabbix.com/zabbix/sources/stable/6.0/zabbix-%{version}.tar.gz
Source1: rn6.0.0.html Source1: rn6.0.0.html
Source2: zabbix-tmpfiles.conf Source2: zabbix-tmpfiles.conf
@ -36,15 +35,12 @@ Source3: zabbix-java-gateway.sh
Source4: zabbix-logrotate.in Source4: zabbix-logrotate.in
Source5: apache2-zabbix.conf Source5: apache2-zabbix.conf
Source6: README.SUSE Source6: README.SUSE
Source7: zabbix-server.firewall
Source8: zabbix-agentd.firewall
Source9: zabbix-proxy.firewall
Source10: zabbix-java-gateway.firewall
Source11: zabbix-proxy.service Source11: zabbix-proxy.service
Source12: zabbix-agentd.service Source12: zabbix-agentd.service
Source13: zabbix-server.service Source13: zabbix-server.service
Source14: zabbix-java-gateway.service Source14: zabbix-java-gateway.service
Source15: README-SSL.SUSE Source15: README-SSL.SUSE
Source16: system-user-zabbix.conf
# PATCH-FIX-OPENSUSE zabbix-6.0.12-netsnmp-fixes.patch fix for removed md5 auth protocol # PATCH-FIX-OPENSUSE zabbix-6.0.12-netsnmp-fixes.patch fix for removed md5 auth protocol
Patch3: zabbix-6.0.12-netsnmp-fixes.patch Patch3: zabbix-6.0.12-netsnmp-fixes.patch
BuildRequires: apache-rpm-macros BuildRequires: apache-rpm-macros
@ -52,6 +48,7 @@ BuildRequires: apache2-devel
BuildRequires: autoconf BuildRequires: autoconf
BuildRequires: automake BuildRequires: automake
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: firewall-macros
BuildRequires: gcc BuildRequires: gcc
BuildRequires: java-devel >= 1.6 BuildRequires: java-devel >= 1.6
BuildRequires: libmysqlclient-devel BuildRequires: libmysqlclient-devel
@ -60,10 +57,8 @@ BuildRequires: logrotate
BuildRequires: net-snmp-devel BuildRequires: net-snmp-devel
BuildRequires: openldap2-devel BuildRequires: openldap2-devel
BuildRequires: pkgconfig BuildRequires: pkgconfig
%if 0%{?suse_version} >= 1600 || 0%{?sle_version} > 150100
BuildRequires: postgresql-server-devel
%endif
BuildRequires: systemd-rpm-macros BuildRequires: systemd-rpm-macros
BuildRequires: sysuser-tools
BuildRequires: unixODBC-devel BuildRequires: unixODBC-devel
BuildRequires: update-alternatives BuildRequires: update-alternatives
BuildRequires: pkgconfig(OpenIPMI) BuildRequires: pkgconfig(OpenIPMI)
@ -76,7 +71,12 @@ BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(sqlite3) BuildRequires: pkgconfig(sqlite3)
BuildRequires: pkgconfig(zlib) BuildRequires: pkgconfig(zlib)
%sysusers_requires
%{?systemd_requires} %{?systemd_requires}
%if 0%{?suse_version} >= 1600 || 0%{?sle_version} > 150100
BuildRequires: postgresql-server-devel
%endif
%description %description
Zabbix is a distributed monitoring system. Zabbix is a distributed monitoring system.
@ -102,6 +102,9 @@ Group: System/Monitoring
Requires: logrotate Requires: logrotate
Requires(pre): %fillup_prereq Requires(pre): %fillup_prereq
Requires(pre): shadow Requires(pre): shadow
Requires: update-alternatives
Requires: group(%{agent_group})
Requires: user(%{agent_user})
Conflicts: zabbix-agent Conflicts: zabbix-agent
%description agent %description agent
@ -116,6 +119,8 @@ Requires: update-alternatives
Requires: zabbix_server_binary = %{version}-%{release} Requires: zabbix_server_binary = %{version}-%{release}
Requires(pre): %fillup_prereq Requires(pre): %fillup_prereq
Requires(pre): shadow Requires(pre): shadow
Requires: group(%{server_group})
Requires: user(%{server_user})
Conflicts: zabbix-server Conflicts: zabbix-server
%description server %description server
@ -130,6 +135,8 @@ Requires: update-alternatives
Requires: zabbix_proxy_binary = %{version}-%{release} Requires: zabbix_proxy_binary = %{version}-%{release}
Requires(pre): %fillup_prereq Requires(pre): %fillup_prereq
Requires(pre): shadow Requires(pre): shadow
Requires: group(%{server_group})
Requires: user(%{server_user})
Conflicts: zabbix-proxy Conflicts: zabbix-proxy
%description proxy %description proxy
@ -152,7 +159,9 @@ Requires: php8-xmlwriter
Suggests: php8-mysqli Suggests: php8-mysqli
Suggests: php8-pgsql Suggests: php8-pgsql
Conflicts: zabbix-phpfrontend Conflicts: zabbix-phpfrontend
Provides: zabbix-phpfrontend
Obsoletes: zabbix-phpfrontend < 6.0.0 Obsoletes: zabbix-phpfrontend < 6.0.0
BuildArch: noarch
%description ui %description ui
The Zabbix PHP frontend allows access via standard web browsers. The Zabbix PHP frontend allows access via standard web browsers.
@ -235,6 +244,9 @@ Requires: jre
Requires(pre): shadow Requires(pre): shadow
Conflicts: zabbix-java-gateway Conflicts: zabbix-java-gateway
Provides: %{name} = %{version}-%{release} Provides: %{name} = %{version}-%{release}
Requires: group(%{server_group})
Requires: user(%{server_user})
BuildArch: noarch
%description java-gateway %description java-gateway
JMX monitoring can be used to monitor JMX counters of a Java JMX monitoring can be used to monitor JMX counters of a Java
@ -243,9 +255,21 @@ host, the Zabbix server queries the Zabbix Java gateway, which in
turn uses the JMX management API to query the application of interest turn uses the JMX management API to query the application of interest
remotely. remotely.
%package -n system-user-zabbix
Summary: Users and groups
Group: System
Requires(pre): pwdutils
Provides: group(%{agent_group})
Provides: group(%{server_group})
Provides: user(%{agent_user})
Provides: user(%{server_user})%define server_user zabbixs
BuildArch: noarch
%description -n system-user-zabbix
Zabbix users and groups required by zabbix packages
%prep %prep
%setup -q -n zabbix-%{version} %autosetup -p0 -n zabbix-%{version}
%patch3
cp %{SOURCE6} . cp %{SOURCE6} .
# fix source & config files to respect adapted names # fix source & config files to respect adapted names
@ -295,6 +319,7 @@ cp -r zabbix-%{version} zabbix-%{version}-sqlite
cd - cd -
%build %build
%sysusers_generate_pre %{SOURCE1} zabbix system-user-zabbix.conf
ZABBIX_BASIC_CONFIG="--enable-proxy --enable-server --enable-agent --sysconfdir=%{_sysconfdir}/zabbix \ ZABBIX_BASIC_CONFIG="--enable-proxy --enable-server --enable-agent --sysconfdir=%{_sysconfdir}/zabbix \
--with-openipmi --enable-java --enable-ipv6 --with-ssh2 --with-ldap --with-unixodbc \ --with-openipmi --enable-java --enable-ipv6 --with-ssh2 --with-ldap --with-unixodbc \
--with-libcurl --with-net-snmp --with-libxml2 --with-openssl --with-libpcre --with-libevent" --with-libcurl --with-net-snmp --with-libxml2 --with-openssl --with-libpcre --with-libevent"
@ -302,23 +327,24 @@ ZABBIX_BASIC_CONFIG="--enable-proxy --enable-server --enable-agent --sysconfdir
# configure MySQL repo (here) # configure MySQL repo (here)
autoreconf -fvi autoreconf -fvi
%configure $ZABBIX_BASIC_CONFIG --with-mysql --without-postgresql --without-sqlite3 %configure $ZABBIX_BASIC_CONFIG --with-mysql --without-postgresql --without-sqlite3
make %{?_smp_mflags} %make_build
# configure PostgreSQL repo # configure PostgreSQL repo
cd ../zabbix-%{version}-postgresql cd ../zabbix-%{version}-postgresql
autoreconf -fvi autoreconf -fvi
%configure $ZABBIX_BASIC_CONFIG --with-postgresql --without-mysql --without-sqlite3 %configure $ZABBIX_BASIC_CONFIG --with-postgresql --without-mysql --without-sqlite3
make %{?_smp_mflags} %make_build
cd - cd -
# configure SQLite repo # configure SQLite repo
cd ../zabbix-%{version}-sqlite cd ../zabbix-%{version}-sqlite
autoreconf -fvi autoreconf -fvi
%configure $ZABBIX_BASIC_CONFIG --disable-server --enable-proxy --with-sqlite3 --without-postgresql --without-mysql %configure $ZABBIX_BASIC_CONFIG --disable-server --enable-proxy --with-sqlite3 --without-postgresql --without-mysql
make %{?_smp_mflags} %make_build
cd - cd -
%install %install
install -D -m 0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/system-user-zabbix.conf
# install the binaries # install the binaries
%make_install -C ../zabbix-%{version}-sqlite %make_install -C ../zabbix-%{version}-sqlite
@ -366,14 +392,6 @@ sed -e 's|COMPONENT|proxy|g; s|USER|zabbixs|g' %{SOURCE4} > \
%fdupes %{buildroot} %fdupes %{buildroot}
# install firewall description files for SLE 12 / Leap 42
%if 0%{?suse_version} < 1500
install -Dm 0644 %{SOURCE7} %{buildroot}%{SUSEfirewall_services_dir}/zabbix_server
install -Dm 0644 %{SOURCE8} %{buildroot}%{SUSEfirewall_services_dir}/zabbix_agentd
install -Dm 0644 %{SOURCE9} %{buildroot}%{SUSEfirewall_services_dir}/zabbix_proxy
install -Dm 0644 %{SOURCE10} %{buildroot}%{SUSEfirewall_services_dir}/zabbix-java-gateway
%endif
# install systemd unit files # install systemd unit files
install -Dm 0644 %{SOURCE11} %{buildroot}%{_unitdir}/zabbix_proxy.service install -Dm 0644 %{SOURCE11} %{buildroot}%{_unitdir}/zabbix_proxy.service
install -Dm 0644 %{SOURCE12} %{buildroot}%{_unitdir}/zabbix_agentd.service install -Dm 0644 %{SOURCE12} %{buildroot}%{_unitdir}/zabbix_agentd.service
@ -423,47 +441,41 @@ cp %{SOURCE15} .
%pre server %pre server
# Server daemon # Server daemon
%{_bindir}/getent group %{server_group} >/dev/null || %{_sbindir}/groupadd -r %{server_group}
%{_bindir}/getent passwd %{server_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{server_user} -s /bin/false -c "Zabbix Server Daemon" -g %{server_group} %{server_user}
%service_add_pre zabbix_server.service %service_add_pre zabbix_server.service
exit 0
%pre proxy %pre proxy
# Proxy daemon # Proxy daemon
%{_bindir}/getent group %{server_group} >/dev/null || %{_sbindir}/groupadd -r %{server_group}
%{_bindir}/getent passwd %{server_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{server_user} -s /bin/false -c "Zabbix Proxy Daemon" -g %{server_group} %{server_user}
%service_add_pre zabbix_proxy.service %service_add_pre zabbix_proxy.service
exit 0
%pre agent %pre agent
# Agent daemon # Agent daemon
%{_bindir}/getent group %{agent_group} >/dev/null || %{_sbindir}/groupadd -r %{agent_group}
%{_bindir}/getent passwd %{agent_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{agent_user} -s /bin/false -c "Zabbix Agent Daemon" -g %{agent_group} %{agent_user}
%service_add_pre zabbix_agentd.service %service_add_pre zabbix_agentd.service
exit 0
%pre java-gateway %pre java-gateway
# Java daemon # Java daemon
%{_bindir}/getent group %{server_group} >/dev/null || %{_sbindir}/groupadd -r %{server_group}
%{_bindir}/getent passwd %{server_user} >/dev/null || %{_sbindir}/useradd -r -d %{_localstatedir}/lib/%{server_user} -s /bin/false -c "Zabbix Java Daemon" -g %{server_group} %{server_user}
%service_add_pre zabbix-java-gateway.service %service_add_pre zabbix-java-gateway.service
exit 0
%pre -n system-user-zabbix -f zabbix.pre
%post server %post server
%firewalld_reload
%service_add_post zabbix_server.service %service_add_post zabbix_server.service
%tmpfiles_create %{_tmpfilesdir}/zabbix_server.conf %tmpfiles_create %{_tmpfilesdir}/zabbix_server.conf
echo "Please read %{_docdir}/%{name}-server/README-SSL.SUSE to set up SSL on Zabbix server." echo "Please read %{_docdir}/%{name}-server/README-SSL.SUSE to set up SSL on Zabbix server."
%post proxy %post proxy
%firewalld_reload
%service_add_post zabbix_proxy.service %service_add_post zabbix_proxy.service
%tmpfiles_create %{_tmpfilesdir}/zabbix_proxy.conf %tmpfiles_create %{_tmpfilesdir}/zabbix_proxy.conf
echo "Please read %{_docdir}/%{name}-proxy/README-SSL.SUSE to set up SSL on Zabbix proxy." echo "Please read %{_docdir}/%{name}-proxy/README-SSL.SUSE to set up SSL on Zabbix proxy."
%post java-gateway %post java-gateway
%firewalld_reload
%service_add_post zabbix-java-gateway.service %service_add_post zabbix-java-gateway.service
%tmpfiles_create %{_tmpfilesdir}/zabbix-java-gateway.conf %tmpfiles_create %{_tmpfilesdir}/zabbix-java-gateway.conf
%post agent %post agent
%firewalld_reload
%service_add_post zabbix_agentd.service %service_add_post zabbix_agentd.service
%tmpfiles_create %{_tmpfilesdir}/zabbix_agentd.conf %tmpfiles_create %{_tmpfilesdir}/zabbix_agentd.conf
echo "Please read %{_docdir}/%{name}-agent/README-SSL.SUSE to set up SSL on Zabbix agent." echo "Please read %{_docdir}/%{name}-agent/README-SSL.SUSE to set up SSL on Zabbix agent."
@ -534,9 +546,6 @@ fi
%files server %files server
%doc AUTHORS ChangeLog database/mysql database/oracle database/postgresql database/sqlite3 rn6.0.0.html README-SSL.SUSE %doc AUTHORS ChangeLog database/mysql database/oracle database/postgresql database/sqlite3 rn6.0.0.html README-SSL.SUSE
%if 0%{?suse_version} < 1500
%config %{SUSEfirewall_services_dir}/zabbix_server
%endif
%dir %{_sysconfdir}/zabbix %dir %{_sysconfdir}/zabbix
%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix_server.conf %config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix_server.conf
%{_bindir}/zabbix_get %{_bindir}/zabbix_get
@ -558,9 +567,6 @@ fi
%files proxy %files proxy
%doc README-SSL.SUSE %doc README-SSL.SUSE
%if 0%{?suse_version} < 1500
%config %{SUSEfirewall_services_dir}/zabbix_proxy
%endif
%{_sbindir}/zabbix_proxy %{_sbindir}/zabbix_proxy
%{_sbindir}/zabbix-proxy %{_sbindir}/zabbix-proxy
%{_sbindir}/rczabbix_proxy %{_sbindir}/rczabbix_proxy
@ -578,9 +584,6 @@ fi
%files agent %files agent
%doc README-SSL.SUSE %doc README-SSL.SUSE
%if 0%{?suse_version} < 1500
%config %{SUSEfirewall_services_dir}/zabbix_agentd
%endif
%dir %{_sysconfdir}/zabbix %dir %{_sysconfdir}/zabbix
%config(noreplace) %attr(0640, root, %{agent_group}) %{_sysconfdir}/zabbix/zabbix_agent*.conf %config(noreplace) %attr(0640, root, %{agent_group}) %{_sysconfdir}/zabbix/zabbix_agent*.conf
%{_sbindir}/rczabbix_agentd %{_sbindir}/rczabbix_agentd
@ -629,9 +632,6 @@ fi
%ghost %{_sysconfdir}/alternatives/zabbix_proxy %ghost %{_sysconfdir}/alternatives/zabbix_proxy
%files java-gateway %files java-gateway
%if 0%{?suse_version} < 1500
%config %{SUSEfirewall_services_dir}/zabbix-java-gateway
%endif
%dir %{_sysconfdir}/zabbix %dir %{_sysconfdir}/zabbix
%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway.conf %config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway.conf
%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway-log.xml %config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix-java-gateway-log.xml
@ -648,4 +648,7 @@ fi
%{_unitdir}/zabbix-java-gateway.service %{_unitdir}/zabbix-java-gateway.service
%{_tmpfilesdir}/zabbix-java-gateway.conf %{_tmpfilesdir}/zabbix-java-gateway.conf
%files -n system-user-zabbix
%{_sysusersdir}/system-user-zabbix.conf
%changelog %changelog