a-schild / Zabbix-HyperV-Templates

Zabbix Templates and agent script for HyperV monitoring
53 stars 29 forks source link

Zabbix agent service cannot start after copying zabbix-vm-perf.ps1 #22

Closed asim-mits closed 1 week ago

asim-mits commented 1 week ago

Zabbix agent service cannot start after copying zabbix-vm-perf.ps1 to C:\Program Files\Zabbix Agent\zabbix_agentd.d

I have signed it with certificate and also ran "Set-ExecutionPolicy -ExecutionPolicy Unrestricted -Scope LocalMachine".

My windows server is Server 2022 standard and I am using zabbix7 clients and server.

The client installed is "zabbix_agent-7.0.3-windows-amd64-openssl".

How can I fix it ?

asim-mits commented 1 week ago

Ignore, I was copying the wrong file. I had to copy hyper-v.conf in C:\Program files\Zabbix Agent 2\zabbix_agentd.d.

Zabbix service runs fine.