We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After zabbix 6 update I cannot add computer to a group anymore: PS C:\Windows\system32> Get-ZbxHost mdevweb*
hostid host name status
10129 mdevweb1.m.xo mdevweb1.m.xo Enabled 10130 mdevweb2.m.xo mdevweb2.m.xo Enabled
PS C:\Windows\system32> Get-ZbxHostGroup Maintenance
groupid internal flags name
14 0 0 Maintenance
PS C:\Windows\system32> Add-ZbxHostGroupMembership -Host (Get-ZbxHost mdevweb*) -HostGroup (Get-ZbxHostGroup Maintenance) Invoke-ZabbixApi : Invalid params. Invalid parameter "/hosts/1": an array is expected. At C:\Program Files\WindowsPowerShell\Modules\PSZabbix\1.2.0\PSZabbix.psm1:494 char:9
Invoke-ZabbixApi $session "host.massadd" $prms | select -Expa ...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have 1.2.0 version installed of the scipt and zabbix is version 6.0.1
This worked with 5.4 version of zabbix.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After zabbix 6 update I cannot add computer to a group anymore:
PS C:\Windows\system32> Get-ZbxHost mdevweb*
hostid host name status
10129 mdevweb1.m.xo mdevweb1.m.xo Enabled
10130 mdevweb2.m.xo mdevweb2.m.xo Enabled
PS C:\Windows\system32> Get-ZbxHostGroup Maintenance
groupid internal flags name
PS C:\Windows\system32> Add-ZbxHostGroupMembership -Host (Get-ZbxHost mdevweb*) -HostGroup (Get-ZbxHostGroup Maintenance)
Invoke-ZabbixApi : Invalid params. Invalid parameter "/hosts/1": an array is expected.
At C:\Program Files\WindowsPowerShell\Modules\PSZabbix\1.2.0\PSZabbix.psm1:494 char:9
I have 1.2.0 version installed of the scipt and zabbix is version 6.0.1
This worked with 5.4 version of zabbix.
The text was updated successfully, but these errors were encountered: