Fixed errors related to disabled Persistent buffer file on agent2

This commit is contained in:
Alexey Pustovalov 2025-01-02 20:55:34 +09:00
parent 4a412e608a
commit daa1d4226b
5 changed files with 5 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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