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: e2491b482868059f251902d5f636eacb
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 URL: http://zabbix.sourceforge.net/
33 BuildRequires: OpenIPMI-devel
34 BuildRequires: curl-devel
35 BuildRequires: iksemel-devel
36 %{?with_java:BuildRequires: jdk}
37 BuildRequires: libssh2-devel
38 BuildRequires: libxml2-devel
39 %{?with_mysql:BuildRequires: mysql-devel}
40 BuildRequires: net-snmp-devel
41 BuildRequires: openldap-devel >= 2.4.6
42 BuildRequires: openssl-devel >= 0.9.7d
43 %{?with_pgsql:BuildRequires: postgresql-devel}
44 BuildRequires: rpmbuild(macros) >= 1.671
45 %{?with_sqlite3:BuildRequires: sqlite3-devel}
46 BuildRequires: unixODBC-devel
47 Requires: %{name}-agentd = %{version}-%{release}
48 Requires: %{name}-frontend-php = %{version}-%{release}
49 Requires: %{name}-server = %{version}-%{release}
50 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
52 %define _sysconfdir /etc/%{name}
53 %define _appdir %{_datadir}/%{name}
54 %define _webapps /etc/webapps
55 %define _webapp %{name}
58 Zabbix is software that monitors numerous parameters of a network and
59 the servers on that network. It is a useful tool for monitoring the
60 health and integrity of servers. Zabbix uses a flexible notification
61 mechanism that allows users to configure email based alerts for
62 virtually any event. All monitored parameters are stored in a
63 database. Zabbix offers excellent reporting and data visualisation
64 features based on the stored data. Zabbix supports both polling and
65 trapping. All Zabbix reports and statistics, as well as configuration
66 parameters, are accessed through a web-based front end.
68 %description -l pl.UTF-8
69 Zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
70 serwerów sieciowych. Jest przydatny przy monitorowaniu działania
71 serwerów. Jorzysta z elastycznego mechanizmu powiadamiania, który
72 pozwala użytkownikom konfigurować powiadamianie pocztą elektroniczną
73 dla praktycznie wszelkich zdarzeń. Monitorowane parametry są
74 przechowywane w bazie danych. W oparciu o przechowywane dane Zabbix
75 oferuje świetne raportowanie i funkcje wizualizacji. Wspiera zarówno
76 odpytywanie jak i pułapkowanie. Dostęp do wszystkich raportów i
77 statystyk Zabbiksa jest możliwy poprzez interfejs oparty o WWW.
80 Summary: Common files for Zabbix monitoring software
81 Summary(pl.UTF-8): Wspólne pliki dla oprogramowania monitorującego Zabbix
82 Group: Networking/Utilities
83 Requires(postun): /usr/sbin/groupdel
84 Requires(postun): /usr/sbin/userdel
85 Requires(pre): /bin/id
86 Requires(pre): /usr/bin/getgid
87 Requires(pre): /usr/sbin/groupadd
88 Requires(pre): /usr/sbin/useradd
89 Provides: group(zabbix)
90 Provides: user(zabbix)
93 Common files for Zabbix monitoring software.
95 %description common -l pl.UTF-8
96 Wspólne pliki dla oprogramowania monitorującego Zabbix.
100 Summary(pl.UTF-8): Agenta Zabbiksa
101 Group: Networking/Utilities
102 Requires: %{name}-common = %{version}-%{release}
103 Requires: systemd-units >= 38
104 Obsoletes: zabbix-agent-inetd
105 Obsoletes: zabbix-agent-standalone
108 Zabbix agent collects data from the local system for a Zabbix server.
110 %description agentd -l pl.UTF-8
111 Agent zbiera dane z lokalnej maszyny dla serwera Zabbix.
113 %package frontend-php
114 Summary: PHP frontend for Zabbix
115 Summary(pl.UTF-8): Interfejs PHP dla Zabbiksa
116 Group: Applications/WWW
117 Requires: php(bcmath)
118 Requires: php(core) >= %{php_min_version}
121 Requires: php(gettext)
123 Requires: php(mbstring)
125 Requires: php(session)
126 Requires: php(sockets)
128 Requires: php(xmlreader)
129 Requires: php(xmlwriter)
131 Requires: webserver(alias)
132 Requires: webserver(indexfile)
133 Requires: webserver(php)
136 Suggests: php(sqlite3)
138 Suggests: php(sysvsem)
140 %description frontend-php
141 This package provides web based (PHP) frontend for Zabbix.
143 %description frontend-php -l pl.UTF-8
144 Ten pakiet dostarcza napisany w PHP frontend dla Zabbiksa.
147 Summary: Program retrieving data from Zabbix agent
148 Summary(pl.UTF-8): Program odpytujÄcy agenta Zabbiksa
149 Group: Networking/Utilities
152 This package provides a program retrieving data from Zabbix agent.
154 %description get -l pl.UTF-8
155 Ten pakiet zawiera program odpytujÄcy agenta Zabbiksa.
158 Summary: Zabbix proxy
159 Summary(pl.UTF-8): Proxy do Zabbiksa
160 Group: Networking/Utilities
161 Requires: %{name}-common = %{version}-%{release}
162 Requires: zabbix-proxy(db) = %{version}-%{release}
163 Requires: systemd-units >= 38
166 This package provides the Zabbix proxy.
168 %description proxy -l pl.UTF-8
169 Ten pakiet zawiera proxy Zabbix.
172 Summary: MySQL support for Zabbix proxy
173 Summary(pl.UTF-8): Obsługa MySQL dla proxy do Zabbiksa
174 Group: Networking/Utilities
175 Provides: %{name}-proxy(db) = %{version}-%{release}
176 Obsoletes: %{name}-proxy-postgresql
177 Obsoletes: %{name}-proxy-sqlite3
179 %description proxy-mysql
180 This package provides the Zabbix proxy binary with MySQL support.
182 %description proxy-mysql -l pl.UTF-8
183 Ten pakiet zawiera proxy Zabbix z obsługą MySQL.
185 %package proxy-postgresql
186 Summary: PostgreSQL support for Zabbix proxy
187 Summary(pl.UTF-8): Obsługa PostgreSQL dla proxy do Zabbiksa
188 Group: Networking/Utilities
189 Provides: %{name}-proxy(db) = %{version}-%{release}
190 Obsoletes: %{name}-proxy-mysql
191 Obsoletes: %{name}-proxy-sqlite3
193 %description proxy-postgresql
194 This package provides the Zabbix proxy binary with PostgreSQL support.
196 %description proxy-postgresql -l pl.UTF-8
197 Ten pakiet zawiera proxy Zabbix z obsługą PostgreSQL.
199 %package proxy-sqlite3
200 Summary: SQLite 3 support for Zabbix proxy
201 Summary(pl.UTF-8): Obsługa SQLite 3 dla proxy do Zabbiksa
202 Group: Networking/Utilities
203 Provides: %{name}-proxy(db) = %{version}-%{release}
204 Obsoletes: %{name}-proxy-mysql
205 Obsoletes: %{name}-proxy-postgresql
207 %description proxy-sqlite3
208 This package provides the Zabbix proxy binary with SQLite 3 support.
210 %description proxy-sqlite3 -l pl.UTF-8
211 Ten pakiet zawiera proxy Zabbix z obsługą SQLite 3.
214 Summary: Zabbix sender
215 Summary(pl.UTF-8): Program zawiadamiający Zabbiksa
216 Group: Networking/Utilities
219 This package provides the Zabbix sender.
221 %description sender -l pl.UTF-8
222 Ten pakiet zawiera program zawiadamiający Zabbiksa.
225 Summary: Zabbix server
226 Summary(pl.UTF-8): Serwer Zabbiksa
227 Group: Networking/Utilities
228 Requires: %{name}-common = %{version}-%{release}
229 Requires: %{name}-server(db) = %{version}-%{release}
230 Requires: systemd-units >= 38
231 Obsoletes: zabbix-suckerd
232 Obsoletes: zabbix-trapper-inetd
233 Obsoletes: zabbix-trapper-standalone
236 This package provides the Zabbix server.
238 %description server -l pl.UTF-8
239 Ten pakiet zawiera serwer Zabbiksa.
241 %package server-mysql
242 Summary: MySQL support for Zabbix server
243 Summary(pl.UTF-8): Obsługa MySQL sla serwera Zabbiksa
244 Group: Networking/Utilities
245 Provides: %{name}-server(db) = %{version}-%{release}
246 Obsoletes: %{name}-server-postgresql
247 Obsoletes: %{name}-server-sqlite3
249 %description server-mysql
250 This package provides the Zabbix server binary for use with MySQL database.
252 %description server-mysql -l pl.UTF-8
253 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych MySQL.
255 %package server-postgresql
256 Summary: PostgreSQL support for Zabbix server
257 Summary(pl.UTF-8): Obsługa PostgreSQL sla serwera Zabbiksa
258 Group: Networking/Utilities
259 Provides: %{name}-server(db) = %{version}-%{release}
260 Obsoletes: %{name}-server-mysql
261 Obsoletes: %{name}-server-sqlite3
263 %description server-postgresql
264 This package provides the Zabbix server binary for use with PostgreSQL database.
266 %description server-postgresql -l pl.UTF-8
267 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych PostgreSQL.
269 %package server-sqlite3
270 Summary: SQLite 3 support for Zabbix server
271 Summary(pl.UTF-8): Obsługa SQLite 3 sla serwera Zabbiksa
272 Group: Networking/Utilities
273 Requires(post): /bin/zcat
274 Provides: %{name}-server(db) = %{version}-%{release}
275 Obsoletes: %{name}-server-mysql
276 Obsoletes: %{name}-server-postgresql
278 %description server-sqlite3
279 This package provides the Zabbix server binary for use with SQLite 3 database.
281 NOTE: Support for SQLite 3 is EXPERIMENTAL and not recommended.
283 %description server-sqlite3 -l pl.UTF-8
284 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych SQLite 3.
286 INFO: Wsparcie dla SQLite 3 jest EKSPERYMENTALNE i nie rekomendowane.
289 Summary: Zabbix Java Gateway
290 Group: Networking/Utilities
291 Requires: %{name}-common = %{version}-%{release}
292 Requires: systemd-units >= 38
295 This package provides the Zabbix Java Gateway.
310 %{__enable_disable java} \
329 # keep timestamps to prevent unneccessary rebuilds
330 cp -a include/config.h include/config.h.old
331 cp -a include/stamp-h1 include/stamp-h1.old
333 for database in %{databases} ; do
340 touch --reference=include/config.h.old include/config.h
341 touch --reference=include/stamp-h1.old include/stamp-h1
343 # clean what needs rebuilding
344 for dir in src/libs/zbxdb* src/libs/zbxserver ; do
345 %{__make} -C $dir clean
348 touch include/zbxdb.h
353 -C src/zabbix_server \
354 DESTDIR=$PWD/install-${database}
356 -C src/zabbix_proxy \
357 DESTDIR=$PWD/install-${database}
359 # prepare dirs for %%doc
360 for dir in upgrades/dbpatches/* ; do
361 [ -d $dir/${database} ] || continue
362 mkdir -p install-${database}/upgrade/$(basename $dir)
363 cp -a $dir/${databases}/* install-${database}/upgrade/$(basename $dir)
368 rm -rf $RPM_BUILD_ROOT
369 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/webapps/%{_webapp},%{_appdir}} \
370 $RPM_BUILD_ROOT{/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
373 DESTDIR=$RPM_BUILD_ROOT \
374 ZJG_DEST=$RPM_BUILD_ROOT%{_datadir}/zabbix_java
376 for database in %{databases} ; do
377 cp -p install-$database/%{_sbindir}/zabbix_server \
378 $RPM_BUILD_ROOT%{_sbindir}/zabbix_server-$database
379 cp -p install-$database/%{_sbindir}/zabbix_proxy \
380 $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy-$database
383 if [ -n "$database" ] ; then
384 ln -sf %{_sbindir}/zabbix_server-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
385 ln -sf %{_sbindir}/zabbix_proxy-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
389 install -d $RPM_BUILD_ROOT/var/lib/zabbix
390 touch $RPM_BUILD_ROOT/var/lib/zabbix/zabbix.db
393 cp -r frontends $RPM_BUILD_ROOT%{_appdir}
395 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
396 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
398 install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_server.service
399 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_agentd.service
400 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_proxy.service
401 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_java.service
403 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/zabbix.conf
405 mv $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf $RPM_BUILD_ROOT%{_sysconfdir}/frontend
406 ln -s %{_sysconfdir}/frontend $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf
407 touch $RPM_BUILD_ROOT%{_sysconfdir}/frontend/zabbix.conf.php
410 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix_java.conf
411 ln -s %{_sysconfdir}/zabbix_java.conf $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh
412 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback.xml
413 ln -s %{_sysconfdir}/java-logback.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml
414 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback-console.xml
415 ln -s %{_sysconfdir}/java-logback-console.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml
417 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-start <<'EOF'
420 exec %{_datadir}/zabbix_java/startup.sh "$@"
423 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-stop <<'EOF'
426 exec %{_datadir}/zabbix_java/shutdown.sh "$@"
431 rm -rf $RPM_BUILD_ROOT
433 %triggerin frontend-php -- apache1 < 1.3.37-3, apache1-base
434 %webapp_register apache %{_webapp}
436 %triggerun frontend-php -- apache1 < 1.3.37-3, apache1-base
437 %webapp_unregister apache %{_webapp}
439 %triggerin frontend-php -- apache < 2.2.0, apache-base
440 %webapp_register httpd %{_webapp}
442 %triggerun frontend-php -- apache < 2.2.0, apache-base
443 %webapp_unregister httpd %{_webapp}
446 %groupadd -g 111 zabbix
447 %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
450 if [ "$1" = "0" ]; then
456 if [ "$1" = 1 ]; then
457 %banner -e %{name}-server <<-EOF
458 You should create database for Zabbix.
460 Running these should be fine in most cases:
461 mysqladmin create zabbix
462 zcat %{_docdir}/%{name}-server-mysql-%{version}/schema.sql.gz | mysql zabbix
463 zcat %{_docdir}/%{name}-server-mysql-%{version}/images.sql.gz | mysql zabbix
464 zcat %{_docdir}/%{name}-server-mysql-%{version}/data.sql.gz | mysql zabbix
467 ln -sf %{_sbindir}/zabbix_server-mysql %{_sbindir}/zabbix_server || :
469 %post server-postgresql
470 if [ "$1" = 1 ]; then
471 %banner -e %{name}-server <<-EOF
472 You should create database for Zabbix.
474 Running these should be fine in most cases:
477 createdb -O zabbix zabbix
478 zcat %{_docdir}/%{name}-server-postgresql-%{version}/schema.sql.gz | psql -u zabbix zabbix
479 zcat %{_docdir}/%{name}-server-postgresql-%{version}/images.sql.gz | psql -u zabbix zabbix
480 zcat %{_docdir}/%{name}-server-postgresql-%{version}/data.sql.gz | psql -u zabbix zabbix
483 ln -sf %{_sbindir}/zabbix_server-postgresql %{_sbindir}/zabbix_server || :
486 if [ "$1" = 1 ]; then
487 if [ ! -f /var/lib/zabbix/zabbix.db ] ; then
488 %banner -e %{name}-server <<-EOF
489 Creating sqlite3 database for Zabbix in /var/lib/zabbix/zabbix.db
491 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/schema.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
492 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/images.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
493 zcat %{_docdir}/%{name}-server-sqlite3-%{version}/data.sql.gz | sqlite3 /var/lib/zabbix/zabbix.db && \
494 chown zabbix:zabbix /var/lib/zabbix/zabbix.db && \
495 chmod 644 /var/lib/zabbix/zabbix.db || :
498 ln -sf %{_sbindir}/zabbix_server-sqlite3 %{_sbindir}/zabbix_server || :
501 %systemd_post zabbix_server.service
504 %systemd_preun zabbix_server.service
507 if [ "$1" = "0" ]; then
508 if [ -L %{_sbindir}/zabbix_server ] ; then
509 rm -f %{_sbindir}/zabbix_server || :
515 %systemd_post zabbix_agentd.service
518 %systemd_preun zabbix_agentd.service
524 ln -sf %{_sbindir}/zabbix_proxy-mysql %{_sbindir}/zabbix_proxy || :
526 %post proxy-postgresql
527 ln -sf %{_sbindir}/zabbix_proxy-postgresql %{_sbindir}/zabbix_proxy || :
530 ln -sf %{_sbindir}/zabbix_proxy-sqlite3 %{_sbindir}/zabbix_proxy || :
533 %systemd_post zabbix_proxy.service
536 %systemd_preun zabbix_proxy.service
542 %systemd_post zabbix_java.service
545 %systemd_preun zabbix_java.service
551 %defattr(644,root,root,755)
552 %doc AUTHORS ChangeLog README
555 %defattr(644,root,root,755)
556 %doc AUTHORS ChangeLog README
557 %attr(751,root,zabbix) %dir %{_sysconfdir}
558 %attr(751,root,http) %dir %{_sysconfdir}/frontend
560 %dir %{_appdir}/frontends
561 %dir %attr(770,root,zabbix) /run/zabbix
562 %dir %attr(775,root,zabbix) /var/log/zabbix
563 %{systemdtmpfilesdir}/zabbix.conf
566 %defattr(644,root,root,755)
567 %doc conf/zabbix_agentd/*.conf
568 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_agentd.conf
569 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_agentd.conf.d
570 %attr(755,root,root) %{_sbindir}/zabbix_agentd
571 %{_mandir}/man8/zabbix_agentd*
572 %{systemdunitdir}/zabbix_agentd.service
575 %defattr(644,root,root,755)
576 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
577 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/*
578 %{_appdir}/frontends/php
579 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
580 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
581 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
582 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
585 %defattr(644,root,root,755)
586 %attr(755,root,root) %{_bindir}/zabbix_get
587 %{_mandir}/man1/zabbix_get*
591 %defattr(644,root,root,755)
592 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_proxy.conf
593 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_proxy.conf.d
594 %ghost %attr(755,root,root) %{_sbindir}/zabbix_proxy
595 %{_mandir}/man8/zabbix_proxy*
596 %{systemdunitdir}/zabbix_proxy.service
601 %defattr(644,root,root,755)
602 %attr(755,root,root) %{_sbindir}/zabbix_proxy-mysql
606 %files proxy-postgresql
607 %defattr(644,root,root,755)
608 %attr(755,root,root) %{_sbindir}/zabbix_proxy-postgresql
613 %defattr(644,root,root,755)
614 %attr(755,root,root) %{_sbindir}/zabbix_proxy-sqlite3
618 %defattr(644,root,root,755)
619 %attr(755,root,root) %{_bindir}/zabbix_sender
620 %{_mandir}/man1/zabbix_sender*
624 %defattr(644,root,root,755)
625 %doc upgrades/dbpatches
626 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_server.conf
627 %dir %attr(751,root,zabbix) %{_sysconfdir}/zabbix_server.conf.d
628 %ghost %attr(755,root,root) %{_sbindir}/zabbix_server
629 %{_mandir}/man8/zabbix_server*
630 %{systemdunitdir}/zabbix_server.service
635 %defattr(644,root,root,755)
636 %doc database/mysql/*.sql install-mysql/upgrade
637 %attr(755,root,root) %{_sbindir}/zabbix_server-mysql
641 %files server-postgresql
642 %defattr(644,root,root,755)
643 %doc database/postgresql/*.sql install-postgresql/upgrade
644 %attr(755,root,root) %{_sbindir}/zabbix_server-postgresql
648 %files server-sqlite3
649 %defattr(644,root,root,755)
650 %doc database/sqlite3/*.sql
651 %attr(755,root,root) %{_sbindir}/zabbix_server-sqlite3
652 %dir %attr(771,root,zabbix) /var/lib/zabbix
653 %ghost %attr(644,zabbix,zabbix) /var/lib/zabbix/zabbix.db
658 %defattr(644,root,root,755)
659 %attr(755,root,root) %{_sbindir}/zabbix_java-start
660 %attr(755,root,root) %{_sbindir}/zabbix_java-stop
661 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_java.conf
662 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback.xml
663 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback-console.xml
664 %dir %{_datadir}/zabbix_java
665 %{_datadir}/zabbix_java/bin
666 %{_datadir}/zabbix_java/lib
667 %{_datadir}/zabbix_java/settings.sh
668 %attr(755,root,root) %{_datadir}/zabbix_java/shutdown.sh
669 %attr(755,root,root) %{_datadir}/zabbix_java/startup.sh
670 %{systemdunitdir}/zabbix_java.service