Hello All,
I hope you all are doing good.
I am testing vcenter monitoring using powershell script,i have a script which connects to vcenter and gather some information about the services state. It uses bellow command to connect to vcenter
" Connect-VIserver 192.168.*.* -User root -Password ******"
Usually when i run from my zabbix server(ubuntu 20) open terminal and type "pwsh" and try above command to connect to vcenter it works fine.
But when i try to do using zabbix "system.run" it gives me timeout error, below is the key i was using
system.run[/usr/bin/pwsh -Command "/home/script.ps1"]
I hope you all are doing good.
I am testing vcenter monitoring using powershell script,i have a script which connects to vcenter and gather some information about the services state. It uses bellow command to connect to vcenter
" Connect-VIserver 192.168.*.* -User root -Password ******"
Usually when i run from my zabbix server(ubuntu 20) open terminal and type "pwsh" and try above command to connect to vcenter it works fine.
But when i try to do using zabbix "system.run" it gives me timeout error, below is the key i was using
system.run[/usr/bin/pwsh -Command "/home/script.ps1"]
Comment