2 # - initscript for 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_sqlite3:sqlite3} %{?with_pgsql:postgresql} %{?with_mysql:mysql}
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: 954dd640973e476a619d0665553a3207
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
29 Source7: %{name}_agentd.init
31 Patch1: sqlite3_dbname.patch
32 Patch2: always_compile_ipc.patch
33 URL: http://zabbix.sourceforge.net/
34 BuildRequires: OpenIPMI-devel
35 BuildRequires: autoconf
36 BuildRequires: automake >= 1:1.15
37 BuildRequires: curl-devel
38 BuildRequires: iksemel-devel
39 %{?with_java:BuildRequires: jdk}
40 BuildRequires: libevent-devel
41 BuildRequires: libssh2-devel
42 BuildRequires: libtool
43 BuildRequires: libxml2-devel
44 %{?with_mysql:BuildRequires: mysql-devel}
45 BuildRequires: net-snmp-devel
46 BuildRequires: openldap-devel >= 2.4.6
47 BuildRequires: openssl-devel >= 0.9.7d
48 BuildRequires: pcre-devel
49 %{?with_pgsql:BuildRequires: postgresql-devel}
50 BuildRequires: rpmbuild(macros) >= 1.671
51 %{?with_sqlite3:BuildRequires: sqlite3-devel}
52 BuildRequires: unixODBC-devel
53 Requires: %{name}-agentd = %{version}-%{release}
54 Requires: %{name}-frontend-php = %{version}-%{release}
55 Requires: %{name}-server = %{version}-%{release}
56 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
58 %define _sysconfdir /etc/%{name}
59 %define _appdir %{_datadir}/%{name}
60 %define _webapps /etc/webapps
61 %define _webapp %{name}
64 Zabbix is software that monitors numerous parameters of a network and
65 the servers on that network. It is a useful tool for monitoring the
66 health and integrity of servers. Zabbix uses a flexible notification
67 mechanism that allows users to configure email based alerts for
68 virtually any event. All monitored parameters are stored in a
69 database. Zabbix offers excellent reporting and data visualisation
70 features based on the stored data. Zabbix supports both polling and
71 trapping. All Zabbix reports and statistics, as well as configuration
72 parameters, are accessed through a web-based front end.
74 %description -l pl.UTF-8
75 Zabbix to oprogramowanie do monitorowania licznych parametrów sieci i
76 serwerów sieciowych. Jest przydatny przy monitorowaniu działania
77 serwerów. Jorzysta z elastycznego mechanizmu powiadamiania, który
78 pozwala użytkownikom konfigurować powiadamianie pocztą elektroniczną
79 dla praktycznie wszelkich zdarzeń. Monitorowane parametry są
80 przechowywane w bazie danych. W oparciu o przechowywane dane Zabbix
81 oferuje świetne raportowanie i funkcje wizualizacji. Wspiera zarówno
82 odpytywanie jak i pułapkowanie. Dostęp do wszystkich raportów i
83 statystyk Zabbiksa jest możliwy poprzez interfejs oparty o WWW.
86 Summary: Common files for Zabbix monitoring software
87 Summary(pl.UTF-8): Wspólne pliki dla oprogramowania monitorującego Zabbix
88 Group: Networking/Utilities
89 Requires(postun): /usr/sbin/groupdel
90 Requires(postun): /usr/sbin/userdel
91 Requires(pre): /bin/id
92 Requires(pre): /usr/bin/getgid
93 Requires(pre): /usr/sbin/groupadd
94 Requires(pre): /usr/sbin/useradd
95 Provides: group(zabbix)
96 Provides: user(zabbix)
99 Common files for Zabbix monitoring software.
101 %description common -l pl.UTF-8
102 Wspólne pliki dla oprogramowania monitorującego Zabbix.
105 Summary: Zabbix Agent
106 Summary(pl.UTF-8): Agenta Zabbiksa
107 Group: Networking/Utilities
108 Requires: %{name}-common = %{version}-%{release}
109 Requires: systemd-units >= 38
110 Obsoletes: zabbix-agent-inetd
111 Obsoletes: zabbix-agent-standalone
112 Requires(post,preun): /sbin/chkconfig
116 Zabbix agent collects data from the local system for a Zabbix server.
118 %description agentd -l pl.UTF-8
119 Agent zbiera dane z lokalnej maszyny dla serwera Zabbix.
121 %package frontend-php
122 Summary: PHP frontend for Zabbix
123 Summary(pl.UTF-8): Interfejs PHP dla Zabbiksa
124 Group: Applications/WWW
125 Requires: php(bcmath)
126 Requires: php(core) >= %{php_min_version}
129 Requires: php(gettext)
131 Requires: php(mbstring)
133 Requires: php(session)
134 Requires: php(sockets)
136 Requires: php(xmlreader)
137 Requires: php(xmlwriter)
139 Requires: webserver(alias)
140 Requires: webserver(indexfile)
141 Requires: webserver(php)
144 Suggests: php(sqlite3)
146 Suggests: php(sysvsem)
149 %description frontend-php
150 This package provides web based (PHP) frontend for Zabbix.
152 %description frontend-php -l pl.UTF-8
153 Ten pakiet dostarcza napisany w PHP frontend dla Zabbiksa.
156 Summary: Program retrieving data from Zabbix agent
157 Summary(pl.UTF-8): Program odpytujÄcy agenta Zabbiksa
158 Group: Networking/Utilities
161 This package provides a program retrieving data from Zabbix agent.
163 %description get -l pl.UTF-8
164 Ten pakiet zawiera program odpytujÄcy agenta Zabbiksa.
167 Summary: Zabbix proxy
168 Summary(pl.UTF-8): Proxy do Zabbiksa
169 Group: Networking/Utilities
170 Requires: %{name}-common = %{version}-%{release}
171 Requires: systemd-units >= 38
172 Requires: zabbix-proxy(db) = %{version}-%{release}
175 This package provides the Zabbix proxy.
177 %description proxy -l pl.UTF-8
178 Ten pakiet zawiera proxy Zabbix.
181 Summary: MySQL support for Zabbix proxy
182 Summary(pl.UTF-8): Obsługa MySQL dla proxy do Zabbiksa
183 Group: Networking/Utilities
184 Provides: %{name}-proxy(db) = %{version}-%{release}
185 Obsoletes: zabbix-proxy-postgresql
186 Obsoletes: zabbix-proxy-sqlite3
188 %description proxy-mysql
189 This package provides the Zabbix proxy binary with MySQL support.
191 %description proxy-mysql -l pl.UTF-8
192 Ten pakiet zawiera proxy Zabbix z obsługą MySQL.
194 %package proxy-postgresql
195 Summary: PostgreSQL support for Zabbix proxy
196 Summary(pl.UTF-8): Obsługa PostgreSQL dla proxy do Zabbiksa
197 Group: Networking/Utilities
198 Provides: %{name}-proxy(db) = %{version}-%{release}
199 Obsoletes: zabbix-proxy-mysql
200 Obsoletes: zabbix-proxy-sqlite3
202 %description proxy-postgresql
203 This package provides the Zabbix proxy binary with PostgreSQL support.
205 %description proxy-postgresql -l pl.UTF-8
206 Ten pakiet zawiera proxy Zabbix z obsługą PostgreSQL.
208 %package proxy-sqlite3
209 Summary: SQLite 3 support for Zabbix proxy
210 Summary(pl.UTF-8): Obsługa SQLite 3 dla proxy do Zabbiksa
211 Group: Networking/Utilities
212 Provides: %{name}-proxy(db) = %{version}-%{release}
213 Obsoletes: zabbix-proxy-mysql
214 Obsoletes: zabbix-proxy-postgresql
216 %description proxy-sqlite3
217 This package provides the Zabbix proxy binary with SQLite 3 support.
219 %description proxy-sqlite3 -l pl.UTF-8
220 Ten pakiet zawiera proxy Zabbix z obsługą SQLite 3.
223 Summary: Zabbix sender
224 Summary(pl.UTF-8): Program zawiadamiający Zabbiksa
225 Group: Networking/Utilities
228 This package provides the Zabbix sender.
230 %description sender -l pl.UTF-8
231 Ten pakiet zawiera program zawiadamiający Zabbiksa.
234 Summary: Zabbix server
235 Summary(pl.UTF-8): Serwer Zabbiksa
236 Group: Networking/Utilities
237 Requires: %{name}-common = %{version}-%{release}
238 Requires: %{name}-server(db) = %{version}-%{release}
239 Requires: systemd-units >= 38
240 Obsoletes: zabbix-suckerd
241 Obsoletes: zabbix-trapper-inetd
242 Obsoletes: zabbix-trapper-standalone
245 This package provides the Zabbix server.
247 %description server -l pl.UTF-8
248 Ten pakiet zawiera serwer Zabbiksa.
250 %package server-mysql
251 Summary: MySQL support for Zabbix server
252 Summary(pl.UTF-8): Obsługa MySQL sla serwera Zabbiksa
253 Group: Networking/Utilities
254 Provides: %{name}-server(db) = %{version}-%{release}
255 Obsoletes: zabbix-server-postgresql
256 Obsoletes: zabbix-server-sqlite3
258 %description server-mysql
259 This package provides the Zabbix server binary for use with MySQL
262 %description server-mysql -l pl.UTF-8
263 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych MySQL.
265 %package server-postgresql
266 Summary: PostgreSQL support for Zabbix server
267 Summary(pl.UTF-8): Obsługa PostgreSQL sla serwera Zabbiksa
268 Group: Networking/Utilities
269 Provides: %{name}-server(db) = %{version}-%{release}
270 Obsoletes: zabbix-server-mysql
271 Obsoletes: zabbix-server-sqlite3
273 %description server-postgresql
274 This package provides the Zabbix server binary for use with PostgreSQL
277 %description server-postgresql -l pl.UTF-8
278 Ten pakiet zawiera serwer Zabbiksa z obsługą bazy danych PostgreSQL.
281 Summary: Zabbix Java Gateway
282 Group: Networking/Utilities
283 Requires: %{name}-common = %{version}-%{release}
284 Requires: systemd-units >= 38
287 This package provides the Zabbix Java Gateway.
307 %{__enable_disable java} \
326 # keep timestamps to prevent unneccessary rebuilds
327 cp -a include/config.h include/config.h.old
328 cp -a include/stamp-h1 include/stamp-h1.old
330 for database in %{databases} ; do
331 if [ "$database" = "sqlite3" ] ; then
334 enable_server="--enable-server"
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
354 if [ "$enable_server" ] ; then
356 -C src/zabbix_server \
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 -C src/zabbix_proxy \
369 DESTDIR=$PWD/install-${database}
373 rm -rf $RPM_BUILD_ROOT
374 install -d $RPM_BUILD_ROOT{%{_sysconfdir},/etc/rc.d/init.d,/etc/webapps/%{_webapp},%{_appdir}} \
375 $RPM_BUILD_ROOT{/var/run/zabbix,/var/log/zabbix,%{systemdunitdir},%{systemdtmpfilesdir}}
378 DESTDIR=$RPM_BUILD_ROOT \
379 ZJG_DEST=$RPM_BUILD_ROOT%{_datadir}/zabbix_java
381 for database in %{databases} ; do
382 if [ "$database" != "sqlite3" ] ; then
383 cp -p install-$database/%{_sbindir}/zabbix_server \
384 $RPM_BUILD_ROOT%{_sbindir}/zabbix_server-$database
386 cp -p install-$database/%{_sbindir}/zabbix_proxy \
387 $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy-$database
390 if [ -n "$database" ] ; then
391 ln -sf %{_sbindir}/zabbix_server-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_server
392 ln -sf %{_sbindir}/zabbix_proxy-$database $RPM_BUILD_ROOT%{_sbindir}/zabbix_proxy
396 install -d $RPM_BUILD_ROOT/var/lib/zabbix
397 touch $RPM_BUILD_ROOT/var/lib/zabbix/zabbix.db
400 cp -r frontends $RPM_BUILD_ROOT%{_appdir}
402 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/apache.conf
403 cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_webapps}/%{_webapp}/httpd.conf
405 install %{SOURCE2} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_server.service
406 install %{SOURCE3} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_agentd.service
407 install %{SOURCE7} $RPM_BUILD_ROOT/etc/rc.d/init.d/zabbix_agentd
408 install %{SOURCE4} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_proxy.service
409 install %{SOURCE5} $RPM_BUILD_ROOT%{systemdunitdir}/zabbix_java.service
411 cp -p %{SOURCE6} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/zabbix.conf
413 mv $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf $RPM_BUILD_ROOT%{_sysconfdir}/frontend
414 ln -s %{_sysconfdir}/frontend $RPM_BUILD_ROOT%{_appdir}/frontends/php/conf
415 touch $RPM_BUILD_ROOT%{_sysconfdir}/frontend/zabbix.conf.php
418 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh $RPM_BUILD_ROOT%{_sysconfdir}/zabbix_java.conf
419 ln -s %{_sysconfdir}/zabbix_java.conf $RPM_BUILD_ROOT%{_datadir}/zabbix_java/settings.sh
420 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback.xml
421 ln -s %{_sysconfdir}/java-logback.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback.xml
422 mv $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml $RPM_BUILD_ROOT%{_sysconfdir}/java-logback-console.xml
423 ln -s %{_sysconfdir}/java-logback-console.xml $RPM_BUILD_ROOT%{_datadir}/zabbix_java/lib/logback-console.xml
425 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-start <<'EOF'
428 exec %{_datadir}/zabbix_java/startup.sh "$@"
431 cat >$RPM_BUILD_ROOT%{_sbindir}/zabbix_java-stop <<'EOF'
434 exec %{_datadir}/zabbix_java/shutdown.sh "$@"
439 rm -rf $RPM_BUILD_ROOT
441 %triggerin frontend-php -- apache1 < 1.3.37-3, apache1-base
442 %webapp_register apache %{_webapp}
444 %triggerun frontend-php -- apache1 < 1.3.37-3, apache1-base
445 %webapp_unregister apache %{_webapp}
447 %triggerin frontend-php -- apache < 2.2.0, apache-base
448 %webapp_register httpd %{_webapp}
450 %triggerun frontend-php -- apache < 2.2.0, apache-base
451 %webapp_unregister httpd %{_webapp}
454 %groupadd -g 111 zabbix
455 %useradd -d / -u 111 -g zabbix -c "Zabbix User" -s /bin/false zabbix
456 %addusertogroup -q zabbix proc
459 if [ "$1" = "0" ]; then
465 if [ "$1" = 1 ]; then
466 %banner -e %{name}-server <<-EOF
467 You should create database for Zabbix.
469 Running these should be fine in most cases:
470 mysqladmin create zabbix
471 zcat %{_docdir}/%{name}-server-mysql-%{version}/schema.sql.gz | mysql zabbix
472 zcat %{_docdir}/%{name}-server-mysql-%{version}/images.sql.gz | mysql zabbix
473 zcat %{_docdir}/%{name}-server-mysql-%{version}/data.sql.gz | mysql zabbix
476 ln -sf %{_sbindir}/zabbix_server-mysql %{_sbindir}/zabbix_server || :
478 %post server-postgresql
479 if [ "$1" = 1 ]; then
480 %banner -e %{name}-server <<-EOF
481 You should create database for Zabbix.
483 Running these should be fine in most cases:
486 createdb -O zabbix zabbix
487 zcat %{_docdir}/%{name}-server-postgresql-%{version}/schema.sql.gz | psql -u zabbix zabbix
488 zcat %{_docdir}/%{name}-server-postgresql-%{version}/images.sql.gz | psql -u zabbix zabbix
489 zcat %{_docdir}/%{name}-server-postgresql-%{version}/data.sql.gz | psql -u zabbix zabbix
492 ln -sf %{_sbindir}/zabbix_server-postgresql %{_sbindir}/zabbix_server || :
495 %systemd_post zabbix_server.service
498 %systemd_preun zabbix_server.service
501 if [ "$1" = "0" ]; then
502 if [ -L %{_sbindir}/zabbix_server ] ; then
503 rm -f %{_sbindir}/zabbix_server || :
509 /sbin/chkconfig --add zabbix_agentd
510 %service zabbix_agentd restart
511 %systemd_post zabbix_agentd.service
514 if [ "$1" = "0" ]; then
515 %service -q zabbix_agentd stop
516 /sbin/chkconfig --del zabbix_agentd
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) /var/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(754,root,root) /etc/rc.d/init.d/zabbix_agentd
571 %attr(755,root,root) %{_sbindir}/zabbix_agentd
572 %{_mandir}/man8/zabbix_agentd*
573 %{systemdunitdir}/zabbix_agentd.service
576 %defattr(644,root,root,755)
577 %attr(750,root,http) %dir %{_webapps}/%{_webapp}
578 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/apache.conf
579 %attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_webapps}/%{_webapp}/httpd.conf
580 %ghost %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php
581 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/.htaccess
582 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/maintenance.inc.php
583 %attr(640,root,http) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/frontend/zabbix.conf.php.example
584 %{_appdir}/frontends/php
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
651 %defattr(644,root,root,755)
652 %attr(755,root,root) %{_sbindir}/zabbix_java-start
653 %attr(755,root,root) %{_sbindir}/zabbix_java-stop
654 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/zabbix_java.conf
655 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback.xml
656 %attr(640,root,zabbix) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/java-logback-console.xml
657 %dir %{_datadir}/zabbix_java
658 %{_datadir}/zabbix_java/bin
659 %{_datadir}/zabbix_java/lib
660 %{_datadir}/zabbix_java/settings.sh
661 %attr(755,root,root) %{_datadir}/zabbix_java/shutdown.sh
662 %attr(755,root,root) %{_datadir}/zabbix_java/startup.sh
663 %{systemdunitdir}/zabbix_java.service