From 85f9c172def0301b7b1704fdb393da0eed7823eb Mon Sep 17 00:00:00 2001 From: DistractADD Date: Mon, 14 Sep 2026 11:29:02 +1000 Subject: [PATCH] Update Deploy-ZabbixAgent2.ps1 --- Deploy-ZabbixAgent2.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Deploy-ZabbixAgent2.ps1 b/Deploy-ZabbixAgent2.ps1 index a8a7ae9..531bcd1 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_v3.flag" +$marker = "$markerDir\installed_v4.flag" $service = Get-Service -Name "Zabbix Agent 2" -ErrorAction SilentlyContinue if ((Test-Path $marker) -and ($service -and $service.Status -eq "Running")) {