diff --git a/Dockerfiles/agent2/alpine/docker-entrypoint.sh b/Dockerfiles/agent2/alpine/docker-entrypoint.sh index 9529c3638..5edcd6ebd 100755 --- a/Dockerfiles/agent2/alpine/docker-entrypoint.sh +++ b/Dockerfiles/agent2/alpine/docker-entrypoint.sh @@ -152,11 +152,8 @@ prepare_zbx_agent_config() { else update_config_var $ZBX_AGENT_CONFIG "ServerActive" fi -<<<<<<< HEAD -======= - update_config_var $ZBX_AGENT_CONFIG "HeartbeatFrequency" "${ZBX_HEARTBEAT_FREQUENCY}" + update_config_var $ZBX_AGENT_CONFIG "ForceActiveChecksOnStart" "${ZBX_FORCEACTIVECHECKSONSTART}" ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) if [ "${ZBX_ENABLEPERSISTENTBUFFER,,}" == "true" ]; then update_config_var $ZBX_AGENT_CONFIG "EnablePersistentBuffer" "1" diff --git a/Dockerfiles/agent2/centos/docker-entrypoint.sh b/Dockerfiles/agent2/centos/docker-entrypoint.sh index 9529c3638..5edcd6ebd 100755 --- a/Dockerfiles/agent2/centos/docker-entrypoint.sh +++ b/Dockerfiles/agent2/centos/docker-entrypoint.sh @@ -152,11 +152,8 @@ prepare_zbx_agent_config() { else update_config_var $ZBX_AGENT_CONFIG "ServerActive" fi -<<<<<<< HEAD -======= - update_config_var $ZBX_AGENT_CONFIG "HeartbeatFrequency" "${ZBX_HEARTBEAT_FREQUENCY}" + update_config_var $ZBX_AGENT_CONFIG "ForceActiveChecksOnStart" "${ZBX_FORCEACTIVECHECKSONSTART}" ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) if [ "${ZBX_ENABLEPERSISTENTBUFFER,,}" == "true" ]; then update_config_var $ZBX_AGENT_CONFIG "EnablePersistentBuffer" "1" diff --git a/Dockerfiles/agent2/ol/docker-entrypoint.sh b/Dockerfiles/agent2/ol/docker-entrypoint.sh index 9529c3638..5edcd6ebd 100755 --- a/Dockerfiles/agent2/ol/docker-entrypoint.sh +++ b/Dockerfiles/agent2/ol/docker-entrypoint.sh @@ -152,11 +152,8 @@ prepare_zbx_agent_config() { else update_config_var $ZBX_AGENT_CONFIG "ServerActive" fi -<<<<<<< HEAD -======= - update_config_var $ZBX_AGENT_CONFIG "HeartbeatFrequency" "${ZBX_HEARTBEAT_FREQUENCY}" + update_config_var $ZBX_AGENT_CONFIG "ForceActiveChecksOnStart" "${ZBX_FORCEACTIVECHECKSONSTART}" ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) if [ "${ZBX_ENABLEPERSISTENTBUFFER,,}" == "true" ]; then update_config_var $ZBX_AGENT_CONFIG "EnablePersistentBuffer" "1" diff --git a/Dockerfiles/agent2/rhel/docker-entrypoint.sh b/Dockerfiles/agent2/rhel/docker-entrypoint.sh index 9529c3638..5edcd6ebd 100755 --- a/Dockerfiles/agent2/rhel/docker-entrypoint.sh +++ b/Dockerfiles/agent2/rhel/docker-entrypoint.sh @@ -152,11 +152,8 @@ prepare_zbx_agent_config() { else update_config_var $ZBX_AGENT_CONFIG "ServerActive" fi -<<<<<<< HEAD -======= - update_config_var $ZBX_AGENT_CONFIG "HeartbeatFrequency" "${ZBX_HEARTBEAT_FREQUENCY}" + update_config_var $ZBX_AGENT_CONFIG "ForceActiveChecksOnStart" "${ZBX_FORCEACTIVECHECKSONSTART}" ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) if [ "${ZBX_ENABLEPERSISTENTBUFFER,,}" == "true" ]; then update_config_var $ZBX_AGENT_CONFIG "EnablePersistentBuffer" "1" diff --git a/Dockerfiles/agent2/ubuntu/docker-entrypoint.sh b/Dockerfiles/agent2/ubuntu/docker-entrypoint.sh index 9529c3638..5edcd6ebd 100755 --- a/Dockerfiles/agent2/ubuntu/docker-entrypoint.sh +++ b/Dockerfiles/agent2/ubuntu/docker-entrypoint.sh @@ -152,11 +152,8 @@ prepare_zbx_agent_config() { else update_config_var $ZBX_AGENT_CONFIG "ServerActive" fi -<<<<<<< HEAD -======= - update_config_var $ZBX_AGENT_CONFIG "HeartbeatFrequency" "${ZBX_HEARTBEAT_FREQUENCY}" + update_config_var $ZBX_AGENT_CONFIG "ForceActiveChecksOnStart" "${ZBX_FORCEACTIVECHECKSONSTART}" ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) if [ "${ZBX_ENABLEPERSISTENTBUFFER,,}" == "true" ]; then update_config_var $ZBX_AGENT_CONFIG "EnablePersistentBuffer" "1" diff --git a/Dockerfiles/agent2/windows/docker-entrypoint.ps1 b/Dockerfiles/agent2/windows/docker-entrypoint.ps1 index 36cb401d9..3b6753055 100644 --- a/Dockerfiles/agent2/windows/docker-entrypoint.ps1 +++ b/Dockerfiles/agent2/windows/docker-entrypoint.ps1 @@ -163,11 +163,8 @@ function Prepare-Zbx-Agent-Config { else { Update-Config-Var $ZbxAgentConfig "ServerActive" } -<<<<<<< HEAD -======= - Update-Config-Var $ZbxAgentConfig "HeartbeatFrequency" "$env:ZBX_HEARTBEAT_FREQUENCY" + Update-Config-Var $ZbxAgentConfig "ForceActiveChecksOnStart" "$env:ZBX_FORCEACTIVECHECKSONSTART" ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) if ([string]::IsNullOrWhitespace($env:ZBX_ENABLEPERSISTENTBUFFER)) { $env:ZBX_ENABLEPERSISTENTBUFFER="true" diff --git a/env_vars/.env_agent b/env_vars/.env_agent index 26392113f..eab36e2cc 100644 --- a/env_vars/.env_agent +++ b/env_vars/.env_agent @@ -2,11 +2,7 @@ # ZBX_DEBUGLEVEL=3 # ZBX_ENABLEREMOTECOMMANDS=0 # Deprecated since 5.0.0 # ZBX_LOGREMOTECOMMANDS=0 -<<<<<<< HEAD -======= # ZBX_FORCEACTIVECHECKSONSTART=0 # Available since 6.0.2 -# ZBX_HEARTBEAT_FREQUENCY=60 # Available since 6.2 ->>>>>>> d4f6f4946 (Fixed missing and incorrect variables) # ZBX_HOSTINTERFACE= # Available since 4.4.0 # ZBX_HOSTINTERFACEITEM= # Available since 4.4.0 # ZBX_SERVER_HOST=zabbix-server