SHA256
1
0
forked from pool/zabbix

Accepting request 1160720 from home:bmanojlovic:branches:server:monitoring:zabbix

- remove all firewalld definitions as they are part of firewald package already

OBS-URL: https://build.opensuse.org/request/show/1160720
OBS-URL: https://build.opensuse.org/package/show/server:monitoring:zabbix/zabbix?expand=0&rev=54
This commit is contained in:
Boris Manojlovic 2024-03-22 16:26:04 +00:00 committed by Git OBS Bridge
parent 551a7ff4c7
commit a095fddab7
6 changed files with 5 additions and 45 deletions

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Zabbix Agent</short>
<description>Enables Zabbix Agent for monitoring data collection and sending to a Zabbix server.</description>
<port protocol="tcp" port="10050"/>
</service>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Zabbix Java Gateway</short>
<description>Enables Zabbix Java Gateway for JMX monitoring and data collection from Java applications.</description>
<port protocol="tcp" port="10052"/>
</service>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Zabbix Proxy</short>
<description>Enables Zabbix Proxy for data collection from monitored devices and sending to Zabbix server.</description>
<port protocol="tcp" port="10051"/>
</service>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<service>
<short>Zabbix Server</short>
<description>Enables Zabbix Server for processing monitoring data, sending notifications, and visualization.</description>
<port protocol="tcp" port="10051"/>
</service>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
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>

View File

@ -35,10 +35,6 @@ Source3: zabbix-java-gateway.sh
Source4: zabbix-logrotate.in
Source5: apache2-zabbix.conf
Source6: README.SUSE
Source7: zabbix-server.xml
Source8: zabbix-agentd.xml
Source9: zabbix-proxy.xml
Source10: zabbix-java-gateway.xml
Source11: zabbix-proxy.service
Source12: zabbix-agentd.service
Source13: zabbix-server.service
@ -396,11 +392,6 @@ sed -e 's|COMPONENT|proxy|g; s|USER|zabbixs|g' %{SOURCE4} > \
%fdupes %{buildroot}
# install firewalld service files
install -Dm 0644 %{SOURCE7} %{buildroot}%{_prefix}/lib/firewalld/services/zabbix-server.xml
install -Dm 0644 %{SOURCE8} %{buildroot}%{_prefix}/lib/firewalld/services/zabbix-agentd.xml
install -Dm 0644 %{SOURCE9} %{buildroot}%{_prefix}/lib/firewalld/services/zabbix-proxy.xml
install -Dm 0644 %{SOURCE10} %{buildroot}%{_prefix}/lib/firewalld/services/zabbix-java-gateway.xml
# install systemd unit files
install -Dm 0644 %{SOURCE11} %{buildroot}%{_unitdir}/zabbix_proxy.service
install -Dm 0644 %{SOURCE12} %{buildroot}%{_unitdir}/zabbix_agentd.service
@ -555,9 +546,6 @@ fi
%files server
%doc AUTHORS ChangeLog database/mysql database/oracle database/postgresql database/sqlite3 rn6.0.0.html README-SSL.SUSE
%config %{_prefix}/lib/firewalld/services/zabbix-server.xml
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/services
%dir %{_sysconfdir}/zabbix
%config(noreplace) %attr(0640, root, %{server_group}) %{_sysconfdir}/zabbix/zabbix_server.conf
%{_bindir}/zabbix_get
@ -579,9 +567,6 @@ fi
%files proxy
%doc README-SSL.SUSE
%config %{_prefix}/lib/firewalld/services/zabbix-proxy.xml
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/services
%{_sbindir}/zabbix_proxy
%{_sbindir}/zabbix-proxy
%{_sbindir}/rczabbix_proxy
@ -599,9 +584,6 @@ fi
%files agent
%doc README-SSL.SUSE
%config %{_prefix}/lib/firewalld/services/zabbix-agentd.xml
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/services
%dir %{_sysconfdir}/zabbix
%config(noreplace) %attr(0640, root, %{agent_group}) %{_sysconfdir}/zabbix/zabbix_agent*.conf
%{_sbindir}/rczabbix_agentd
@ -650,9 +632,6 @@ fi
%ghost %{_sysconfdir}/alternatives/zabbix_proxy
%files java-gateway
%config %{_prefix}/lib/firewalld/services/zabbix-java-gateway.xml
%dir %{_prefix}/lib/firewalld
%dir %{_prefix}/lib/firewalld/services
%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-log.xml