itmicus / zabbix

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

Timeout executing shell script (Hyper-V Template) #54

Open ErMaqui opened 4 years ago

ErMaqui commented 4 years ago

Hi,

I have a problem with the Hyper-V template. Some of the items doesn't work, because shell script gives a timeout.

Example running from console:

zabbix_get.exe -s myhost -k hyperv.host[discover,vm_na]
ZBX_NOTSUPPORTED: Timeout while executing a shell script.

Can you give me any advice about this?

Thanks,

studenttmb commented 3 years ago

попробуйте увеличить в zabbix_agentd.conf на вашем клиенте параметр timeout=30

wmorgue commented 3 years ago

Hi @ErMaqui You steel need help with this issue?

ErMaqui commented 3 years ago

I've tried right now, and same response:

C:\zabbix\bin>zabbix_get.exe -s 192.168.1.31 -k hyperv.host[discover,vm_na]
ZBX_NOTSUPPORTED: Timeout while executing a shell script.