Commit 24771330 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev
Browse files

Increased timeout for simple checks to 10 seconds

parent a0b3f88c
......@@ -81,6 +81,7 @@ server: zabbix-server-service zabbix-server-config httpd-conf
sed -e 's|.*PidFile=.*|PidFile=/run/zabbix/|' -i /etc/zabbix_server.conf
sed -e 's|^DBName=.*|# DBName=|' -i /etc/zabbix_server.conf
sed -e 's|^DBUser=.*|# DBUser=|' -i /etc/zabbix_server.conf
sed -e 's|^Timeout=.*|Timeout=10|' -i /etc/zabbix_server.conf
sed -e 's|^# Include=/usr/local/etc/zabbix_server\.conf\.d/\*\.conf|Include=/etc/zabbix_server.conf.d/*.conf|' -i /etc/zabbix_server.conf
cp -rv zabbix-4.2.4/frontends/php/* /srv/www
cp zabbix.conf.php /srv/www/conf
......@@ -162,6 +163,7 @@ proxy: zabbix-proxy-service zabbix-proxy-config
sed -e 's|.*PidFile=.*|PidFile=/run/zabbix/|' -i /etc/zabbix_proxy.conf
sed -e 's|^DBName=.*|# DBName=|' -i /etc/zabbix_proxy.conf
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
@echo "d /run/zabbix 755 zabbix zabbix -" > /usr/lib/tmpfiles.d/zabbix.conf
chmod u+s /bin/ping
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