Fixed errors related to disabled Persistent buffer file on agent2

This commit is contained in:
Alexey Pustovalov 2025-01-02 20:58:14 +09:00
parent 997a38affd
commit df1d76319d

View File

@ -199,6 +199,7 @@ function Prepare-Zbx-Agent-Config {
}
else {
Set-Item env:ZBX_ENABLEPERSISTENTBUFFER -Value $null
Set-Item env:ZBX_PERSISTENTBUFFERFILE -Value $null
}
if ([string]::IsNullOrWhitespace($env:ZBX_ENABLESTATUSPORT)) {