Commit 8928c81a authored by Yuri Aksenov's avatar Yuri Aksenov

We should change proxy configs instead of server

parent 21554f5c
......@@ -199,7 +199,7 @@ proxy: zabbix-proxy-service zabbix-proxy-config
sed -e 's|^DBUser=.*|# DBUser=|' -i /etc/zabbix_proxy.conf
sed -e 's|^Timeout=.*|Timeout=10|' -i /etc/zabbix_proxy.conf
sed -e 's|^# Include=/usr/local/etc/zabbix_proxy\.conf\.d/\*\.conf|Include=/etc/zabbix_proxy.conf.d/*.conf|' -i /etc/zabbix_proxy.conf
sed -e 's|^# StartIPMIPollers=0|StartIPMIPollers=1|' -i /etc/zabbix_server.conf
sed -e 's|^# StartIPMIPollers=0|StartIPMIPollers=1|' -i /etc/zabbix_proxy.conf
@echo "d /run/zabbix 755 zabbix zabbix -" > /usr/lib/tmpfiles.d/zabbix.conf
chmod u+s /bin/ping
@echo "$$ZABBIX_PROXY_SERVICE" > /lib/systemd/system/zabbix-proxy.service
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment