Ad Widget

Collapse

How can I change the group of vmware discovery?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • baalchina
    Junior Member
    • Jan 2020
    • 24

    #1

    How can I change the group of vmware discovery?

    Hi, all

    I am using zabbix 6.0 to monitor my vmware vsphere. Everything works fine except the group name. Zabbix will auto discovery all of my esxi hypervisor, and put them in the new discoveried host group which is the datacenter name of my vsphere cluster. While I want to add the hypervisors in my own host group, such as VMWare.

    I tried to modify the group protypes in Host prototypes, discover vmware hypervisors, but report a sql error, like this:

    Click image for larger version

Name:	image.png
Views:	805
Size:	99.7 KB
ID:	464006

    Code:
    [LIST][*]Error in query [DELETE FROM group_prototype WHERE (group_prototypeid IN ('1','2'))] [Cannot delete or update a parent row: a foreign key constraint fails (`zabbix`.`group_discovery`, CONSTRAINT `c_group_discovery_2` FOREIGN KEY (`parent_group_prototypeid`) REFERENCES `group_prototype` (`group_prototypeid`))][*]SQL statement execution has failed "DELETE FROM group_prototype WHERE (group_prototypeid IN ('1','2'))"[/LIST]​

    So, how can I change this?
Working...