2 # - initscript for zabbix-agentd, zabbix-server, zabbix-proxy and zabbix-java
5 %bcond_without pgsql # enable PostgreSQL support
6 %bcond_without sqlite3 # enable sqlite3 support
7 %bcond_without mysql # enable MySQL support
8 %bcond_without java # disable java support
10 %define databases %{?with_pgsql:postgresql} %{?with_mysql:mysql} %{?with_sqlite3:sqlite3}
11 %define any_database %{with pgsql}%{with mysql}%{with sqlite3}
13 %define php_min_version 5.4.0
14 Summary: Zabbix - network monitoring software
15 Summary(pl.UTF-8): Zabbix - oprogramowanie do monitorowania sieci
20 Group: Networking/Utilities
21 Source0: http://downloads.sourceforge.net/zabbix/%{name}-%{version}.tar.gz
22 # Source0-md5: 4f363b923ef2b5eefddee8dfc5f51e2b
23 Source1: %{name}-apache.conf
24 Source2: %{name}_server.service
25 Source3: %{name}_agentd.service
26 Source4: %{name}_proxy.service
27 Source5: %{name}_java.service
28 Source6: %{name}.tmpfiles
30 Patch1: sqlite3_dbname.patch
31 Patch2: tag_conditions.patch
32 Patch3: ZBX-11213.patch
33 URL: http://zabbix.sourceforge.net/
34 BuildRequires: OpenIPMI-devel
35 BuildRequires: curl-devel
36 BuildRequires: iksemel-devel
37 %{?with_java:BuildRequires: jdk}
38 BuildRequires: libssh2-devel
39 BuildRequires: libxml2-devel
40 %{?with_mysql:BuildRequires: mysql-devel}
41 BuildRequires: net-snmp-devel
42 BuildRequires: openldap-devel >= 2.4.6
43 BuildRequires: openssl-devel >= 0.9.7d
44 %{?with_pgsql:BuildRequires: postgresql-devel}
45 BuildRequires: rpmbuild(macros) >= 1.671
46 %{?with_sqlite3:BuildRequires: sqlite3-devel}
47 BuildRequires: unixODBC-devel
48 Requires: %{name}-agentd = %{version}-%{release}
49 Requires: %{name}-frontend-php = %{version}-%{release}
50 Requires: %{name}-server = %{version}-%{release}
51 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
53 %define _sysconfdir /etc/%{name}
54 %define _appdir %{_datadir}/%{name}
55 %define _webapps /etc/webapps
56 %define _webapp %{name}
59 Zabbix is software that monitors numerous parameters of a network and
60 the servers on that network. It is a useful tool for monitoring the
61 health and integrity of servers. Zabbix uses a flexible notification
62 mechanism that allows users to configure email based alerts for
63 virtually any event. All monitored parameters are stored in a
64 database. Zabbix offers excellent reporting and data visualisation
65 features based on the stored data. Zabbix supports both polling and
66 trapping. All Zabbix reports and statistics, as well as configuration
67 parameters, are accessed through a web-based front end.
69 %description -l pl.UTF-8
70 Zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
71 serwerów sieciowych. Jest przydatny przy monitorowaniu działania
72 serwerów. Jorzysta z elastycznego mechanizmu powiadamiania, który
73 pozwala użytkownikom konfigurować powiadamianie pocztą elektroniczną
74 dla praktycznie wszelkich zdarzeń. Monitorowane parametry są
75 przechowywane w bazie danych. W oparciu o przechowywane dane Zabbix
76 oferuje świetne raportowanie i funkcje wizualizacji. Wspiera zarówno
77 odpytywanie jak i pułapkowanie. Dostęp do wszystkich raportów i
78 statystyk Zabbiksa jest możliwy poprzez interfejs oparty o WWW.
81 Summary: Common files for Zabbix monitoring software
82 Summary(pl.UTF-8): Wspólne pliki dla oprogramowania monitorującego Zabbix
83 Group: Networking/Utilities
84 Requires(postun): /usr/sbin/groupdel
85 Requires(postun): /usr/sbin/userdel
86 Requires(pre): /bin/id
87 Requires(pre): /usr/bin/getgid
88 Requires(pre): /usr/sbin/groupadd
89 Requires(pre): /usr/sbin/useradd
90 Provides: group(zabbix)
91 Provides: user(zabbix)
94 Common files for Zabbix monitoring software.
96 %description common -l pl.UTF-8
97 Wspólne pliki dla oprogramowania monitorującego Zabbix.
100 Summary: Zabbix Agent
101 Summary(pl.UTF-8): Agenta Zabbiksa
102 Group: Networking/Utilities
103 Requires: %{name}-common = %{version}-%{release}
104 Requires: systemd-units >= 38
105 Obsoletes: zabbix-agent-inetd
106 Obsoletes: zabbix-agent-standalone
109 Zabbix agent collects data from the local system for a Zabbix server.
111 %description agentd -l pl.UTF-8
112 Agent zbiera dane z lokalnej maszyny dla serwera Zabbix.
114 %package frontend-php
115 Summary: PHP frontend for Zabbix
116 Summary(pl.UTF-8): Interfejs PHP dla Zabbiksa
117 Group: Applications/WWW
118 Requires: php(bcmath)
119 Requires: php(core) >= %{php_min_version}
122 Requires: php(gettext)
124 Requires: php(mbstring)
126 Requires: php(session)
127 Requires: php(sockets)
129 Requires: php(xmlreader)
130 Requires: php(xmlwriter)
132 Requires: webserver(alias)
133 Requires: webserver(indexfile)
134 Requires: webserver(php)
137 Suggests: php(sqlite3)
139 Suggests: php(sysvsem)
141 %description frontend-php
142 This package provides web based (PHP) frontend for Zabbix.
144 %description frontend-php -l pl.UTF-8
145 Ten pakiet dostarcza napisany w PHP frontend dla Zabbiksa.
148 Summary: Program retrieving data from Zabbix agent
149 Summary(pl.UTF-8): Program odpytujÄcy agenta Zabbiksa
150 Group: Networking/Utilities
153 This package provides a program retrieving data from Zabbix agent.
155 %description get -l pl.UTF-8
156 Ten pakiet zawiera program odpytujÄcy agenta Zabbiksa.
159 Summary: Zabbix proxy
160 Summary(pl.UTF-8): Proxy do Zabbiksa
161 Group: Networking/Utilities
162 Requires: %{name}-common = %{version}-%{release}
163 Requires: zabbix-proxy(db) = %{version}-%{release}
164 Requires: systemd-units >= 38
167 This package provides the Zabbix proxy.
169 %description proxy -l pl.UTF-8
170 Ten pakiet zawiera proxy Zabbix.
173 Summary: MySQL support for Zabbix proxy
174 Summary(pl.UTF-8): Obsługa MySQL dla proxy do Zabbiksa
175 Group: Networking/Utilities
176 Provides: %{name}-proxy(db) = %{version}-%{release}
177 Obsoletes: %{name}-proxy-postgresql
178 Obsoletes: %{name}-proxy-sqlite3
180 %description proxy-mysql
181 This package provides the Zabbix proxy binary with MySQL support.
183 %description proxy-mysql -l pl.UTF-8
184 Ten pakiet zawiera proxy Zabbix z obsługą MySQL.
186 %package proxy-postgresql
187 Summary: PostgreSQL support for Zabbix proxy
188 Summary(pl.UTF-8): Obsługa PostgreSQL dla proxy do Zabbiksa
189 Group: Networking/Utilities
190 Provides: %{name}-proxy(db) = %{version}-%{release}
191 Obsoletes: %{name}-proxy-mysql
192 Obsoletes: %{name}-proxy-sqlite3
194 %description proxy-postgresql
195 This package provides the Zabbix proxy binary with PostgreSQL support.
197 %description proxy-postgresql -l pl.UTF-8
198 Ten pakiet zawiera proxy Zabbix z obsługą PostgreSQL.
200 %package proxy-sqlite3
201 Summary: SQLite 3 support for Zabbix proxy
202 Summary(pl.UTF-8): Obsługa SQLite 3 dla proxy do Zabbiksa
203 Group: Networking/Utilities
204 Provides: %{name}-proxy(db) = %{version}-%{release}
205 Obsoletes: %{name}-proxy-mysql
206 Obsoletes: %{name}-proxy-postgresql
208 %description proxy-sqlite3
209 This package provides the Zabbix proxy binary with SQLite 3 support.
211 %description proxy-sqlite3 -l pl.UTF-8
212 Ten pakiet zawiera proxy Zabbix z obsługą SQLite 3.
215 Summary: Zabbix sender
216 Summary(pl.UTF-8): Program zawiadamiający Zabbiksa
217 Group: Networking/Utilities
220 This package provides the Zabbix sender.
222 %description sender -l pl.UTF-8
223 Ten pakiet zawiera program zawiadamiający Zabbiksa.
226 Summary: Zabbix server
227 Summary(pl.UTF-8): Serwer Zabbiksa
228 Group: Networking/Utilities
229 Requires: %{name}-common = %{version}-%{release}
230 Requires: %{name}-server(db) = %{version}-%{release}
231 Requires: systemd-units >= 38
232 Obsoletes: zabbix-suckerd
233 Obsoletes: zabbix-trapper-inetd
234 Obsoletes: zabbix-trapper-standalone
237 This package provides the Zabbix server.
239 %description server -l pl.UTF-8
240 Ten pakiet zawiera serwer Zabbiksa.
242 %package server-mysql
243 Summary: MySQL support for Zabbix server
244 Summary(pl.UTF-8): Obsługa MySQL sla serwera Zabbiksa
245 Group: Networking/Utilities
246 Provides: %{name}-server(db) = %{version}-%{release}
247 Obsoletes: %{name}-server-postgresql
248 Obsoletes: %{name}-server-sqlite3
250 %description server-mysql
251 This package provides the Zabbix server binary for use with MySQL database.
253 %description server-mysql -l pl.UTF-8
254 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych MySQL.
256 %package server-postgresql
257 Summary: PostgreSQL support for Zabbix server
258 Summary(pl.UTF-8): Obsługa PostgreSQL sla serwera Zabbiksa
259 Group: Networking/Utilities
260 Provides: %{name}-server(db) = %{version}-%{release}
261 Obsoletes: %{name}-server-mysql
262 Obsoletes: %{name}-server-sqlite3
264 %description server-postgresql
265 This package provides the Zabbix server binary for use with PostgreSQL database.
267 %description server-postgresql -l pl.UTF-8
268 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych PostgreSQL.
270 %package server-sqlite3
271 Summary: SQLite 3 support for Zabbix server
272 Summary(pl.UTF-8): Obsługa SQLite 3 sla serwera Zabbiksa
273 Group: Networking/Utilities
274 Requires(post): /bin/zcat
275 Provides: %{name}-server(db) = %{version}-%{release}
276 Obsoletes: %{name}-server-mysql
277 Obsoletes: %{name}-server-postgresql
279 %description server-sqlite3
280 This package provides the Zabbix server binary for use with SQLite 3 database.
282 NOTE: Support for SQLite 3 is EXPERIMENTAL and not recommended.
284 %description server-sqlite3 -l pl.UTF-8
285 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych SQLite 3.
287 INFO: Wsparcie dla SQLite 3 jest EKSPERYMENTALNE i nie rekomendowane.
290 Summary: Zabbix Java Gateway
291 Group: Networking/Utilities
292 Requires: %{name}-common = %{version}-%{release}
293 Requires: systemd-units >= 38
296 This package provides the Zabbix Java Gateway.
312 %{__enable_disable java} \
331 # keep timestamps to prevent unneccessary rebuilds
332 cp -a include/config.h include/config.h.old
333 cp -a include/stamp-h1 include/stamp-h1.old
335 for database in %{databases} ; do
342 touch --reference=include/config.h.old include/config.h
343 touch --reference=include/stamp-h1.old include/stamp-h1
345 # clean what needs rebuilding
346 for dir in src/libs/zbxdb* src/libs/zbxserver ; do
347 %{__make} -C $dir clean
350 touch include/zbxdb.h
355 -C src/zabbix_server \
356 DESTDIR=$PWD/install-${database}
358 -C src/zabbix_proxy \
359 DESTDIR=$PWD/install-${database}
361 # prepare dirs for %%doc
362 for dir in upgrades/dbpatches/* ; do
363 [ -d $dir/${database} ] || continue
364 mkdir -p install-${database}/upgrade/$(basename $dir)
365 cp -a $dir/${databases}/* install-${database}/upgrade/$(basename $dir)
370 rm -rf $RPM_BUILD_ROOT
371 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/webapps/%{_webapp},%{_appdir}} \
372 $RPM_BUILD_ROOT{/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
375 DESTDIR=$RPM_BUILD_ROOT \
376 ZJG_DEST=$RPM_BUILD_ROOT%{_datadir}/zabbix_java
378 for database in %{databases} ; do
379 cp -p install-$database/%{_sbindir}/zabbix_server \
380 $RPM_BUILD_ROOT%{_sbindir}/zabbix_server-$database
381 cp -p install-$database/%{_sbindir}/zabbix_proxy \
382 $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy-$database
385 if [ -n "$database" ] ; then
386 ln -sf %{_sbindir}/zabbix_server-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
387 ln -sf %{_sbindir}/zabbix_proxy-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
391 install -d $RPM_BUILD_ROOT/var/lib/zabbix
392 touch $RPM_BUILD_ROOT/var/lib/zabbix/zabbix.db
395 cp -r frontends $RPM_BUILD_ROOT%{_appdir}
397 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
398 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
400 install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_server.service
401 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_agentd.service
402 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_proxy.service
403 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_java.service
405 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/zabbix.conf
407 mv $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf $RPM_BUILD_ROOT%{_sysconfdir}/frontend
408 ln -s %{_sysconfdir}/frontend $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf
409 touch $RPM_BUILD_ROOT%{_sysconfdir}/frontend/zabbix.conf.php
412 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix_java.conf
413 ln -s %{_sysconfdir}/zabbix_java.conf $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh
414 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback.xml
415 ln -s %{_sysconfdir}/java-logback.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml
416 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback-console.xml
417 ln -s %{_sysconfdir}/java-logback-console.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml
419 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-start <<'EOF'
422 exec %{_datadir}/zabbix_java/startup.sh "$@"
425 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-stop <<'EOF'
428 exec %{_datadir}/zabbix_java/shutdown.sh "$@"
433 rm -rf $RPM_BUILD_ROOT
435 %triggerin frontend-php -- apache1 < 1.3.37-3, apache1-base
436 %webapp_register apache %{_webapp}
438 %triggerun frontend-php -- apache1 < 1.3.37-3, apache1-base
439 %webapp_unregister apache %{_webapp}
441 %triggerin frontend-php -- apache < 2.2.0, apache-base
442 %webapp_register httpd %{_webapp}
444 %triggerun frontend-php -- apache < 2.2.0, apache-base
445 %webapp_unregister httpd %{_webapp}
448 %groupadd -g 111 zabbix
449 %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
452 if [ "$1" = "0" ]; then
458 if [ "$1" = 1 ]; then
459 %banner -e %{name}-server <<-EOF
460 You should create database for Zabbix.
462 Running these should be fine in most cases:
463 mysqladmin create zabbix
464 zcat %{_docdir}/%{name}-server-mysql-%{version}/schema.sql.gz | mysql zabbix
465 zcat %{_docdir}/%{name}-server-mysql-%{version}/images.sql.gz | mysql zabbix
466 zcat %{_docdir}/%{name}-server-mysql-%{version}/data.sql.gz | mysql zabbix
469 ln -sf %{_sbindir}/zabbix_server-mysql %{_sbindir}/zabbix_server || :
471 %post server-postgresql
472 if [ "$1" = 1 ]; then
473 %banner -e %{name}-server <<-EOF
474 You should create database for Zabbix.
476 Running these should be fine in most cases:
479 createdb -O zabbix zabbix
480 zcat %{_docdir}/%{name}-server-postgresql-%{version}/schema.sql.gz | psql -u zabbix zabbix
481 zcat %{_docdir}/%{name}-server-postgresql-%{version}/images.sql.gz | psql -u zabbix zabbix
482 zcat %{_docdir}/%{name}-server-postgresql-%{version}/data.sql.gz | psql -u zabbix zabbix
485 ln -sf %{_sbindir}/zabbix_server-postgresql %{_sbindir}/zabbix_server || :
488 if [ "$1" = 1 ]; then
489 if [ ! -f /var/lib/zabbix/zabbix.db ] ; then
490 %banner -e %{name}-server <<-EOF
491 Creating sqlite3 database for Zabbix in /var/lib/zabbix/zabbix.db
493 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/schema.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
494 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/images.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
495 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/data.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
496 chown zabbix:zabbix /var/lib/zabbix/zabbix.db && \
497 chmod 644 /var/lib/zabbix/zabbix.db || :
500 ln -sf %{_sbindir}/zabbix_server-sqlite3 %{_sbindir}/zabbix_server || :
503 %systemd_post zabbix_server.service
506 %systemd_preun zabbix_server.service
509 if [ "$1" = "0" ]; then
510 if [ -L %{_sbindir}/zabbix_server ] ; then
511 rm -f %{_sbindir}/zabbix_server || :
517 %systemd_post zabbix_agentd.service
520 %systemd_preun zabbix_agentd.service
526 ln -sf %{_sbindir}/zabbix_proxy-mysql %{_sbindir}/zabbix_proxy || :
528 %post proxy-postgresql
529 ln -sf %{_sbindir}/zabbix_proxy-postgresql %{_sbindir}/zabbix_proxy || :
532 ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
535 %systemd_post zabbix_proxy.service
538 %systemd_preun zabbix_proxy.service
544 %systemd_post zabbix_java.service
547 %systemd_preun zabbix_java.service
553 %defattr(644,root,root,755)
554 %doc AUTHORS ChangeLog README
557 %defattr(644,root,root,755)
558 %doc AUTHORS ChangeLog README
559 %attr(751,root,zabbix) %dir %{_sysconfdir}
560 %attr(751,root,http) %dir %{_sysconfdir}/frontend
562 %dir %{_appdir}/frontends
563 %dir %attr(770,root,zabbix) /run/zabbix
564 %dir %attr(775,root,zabbix) /var/log/zabbix
565 %{systemdtmpfilesdir}/zabbix.conf
568 %defattr(644,root,root,755)
569 %doc conf/zabbix_agentd/*.conf
570 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agentd.conf
571 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_agentd.conf.d
572 %attr(755,root,root) %{_sbindir}/zabbix_agentd
573 %{_mandir}/man8/zabbix_agentd*
574 %{systemdunitdir}/zabbix_agentd.service
577 %defattr(644,root,root,755)
578 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
579 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*
580 %{_appdir}/frontends/php
581 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
582 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
583 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
584 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
587 %defattr(644,root,root,755)
588 %attr(755,root,root) %{_bindir}/zabbix_get
589 %{_mandir}/man1/zabbix_get*
593 %defattr(644,root,root,755)
594 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_proxy.conf
595 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_proxy.conf.d
596 %ghost %attr(755,root,root) %{_sbindir}/zabbix_proxy
597 %{_mandir}/man8/zabbix_proxy*
598 %{systemdunitdir}/zabbix_proxy.service
603 %defattr(644,root,root,755)
604 %attr(755,root,root) %{_sbindir}/zabbix_proxy-mysql
608 %files proxy-postgresql
609 %defattr(644,root,root,755)
610 %attr(755,root,root) %{_sbindir}/zabbix_proxy-postgresql
615 %defattr(644,root,root,755)
616 %attr(755,root,root) %{_sbindir}/zabbix_proxy-sqlite3
620 %defattr(644,root,root,755)
621 %attr(755,root,root) %{_bindir}/zabbix_sender
622 %{_mandir}/man1/zabbix_sender*
626 %defattr(644,root,root,755)
627 %doc upgrades/dbpatches
628 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf
629 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_server.conf.d
630 %ghost %attr(755,root,root) %{_sbindir}/zabbix_server
631 %{_mandir}/man8/zabbix_server*
632 %{systemdunitdir}/zabbix_server.service
637 %defattr(644,root,root,755)
638 %doc database/mysql/*.sql install-mysql/upgrade
639 %attr(755,root,root) %{_sbindir}/zabbix_server-mysql
643 %files server-postgresql
644 %defattr(644,root,root,755)
645 %doc database/postgresql/*.sql install-postgresql/upgrade
646 %attr(755,root,root) %{_sbindir}/zabbix_server-postgresql
650 %files server-sqlite3
651 %defattr(644,root,root,755)
652 %doc database/sqlite3/*.sql
653 %attr(755,root,root) %{_sbindir}/zabbix_server-sqlite3
654 %dir %attr(771,root,zabbix) /var/lib/zabbix
655 %ghost %attr(644,zabbix,zabbix) /var/lib/zabbix/zabbix.db
660 %defattr(644,root,root,755)
661 %attr(755,root,root) %{_sbindir}/zabbix_java-start
662 %attr(755,root,root) %{_sbindir}/zabbix_java-stop
663 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_java.conf
664 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback.xml
665 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback-console.xml
666 %dir %{_datadir}/zabbix_java
667 %{_datadir}/zabbix_java/bin
668 %{_datadir}/zabbix_java/lib
669 %{_datadir}/zabbix_java/settings.sh
670 %attr(755,root,root) %{_datadir}/zabbix_java/shutdown.sh
671 %attr(755,root,root) %{_datadir}/zabbix_java/startup.sh
672 %{systemdunitdir}/zabbix_java.service