mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-01-10 23:59:06 +01:00
Fixed errors related to disabled Persistent buffer file on agent2
This commit is contained in:
parent
4a412e608a
commit
daa1d4226b
@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
|
|||||||
export ZBX_ENABLEPERSISTENTBUFFER=1
|
export ZBX_ENABLEPERSISTENTBUFFER=1
|
||||||
else
|
else
|
||||||
unset ZBX_ENABLEPERSISTENTBUFFER
|
unset ZBX_ENABLEPERSISTENTBUFFER
|
||||||
|
unset ZBX_PERSISTENTBUFFERFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
||||||
|
@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
|
|||||||
export ZBX_ENABLEPERSISTENTBUFFER=1
|
export ZBX_ENABLEPERSISTENTBUFFER=1
|
||||||
else
|
else
|
||||||
unset ZBX_ENABLEPERSISTENTBUFFER
|
unset ZBX_ENABLEPERSISTENTBUFFER
|
||||||
|
unset ZBX_PERSISTENTBUFFERFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
||||||
|
@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
|
|||||||
export ZBX_ENABLEPERSISTENTBUFFER=1
|
export ZBX_ENABLEPERSISTENTBUFFER=1
|
||||||
else
|
else
|
||||||
unset ZBX_ENABLEPERSISTENTBUFFER
|
unset ZBX_ENABLEPERSISTENTBUFFER
|
||||||
|
unset ZBX_PERSISTENTBUFFERFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
||||||
|
@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
|
|||||||
export ZBX_ENABLEPERSISTENTBUFFER=1
|
export ZBX_ENABLEPERSISTENTBUFFER=1
|
||||||
else
|
else
|
||||||
unset ZBX_ENABLEPERSISTENTBUFFER
|
unset ZBX_ENABLEPERSISTENTBUFFER
|
||||||
|
unset ZBX_PERSISTENTBUFFERFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
||||||
|
@ -177,6 +177,7 @@ prepare_zbx_agent_config() {
|
|||||||
export ZBX_ENABLEPERSISTENTBUFFER=1
|
export ZBX_ENABLEPERSISTENTBUFFER=1
|
||||||
else
|
else
|
||||||
unset ZBX_ENABLEPERSISTENTBUFFER
|
unset ZBX_ENABLEPERSISTENTBUFFER
|
||||||
|
unset ZBX_PERSISTENTBUFFERFILE
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
if [ "${ZBX_ENABLESTATUSPORT,,}" == "true" ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user