Hi,
I did a clean install of Zabbix 3.0 on CentOS 7 64-Bit from RPM to test VMware guest discovery.
I adjusted the zabbix_server.conf as following:
I added 2 different vCenter installations as outlined in the current documentation:
- Create a host
- Link template "Template Virt VMware" to it
- Set host macro for $URL (https://<fqdn>/sdk), $USERNAME and $PASSWORD
After increasing the log level for the VMware collector (zabbix_server -R log_level_increase="vmware collector") I can see that there's a successful authentication and discovery ongoing:
But no hosts are beeing created at all…
The web interface does only show the zabbix server itself and both vCenter hosts.
I cannot see anything happening in the inventory or in the MySQL database.
Any help is greatly appreciated.
Cheers,
Yves
I did a clean install of Zabbix 3.0 on CentOS 7 64-Bit from RPM to test VMware guest discovery.
I adjusted the zabbix_server.conf as following:
Code:
StartVMwareCollectors=2 VMwareFrequency=60 VMwarePerfFrequency=60 VMwareCacheSize=2G VMwareTimeout=30
I added 2 different vCenter installations as outlined in the current documentation:
- Create a host
- Link template "Template Virt VMware" to it
- Set host macro for $URL (https://<fqdn>/sdk), $USERNAME and $PASSWORD
After increasing the log level for the VMware collector (zabbix_server -R log_level_increase="vmware collector") I can see that there's a successful authentication and discovery ongoing:
Code:
9047:20160219:212415.259 In vmware_service_update_perf() domain\username@https://<fqdn>/sdk 9047:20160219:212415.259 In vmware_service_authenticate() 'domain\username'@'https://<fqdn>/sdk' 9047:20160219:212415.485 End of vmware_service_authenticate():SUCCEED
Code:
9048:20160219:212618.991 In wmware_vm_get_nic_devices() 9048:20160219:212618.991 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212618.991 In wmware_vm_get_disk_devices() 9048:20160219:212618.992 End of wmware_vm_get_disk_devices() found:2 9048:20160219:212618.992 End of vmware_service_create_vm():SUCCEED 9048:20160219:212618.992 In vmware_service_create_vm() vmid:'vm-236' 9048:20160219:212618.992 In vmware_service_get_vm_data() vmid:'vm-236' 9048:20160219:212618.998 End of vmware_service_get_vm_data():SUCCEED 9048:20160219:212618.998 In wmware_vm_get_nic_devices() 9048:20160219:212618.999 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212618.999 In wmware_vm_get_disk_devices() 9048:20160219:212619.000 End of wmware_vm_get_disk_devices() found:2 9048:20160219:212619.000 End of vmware_service_create_vm():SUCCEED 9048:20160219:212619.000 End of vmware_service_create_hv():SUCCEED 9048:20160219:212619.000 In vmware_service_create_hv() hvid:'host-255' 9048:20160219:212619.000 In vmware_service_get_hv_data() guesthvid:'host-255' 9048:20160219:212619.017 End of vmware_service_get_hv_data():SUCCEED 9048:20160219:212619.025 In vmware_service_create_datastore() datastore:'datastore-256' 9048:20160219:212619.027 End of vmware_service_create_datastore() 9048:20160219:212619.027 In vmware_service_create_datastore() datastore:'datastore-257' 9048:20160219:212619.028 End of vmware_service_create_datastore() 9048:20160219:212619.030 In vmware_service_create_vm() vmid:'vm-264' 9048:20160219:212619.030 In vmware_service_get_vm_data() vmid:'vm-264' 9048:20160219:212619.035 End of vmware_service_get_vm_data():SUCCEED 9048:20160219:212619.035 In wmware_vm_get_nic_devices() 9048:20160219:212619.036 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212619.036 In wmware_vm_get_disk_devices() 9048:20160219:212619.036 End of wmware_vm_get_disk_devices() found:1 9048:20160219:212619.037 End of vmware_service_create_vm():SUCCEED 9048:20160219:212619.037 In vmware_service_create_vm() vmid:'vm-263' 9048:20160219:212619.037 In vmware_service_get_vm_data() vmid:'vm-263' 9048:20160219:212619.041 End of vmware_service_get_vm_data():SUCCEED 9048:20160219:212619.042 In wmware_vm_get_nic_devices() 9048:20160219:212619.042 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212619.042 In wmware_vm_get_disk_devices() 9048:20160219:212619.043 End of wmware_vm_get_disk_devices() found:2 9048:20160219:212619.044 End of vmware_service_create_vm():SUCCEED 9048:20160219:212619.044 In vmware_service_create_vm() vmid:'vm-262' 9048:20160219:212619.044 In vmware_service_get_vm_data() vmid:'vm-262' 9048:20160219:212619.048 End of vmware_service_get_vm_data():SUCCEED 9048:20160219:212619.049 In wmware_vm_get_nic_devices() 9048:20160219:212619.049 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212619.049 In wmware_vm_get_disk_devices() 9048:20160219:212619.050 End of wmware_vm_get_disk_devices() found:1 9048:20160219:212619.050 End of vmware_service_create_vm():SUCCEED 9048:20160219:212619.050 In vmware_service_create_vm() vmid:'vm-261' 9048:20160219:212619.050 In vmware_service_get_vm_data() vmid:'vm-261' 9048:20160219:212619.055 End of vmware_service_get_vm_data():SUCCEED 9048:20160219:212619.055 In wmware_vm_get_nic_devices() 9048:20160219:212619.056 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212619.056 In wmware_vm_get_disk_devices() 9048:20160219:212619.057 End of wmware_vm_get_disk_devices() found:3 9048:20160219:212619.057 End of vmware_service_create_vm():SUCCEED 9048:20160219:212619.057 In vmware_service_create_vm() vmid:'vm-260' 9048:20160219:212619.057 In vmware_service_get_vm_data() vmid:'vm-260' 9048:20160219:212619.062 End of vmware_service_get_vm_data():SUCCEED 9048:20160219:212619.062 In wmware_vm_get_nic_devices() 9048:20160219:212619.063 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212619.063 In wmware_vm_get_disk_devices() 9048:20160219:212619.064 End of wmware_vm_get_disk_devices() found:2
Code:
9048:20160219:212620.567 In vmware_service_get_vm_data() vmid:'vm-827' 9047:20160219:212620.568 End of vmware_service_process_perf_entity_data() values:90 9047:20160219:212620.568 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55377 9047:20160219:212620.568 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55377 9047:20160219:212620.568 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5abe78 9047:20160219:212620.568 End of vmware_service_process_perf_entity_data() values:15 9047:20160219:212620.569 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55598 9047:20160219:212620.569 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55598 9047:20160219:212620.569 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5bbd28 9047:20160219:212620.569 End of vmware_service_process_perf_entity_data() values:13 9047:20160219:212620.569 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55623 9047:20160219:212620.569 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55623 9047:20160219:212620.569 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5b8138 9047:20160219:212620.570 End of vmware_service_process_perf_entity_data() values:13 9047:20160219:212620.570 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55601 9047:20160219:212620.570 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55601 9047:20160219:212620.570 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5b89c8 9047:20160219:212620.571 End of vmware_service_process_perf_entity_data() values:13 9047:20160219:212620.571 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55606 9047:20160219:212620.571 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55606 9047:20160219:212620.571 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5bb498 9048:20160219:212620.572 End of vmware_service_get_vm_data():SUCCEED 9047:20160219:212620.572 End of vmware_service_process_perf_entity_data() values:16 9047:20160219:212620.572 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55603 9047:20160219:212620.572 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55603 9047:20160219:212620.572 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5bca00 9048:20160219:212620.572 In wmware_vm_get_nic_devices() 9048:20160219:212620.573 End of wmware_vm_get_nic_devices() found:1 9048:20160219:212620.573 In wmware_vm_get_disk_devices() 9047:20160219:212620.573 End of vmware_service_process_perf_entity_data() values:20 9047:20160219:212620.573 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55602 9047:20160219:212620.573 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55602 9047:20160219:212620.573 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5bac08 9048:20160219:212620.573 End of wmware_vm_get_disk_devices() found:1 9048:20160219:212620.573 End of vmware_service_create_vm():SUCCEED 9048:20160219:212620.573 In vmware_service_create_vm() vmid:'vm-853' 9048:20160219:212620.573 In vmware_service_get_vm_data() vmid:'vm-853' 9047:20160219:212620.574 End of vmware_service_process_perf_entity_data() values:16 9047:20160219:212620.574 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55618 9047:20160219:212620.574 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55618 9047:20160219:212620.574 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5b8580 9047:20160219:212620.575 End of vmware_service_process_perf_entity_data() values:13 9047:20160219:212620.575 In vmware_service_process_perf_entity_data() type:VirtualMachine id:vm-55267 9047:20160219:212620.575 In zbx_vmware_service_get_perf_entity() type:VirtualMachine id:vm-55267 9047:20160219:212620.575 End of zbx_vmware_service_get_perf_entity() entity:0x7f3dcf5ba378 9047:20160219:212620.576 End of vmware_service_process_perf_entity_data() values:13
But no hosts are beeing created at all…
Code:
9048:20160219:212732.840 End of vmware_service_add_perf_entity() perfcounters:9 9048:20160219:212732.840 End of vmware_service_update_perf_entities() entities:778 9048:20160219:212732.840 End of vmware_service_update():SUCCEED 9048:20160219:212732.840 __zbx_zbx_setproctitle() title:'vmware collector #2 [updated 2, removed 0 VMware services in 12.355428 sec, idle 5 sec]' 9047:20160219:212732.877 __zbx_zbx_setproctitle() title:'vmware collector #1 [updated 0, removed 0 VMware services in 0.000002 sec, querying VMware services]' 9047:20160219:212732.877 __zbx_zbx_setproctitle() title:'vmware collector #1 [updated 0, removed 0 VMware services in 0.000002 sec, idle 5 sec]' 9048:20160219:212737.841 __zbx_zbx_setproctitle() title:'vmware collector #2 [updated 2, removed 0 VMware services in 12.355428 sec, querying VMware services]' 9048:20160219:212737.841 __zbx_zbx_setproctitle() title:'vmware collector #2 [updated 0, removed 0 VMware services in 0.000002 sec, idle 5 sec]' 9047:20160219:212737.878 __zbx_zbx_setproctitle() title:'vmware collector #1 [updated 0, removed 0 VMware services in 0.000002 sec, querying VMware services]' 9047:20160219:212737.878 __zbx_zbx_setproctitle() title:'vmware collector #1 [updated 0, removed 0 VMware services in 0.000002 sec, idle 5 sec]' 9048:20160219:212742.841 __zbx_zbx_setproctitle() title:'vmware collector #2 [updated 0, removed 0 VMware services in 0.000002 sec, querying VMware services]'
I cannot see anything happening in the inventory or in the MySQL database.
Any help is greatly appreciated.
Cheers,
Yves