dav3860 / vmbix

Fork of vmbix, a TCP proxy for querying a VMWare infrastucture with Zabbix
53 stars 19 forks source link

vmbix-object-sync: get_hosts_by_group returns wrong hosts #46

Open sekyt opened 7 years ago

sekyt commented 7 years ago

There is array extend method used instead of append in vmbix-object-sync script function get_hosts_by_group. If wrong setup of zabbix groups appears, this function gives wrong results. Proper function to add another value to the list here is append. My patch for this is included. vmbix-object-sync.patch.txt

dav3860 commented 7 years ago

thank you for this. I'll add it to a future version.