2 # - initscript for zabbix-server, zabbix-proxy and zabbix-java
4 # /lib/systemd/system/zabbix_java.service
6 # /var/lib/zabbix/zabbix.db
9 %bcond_without pgsql # enable PostgreSQL support
10 %bcond_without sqlite3 # enable sqlite3 support
11 %bcond_without mysql # enable MySQL support
12 %bcond_without java # disable java support
13 %bcond_without agent2 # disable bulding of Go based agent2
15 %define databases %{?with_sqlite3:sqlite3} %{?with_pgsql:postgresql} %{?with_mysql:mysql}
16 %define any_database %{with pgsql}%{with mysql}%{with sqlite3}
18 %define php_min_version 7.2.5
19 Summary: Zabbix - network monitoring software
20 Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
25 Group: Networking/Utilities
26 Source0: https://cdn.zabbix.com/zabbix/sources/stable/5.2/%{name}-%{version}.tar.gz
27 # Source0-md5: 20445897eb25c65a1ed1b62db7c5f04b
28 Source1: %{name}-apache.conf
29 Source2: %{name}_server.service
30 Source3: %{name}_agentd.service
31 Source4: %{name}_proxy.service
32 Source5: %{name}_java.service
33 Source6: %{name}.tmpfiles
34 Source7: %{name}_agentd.init
36 Patch1: sqlite3_dbname.patch
37 Patch2: always_compile_ipc.patch
38 Patch3: go-destdir.patch
39 URL: http://zabbix.sourceforge.net/
40 BuildRequires: OpenIPMI-devel
41 BuildRequires: autoconf
42 BuildRequires: automake >= 1:1.15
43 BuildRequires: curl-devel
44 BuildRequires: iksemel-devel
45 %{?with_java:BuildRequires: jdk}
46 %{?with_java:BuildRequires: rpm-pld-macros-javaprov}
47 %{?with_agent2:BuildRequires: golang >= 1.13}
48 BuildRequires: libevent-devel
49 BuildRequires: libssh2-devel
50 BuildRequires: libtool
51 BuildRequires: libxml2-devel
52 %{?with_mysql:BuildRequires: mysql-devel}
53 BuildRequires: net-snmp-devel
54 BuildRequires: openldap-devel >= 2.4.6
55 BuildRequires: openssl-devel >= 0.9.7d
56 BuildRequires: pcre-devel
57 %{?with_pgsql:BuildRequires: postgresql-devel}
58 BuildRequires: rpmbuild(macros) >= 1.671
59 %{?with_sqlite3:BuildRequires: sqlite3-devel}
60 BuildRequires: unixODBC-devel
61 BuildRequires: zlib-devel
62 Requires: %{name}-agentd = %{version}-%{release}
63 Requires: %{name}-frontend-php = %{version}-%{release}
64 Requires: %{name}-server = %{version}-%{release}
65 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
67 %define _sysconfdir /etc/%{name}
68 %define _appdir %{_datadir}/%{name}
69 %define _webapps /etc/webapps
70 %define _webapp %{name}
73 Zabbix is software that monitors numerous parameters of a network and
74 the servers on that network. It is a useful tool for monitoring the
75 health and integrity of servers. Zabbix uses a flexible notification
76 mechanism that allows users to configure email based alerts for
77 virtually any event. All monitored parameters are stored in a
78 database. Zabbix offers excellent reporting and data visualisation
79 features based on the stored data. Zabbix supports both polling and
80 trapping. All Zabbix reports and statistics, as well as configuration
81 parameters, are accessed through a web-based front end.
83 %description -l pl.UTF-8
84 Zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
85 serwerów sieciowych. Jest przydatny przy monitorowaniu działania
86 serwerów. Jorzysta z elastycznego mechanizmu powiadamiania, który
87 pozwala użytkownikom konfigurować powiadamianie pocztą elektroniczną
88 dla praktycznie wszelkich zdarzeń. Monitorowane parametry są
89 przechowywane w bazie danych. W oparciu o przechowywane dane Zabbix
90 oferuje świetne raportowanie i funkcje wizualizacji. Wspiera zarówno
91 odpytywanie jak i pułapkowanie. Dostęp do wszystkich raportów i
92 statystyk Zabbiksa jest możliwy poprzez interfejs oparty o WWW.
95 Summary: Common files for Zabbix monitoring software
96 Summary(pl.UTF-8): Wspólne pliki dla oprogramowania monitorującego Zabbix
97 Group: Networking/Utilities
98 Requires(postun): /usr/sbin/groupdel
99 Requires(postun): /usr/sbin/userdel
100 Requires(pre): /bin/id
101 Requires(pre): /usr/bin/getgid
102 Requires(pre): /usr/sbin/groupadd
103 Requires(pre): /usr/sbin/useradd
104 Provides: group(zabbix)
105 Provides: user(zabbix)
108 Common files for Zabbix monitoring software.
110 %description common -l pl.UTF-8
111 Wspólne pliki dla oprogramowania monitorującego Zabbix.
114 Summary: Zabbix Agent
115 Summary(pl.UTF-8): Agenta Zabbiksa
116 Group: Networking/Utilities
117 Requires: %{name}-common = %{version}-%{release}
118 Requires: systemd-units >= 38
119 Obsoletes: zabbix-agent-inetd
120 Obsoletes: zabbix-agent-standalone
121 Requires(post,preun): /sbin/chkconfig
125 Zabbix agent collects data from the local system for a Zabbix server.
127 %description agentd -l pl.UTF-8
128 Agent zbiera dane z lokalnej maszyny dla serwera Zabbix.
131 Summary: Zabbix Agent 2
132 Group: Networking/Utilities
133 URL: https://www.zabbix.com/documentation/current/manual/concepts/agent2
134 Requires: %{name}-common = %{version}-%{release}
137 Zabbix agent 2 is a new generation of Zabbix agent and may be used in
138 place of Zabbix agent.
140 Zabbix agent 2 has been developed to:
141 - reduce the number of TCP connections
142 - have greater check concurrency
143 - be easily extendible with plugins.
145 A plugin should be able to:
146 - provide trivial checks consisting of only a few simple lines of code
147 - provide complex checks consisting of long-running scripts and
148 standalone data gathering with periodic sending back of the data
149 - be a drop-in replacement for Zabbix agent (in that it supports all
150 the previous functionality)
152 Passive checks work similarly to Zabbix agent. Active checks support
153 scheduled/flexible intervals and check concurrency within one active
156 %package frontend-php
157 Summary: PHP frontend for Zabbix
158 Summary(pl.UTF-8): Interfejs PHP dla Zabbiksa
159 Group: Applications/WWW
160 Requires: php(bcmath)
161 Requires: php(core) >= %{php_min_version}
164 Requires: php(gettext)
166 Requires: php(mbstring)
168 Requires: php(session)
169 Requires: php(sockets)
171 Requires: php(xmlreader)
172 Requires: php(xmlwriter)
174 Requires: webserver(alias)
175 Requires: webserver(indexfile)
176 Requires: webserver(php)
179 Suggests: php(sqlite3)
181 Suggests: php(sysvsem)
184 %description frontend-php
185 This package provides web based (PHP) frontend for Zabbix.
187 %description frontend-php -l pl.UTF-8
188 Ten pakiet dostarcza napisany w PHP frontend dla Zabbiksa.
191 Summary: Program retrieving data from Zabbix agent
192 Summary(pl.UTF-8): Program odpytujÄcy agenta Zabbiksa
193 Group: Networking/Utilities
196 This package provides a program retrieving data from Zabbix agent.
198 %description get -l pl.UTF-8
199 Ten pakiet zawiera program odpytujÄcy agenta Zabbiksa.
202 Summary: Zabbix proxy
203 Summary(pl.UTF-8): Proxy do Zabbiksa
204 Group: Networking/Utilities
205 Requires: %{name}-common = %{version}-%{release}
206 Requires: systemd-units >= 38
207 Requires: zabbix-proxy(db) = %{version}-%{release}
210 This package provides the Zabbix proxy.
212 %description proxy -l pl.UTF-8
213 Ten pakiet zawiera proxy Zabbix.
216 Summary: MySQL support for Zabbix proxy
217 Summary(pl.UTF-8): Obsługa MySQL dla proxy do Zabbiksa
218 Group: Networking/Utilities
219 Provides: %{name}-proxy(db) = %{version}-%{release}
220 Obsoletes: zabbix-proxy-postgresql
221 Obsoletes: zabbix-proxy-sqlite3
223 %description proxy-mysql
224 This package provides the Zabbix proxy binary with MySQL support.
226 %description proxy-mysql -l pl.UTF-8
227 Ten pakiet zawiera proxy Zabbix z obsługą MySQL.
229 %package proxy-postgresql
230 Summary: PostgreSQL support for Zabbix proxy
231 Summary(pl.UTF-8): Obsługa PostgreSQL dla proxy do Zabbiksa
232 Group: Networking/Utilities
233 Provides: %{name}-proxy(db) = %{version}-%{release}
234 Obsoletes: zabbix-proxy-mysql
235 Obsoletes: zabbix-proxy-sqlite3
237 %description proxy-postgresql
238 This package provides the Zabbix proxy binary with PostgreSQL support.
240 %description proxy-postgresql -l pl.UTF-8
241 Ten pakiet zawiera proxy Zabbix z obsługą PostgreSQL.
243 %package proxy-sqlite3
244 Summary: SQLite 3 support for Zabbix proxy
245 Summary(pl.UTF-8): Obsługa SQLite 3 dla proxy do Zabbiksa
246 Group: Networking/Utilities
247 Provides: %{name}-proxy(db) = %{version}-%{release}
248 Obsoletes: zabbix-proxy-mysql
249 Obsoletes: zabbix-proxy-postgresql
251 %description proxy-sqlite3
252 This package provides the Zabbix proxy binary with SQLite 3 support.
254 %description proxy-sqlite3 -l pl.UTF-8
255 Ten pakiet zawiera proxy Zabbix z obsługą SQLite 3.
258 Summary: Zabbix sender
259 Summary(pl.UTF-8): Program zawiadamiający Zabbiksa
260 Group: Networking/Utilities
263 This package provides the Zabbix sender.
265 %description sender -l pl.UTF-8
266 Ten pakiet zawiera program zawiadamiający Zabbiksa.
269 Summary: Zabbix server
270 Summary(pl.UTF-8): Serwer Zabbiksa
271 Group: Networking/Utilities
272 Requires: %{name}-common = %{version}-%{release}
273 Requires: %{name}-server(db) = %{version}-%{release}
274 Requires: systemd-units >= 38
275 Obsoletes: zabbix-suckerd
276 Obsoletes: zabbix-trapper-inetd
277 Obsoletes: zabbix-trapper-standalone
280 This package provides the Zabbix server.
282 %description server -l pl.UTF-8
283 Ten pakiet zawiera serwer Zabbiksa.
285 %package server-mysql
286 Summary: MySQL support for Zabbix server
287 Summary(pl.UTF-8): Obsługa MySQL sla serwera Zabbiksa
288 Group: Networking/Utilities
289 Provides: %{name}-server(db) = %{version}-%{release}
290 Obsoletes: zabbix-server-postgresql
291 Obsoletes: zabbix-server-sqlite3
293 %description server-mysql
294 This package provides the Zabbix server binary for use with MySQL
297 %description server-mysql -l pl.UTF-8
298 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych MySQL.
300 %package server-postgresql
301 Summary: PostgreSQL support for Zabbix server
302 Summary(pl.UTF-8): Obsługa PostgreSQL sla serwera Zabbiksa
303 Group: Networking/Utilities
304 Provides: %{name}-server(db) = %{version}-%{release}
305 Obsoletes: zabbix-server-mysql
306 Obsoletes: zabbix-server-sqlite3
308 %description server-postgresql
309 This package provides the Zabbix server binary for use with PostgreSQL
312 %description server-postgresql -l pl.UTF-8
313 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych PostgreSQL.
316 Summary: Zabbix Java Gateway
317 Group: Networking/Utilities
318 Requires: %{name}-common = %{version}-%{release}
319 Requires: systemd-units >= 38
322 This package provides the Zabbix Java Gateway.
340 --enable-dependency-tracking \
342 %{__enable_disable agent2} \
344 %{__enable_disable java} \
364 for database in %{databases} ; do
365 if [ "$database" = "sqlite3" ] ; then
368 enable_server="--enable-server"
377 if [ "$enable_server" ] ; then
379 -C src/zabbix_server \
380 DESTDIR=$PWD/install-${database}
384 -C src/zabbix_proxy \
385 DESTDIR=$PWD/install-${database}
389 rm -rf $RPM_BUILD_ROOT
390 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,/etc/webapps/%{_webapp},%{_appdir}/frontends/php} \
391 $RPM_BUILD_ROOT{/var/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
394 DESTDIR=$RPM_BUILD_ROOT \
395 ZJG_DEST=$RPM_BUILD_ROOT%{_datadir}/zabbix_java
397 for database in %{databases} ; do
398 if [ "$database" != "sqlite3" ] ; then
399 cp -p install-$database/%{_sbindir}/zabbix_server \
400 $RPM_BUILD_ROOT%{_sbindir}/zabbix_server-$database
402 cp -p install-$database/%{_sbindir}/zabbix_proxy \
403 $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy-$database
406 if [ -n "$database" ] ; then
407 ln -sf zabbix_server-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
408 ln -sf zabbix_proxy-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
412 install -d $RPM_BUILD_ROOT/var/lib/zabbix
413 touch $RPM_BUILD_ROOT/var/lib/zabbix/zabbix.db
416 cp -r ui/* $RPM_BUILD_ROOT%{_appdir}/frontends/php
418 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
419 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
421 install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_server.service
422 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_agentd.service
423 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/zabbix_agentd
424 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_proxy.service
425 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_java.service
427 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/zabbix.conf
429 mv $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf $RPM_BUILD_ROOT%{_sysconfdir}/frontend
430 ln -s --relative $RPM_BUILD_ROOT{%{_sysconfdir}/frontend,%{_appdir}/frontends/php/conf}
431 touch $RPM_BUILD_ROOT%{_sysconfdir}/frontend/zabbix.conf.php
434 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix_java.conf
435 ln -s --relative $RPM_BUILD_ROOT{%{_sysconfdir}/zabbix_java.conf,%{_datadir}/zabbix_java/settings.sh}
436 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback.xml
437 ln -s --relative $RPM_BUILD_ROOT{%{_sysconfdir}/java-logback.xml,%{_datadir}/zabbix_java/lib/logback.xml}
438 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback-console.xml
439 ln -s --relative $RPM_BUILD_ROOT{%{_sysconfdir}/java-logback-console.xml,%{_datadir}/zabbix_java/lib/logback-console.xml}
441 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-start <<'EOF'
444 exec %{_datadir}/zabbix_java/startup.sh "$@"
447 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-stop <<'EOF'
450 exec %{_datadir}/zabbix_java/shutdown.sh "$@"
455 rm -rf $RPM_BUILD_ROOT
457 %triggerin frontend-php -- apache1 < 1.3.37-3, apache1-base
458 %webapp_register apache %{_webapp}
460 %triggerun frontend-php -- apache1 < 1.3.37-3, apache1-base
461 %webapp_unregister apache %{_webapp}
463 %triggerin frontend-php -- apache < 2.2.0, apache-base
464 %webapp_register httpd %{_webapp}
466 %triggerun frontend-php -- apache < 2.2.0, apache-base
467 %webapp_unregister httpd %{_webapp}
470 %groupadd -g 111 zabbix
471 %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
472 %addusertogroup -q zabbix proc
475 if [ "$1" = "0" ]; then
481 if [ "$1" = 1 ]; then
482 %banner -e %{name}-server <<-EOF
483 You should create database for Zabbix.
485 Running these should be fine in most cases:
486 mysqladmin create zabbix
487 zcat %{_docdir}/%{name}-server-mysql-%{version}/schema.sql.gz | mysql zabbix
488 zcat %{_docdir}/%{name}-server-mysql-%{version}/images.sql.gz | mysql zabbix
489 zcat %{_docdir}/%{name}-server-mysql-%{version}/data.sql.gz | mysql zabbix
492 ln -sf zabbix_server-mysql %{_sbindir}/zabbix_server || :
494 %post server-postgresql
495 if [ "$1" = 1 ]; then
496 %banner -e %{name}-server <<-EOF
497 You should create database for Zabbix.
499 Running these should be fine in most cases:
502 createdb -O zabbix zabbix
503 zcat %{_docdir}/%{name}-server-postgresql-%{version}/schema.sql.gz | psql -u zabbix zabbix
504 zcat %{_docdir}/%{name}-server-postgresql-%{version}/images.sql.gz | psql -u zabbix zabbix
505 zcat %{_docdir}/%{name}-server-postgresql-%{version}/data.sql.gz | psql -u zabbix zabbix
508 ln -sf zabbix_server-postgresql %{_sbindir}/zabbix_server || :
511 %systemd_post zabbix_server.service
514 %systemd_preun zabbix_server.service
517 if [ "$1" = "0" ]; then
518 if [ -L %{_sbindir}/zabbix_server ] ; then
519 rm -f %{_sbindir}/zabbix_server || :
525 /sbin/chkconfig --add zabbix_agentd
526 %service zabbix_agentd restart
527 %systemd_post zabbix_agentd.service
530 if [ "$1" = "0" ]; then
531 %service -q zabbix_agentd stop
532 /sbin/chkconfig --del zabbix_agentd
534 %systemd_preun zabbix_agentd.service
540 ln -sf zabbix_proxy-mysql %{_sbindir}/zabbix_proxy || :
542 %post proxy-postgresql
543 ln -sf zabbix_proxy-postgresql %{_sbindir}/zabbix_proxy || :
546 ln -sf zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
549 %systemd_post zabbix_proxy.service
552 %systemd_preun zabbix_proxy.service
558 %systemd_post zabbix_java.service
561 %systemd_preun zabbix_java.service
567 %defattr(644,root,root,755)
568 %doc AUTHORS ChangeLog README
571 %defattr(644,root,root,755)
572 %doc AUTHORS ChangeLog README
573 %attr(751,root,zabbix) %dir %{_sysconfdir}
574 %attr(751,root,http) %dir %{_sysconfdir}/frontend
576 %dir %{_appdir}/frontends
577 %dir %attr(770,root,zabbix) /var/run/zabbix
578 %dir %attr(775,root,zabbix) /var/log/zabbix
579 %{systemdtmpfilesdir}/zabbix.conf
582 %defattr(644,root,root,755)
583 %doc conf/zabbix_agentd/*.conf
584 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agentd.conf
585 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_agentd.conf.d
586 %attr(754,root,root) /etc/rc.d/init.d/zabbix_agentd
587 %attr(755,root,root) %{_sbindir}/zabbix_agentd
588 %{_mandir}/man8/zabbix_agentd*
589 %{systemdunitdir}/zabbix_agentd.service
593 %defattr(644,root,root,755)
594 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agent2.conf
595 %attr(755,root,root) %{_sbindir}/zabbix_agent2
599 %defattr(644,root,root,755)
600 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
601 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
602 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
603 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
604 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
605 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
606 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
607 %{_appdir}/frontends/php
610 %defattr(644,root,root,755)
611 %attr(755,root,root) %{_bindir}/zabbix_get
612 %{_mandir}/man1/zabbix_get*
616 %defattr(644,root,root,755)
617 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_proxy.conf
618 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_proxy.conf.d
619 %ghost %{_sbindir}/zabbix_proxy
620 %{_mandir}/man8/zabbix_proxy*
621 %{systemdunitdir}/zabbix_proxy.service
626 %defattr(644,root,root,755)
627 %attr(755,root,root) %{_sbindir}/zabbix_proxy-mysql
631 %files proxy-postgresql
632 %defattr(644,root,root,755)
633 %attr(755,root,root) %{_sbindir}/zabbix_proxy-postgresql
638 %defattr(644,root,root,755)
639 %attr(755,root,root) %{_sbindir}/zabbix_proxy-sqlite3
643 %defattr(644,root,root,755)
644 %attr(755,root,root) %{_bindir}/zabbix_sender
645 %{_mandir}/man1/zabbix_sender*
649 %defattr(644,root,root,755)
650 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf
651 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_server.conf.d
652 %ghost %{_sbindir}/zabbix_server
653 %{_mandir}/man8/zabbix_server*
654 %{systemdunitdir}/zabbix_server.service
659 %defattr(644,root,root,755)
660 %doc database/mysql/*.sql
661 %attr(755,root,root) %{_sbindir}/zabbix_server-mysql
665 %files server-postgresql
666 %defattr(644,root,root,755)
667 %doc database/postgresql/*.sql
668 %attr(755,root,root) %{_sbindir}/zabbix_server-postgresql
673 %defattr(644,root,root,755)
674 %attr(755,root,root) %{_sbindir}/zabbix_java-start
675 %attr(755,root,root) %{_sbindir}/zabbix_java-stop
676 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_java.conf
677 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback.xml
678 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback-console.xml
679 %dir %{_datadir}/zabbix_java
680 %{_datadir}/zabbix_java/bin
681 %{_datadir}/zabbix_java/lib
682 %{_datadir}/zabbix_java/settings.sh
683 %attr(755,root,root) %{_datadir}/zabbix_java/shutdown.sh
684 %attr(755,root,root) %{_datadir}/zabbix_java/startup.sh
685 %{systemdunitdir}/zabbix_java.service