From d88dfb2fb230781b99db397cf8a36244ef3bf11c Mon Sep 17 00:00:00 2001 From: Andreas Lindemark <andreas.lindemark@liu.se> Date: Wed, 2 Apr 2025 19:08:37 +0200 Subject: [PATCH] Modified the path for $customConfigPath --- Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 b/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 index 6ba581d..eead0e0 100644 --- a/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 +++ b/Windows/ZabbixAgent/CheckAndStartZabbixAgent2.ps1 @@ -2,7 +2,7 @@ $domainName = (Get-CimInstance -ClassName Win32_ComputerSystem).Domain # Path to the custom configuration file on SYSVOL using the dynamic domain name -$customConfigPath = "\\$domainName\SYSVOL\$domainName\scripts\zabbix_agent2.conf" +$customConfigPath = "\\$domainName\SYSVOL\$domainName\Configs\zabbix_agent2.conf" # Path to the Zabbix Agent 2 configuration file $agentConfigPath = "C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf" -- GitLab