Skip to content

Commit

Permalink
Fixed errors related to disabled Persistent buffer file on agent2
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Jan 2, 2025
1 parent 4a412e6 commit daa1d42
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfiles/agent2/alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
export ZBX_ENABLEPERSISTENTBUFFER=1
else
unset ZBX_ENABLEPERSISTENTBUFFER
unset ZBX_PERSISTENTBUFFERFILE
fi

if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/agent2/centos/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
export ZBX_ENABLEPERSISTENTBUFFER=1
else
unset ZBX_ENABLEPERSISTENTBUFFER
unset ZBX_PERSISTENTBUFFERFILE
fi

if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/agent2/ol/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
export ZBX_ENABLEPERSISTENTBUFFER=1
else
unset ZBX_ENABLEPERSISTENTBUFFER
unset ZBX_PERSISTENTBUFFERFILE
fi

if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/agent2/rhel/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
export ZBX_ENABLEPERSISTENTBUFFER=1
else
unset ZBX_ENABLEPERSISTENTBUFFER
unset ZBX_PERSISTENTBUFFERFILE
fi

if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
Expand Down
1 change: 1 addition & 0 deletions Dockerfiles/agent2/ubuntu/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
export ZBX_ENABLEPERSISTENTBUFFER=1
else
unset ZBX_ENABLEPERSISTENTBUFFER
unset ZBX_PERSISTENTBUFFERFILE
fi

if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
Expand Down

0 comments on commit daa1d42

Please sign in to comment.