diff --git a/Deploy-ZabbixAgent2.ps1 b/Deploy-ZabbixAgent2.ps1 index 050782a..a8a7ae9 100644 --- a/Deploy-ZabbixAgent2.ps1 +++ b/Deploy-ZabbixAgent2.ps1 @@ -6,7 +6,7 @@ $ErrorActionPreference = "Stop" # --- 1. Versioned Idempotency Check --- $markerDir = "C:\ProgramData\Zabbix" -$marker = "$markerDir\installed_v2.flag" +$marker = "$markerDir\installed_v3.flag" $service = Get-Service -Name "Zabbix Agent 2" -ErrorAction SilentlyContinue if ((Test-Path $marker) -and ($service -and $service.Status -eq "Running")) {