itmicus / zabbix

Zabbix Templates
GNU General Public License v3.0
155 stars 264 forks source link

Error while working with the template #49

Open awakehaven opened 4 years ago

awakehaven commented 4 years ago

5516:20191128:144542.700 Failed to execute command "powershell -NoProfile -ExecutionPolicy Bypass -File "C:\Program Files\Zabbix Agent\scripts\os_windows_active.ps1" -ActionType "get" -Key "inventory" -Value """: Timeout while executing a shell script. 5516:20191128:144542.700 active check "os.windows.active[get,inventory]" is not supported: Timeout while executing a shell script.

What could be the problem, tell me please

wmorgue commented 3 years ago

Hi @awakehaven You steel need help with this issue?

hlovdal commented 2 years ago

The default timeout is just 3 seconds, you can increase with the Timeout parameter in zabbix_agentd.conf. https://note.wdm.net.ua/zabbix-agent-timeout-while-executing-a-shell-script/