Ad Widget

Collapse

Vmware discovery does not create guests

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ColdBeer
    Junior Member
    Zabbix Certified Specialist
    • May 2014
    • 11

    #1

    Vmware discovery does not create guests

    We've got a little structur with:
    • 1 vcenter
    • 4 hypervisors
    • >70 guests machines


    I define a new host for the vcenter on zabbix 2.4.2 where I add the needed macros (url, username and password), and I add this host to the "Template Virt VMware" template.

    After some hours, zabbix doesn't create any virtual host, but it seems as the communication with my vcenter works like a charm, because if I execute:
    Code:
    zabbix_server -R log_level_increase="vmware collector"
    And then, seeing the zabbix_server.log file, it seems it can detect disks and machines, but no new devices are created on zabbix server:
    Code:
     7419:20141202:124923.835 In vmware_service_create_vm() vmid:'vm-2174'
      7419:20141202:124923.835 In vmware_service_get_vm_data() vmid:'vm-2174'
      7419:20141202:124923.850 End of vmware_service_get_vm_data():SUCCEED
      7419:20141202:124923.851 In wmware_vm_get_nic_devices()
      7419:20141202:124923.853 End of wmware_vm_get_nic_devices() found:1
      7419:20141202:124923.853 In wmware_vm_get_disk_devices()
      7419:20141202:124923.857 End of wmware_vm_get_disk_devices() found:1
      7419:20141202:124923.857 In vmware_service_get_vm_stats()
      7419:20141202:124923.857 In vmware_service_get_perfcounter_refreshrate()
      7419:20141202:124923.860 vmware_service_get_perfcounter_refreshrate() refresh_rate:20
      7419:20141202:124923.860 End of vmware_service_get_perfcounter_refreshrate():SUCCEED
      7419:20141202:124924.891 End of vmware_service_get_vm_stats():SUCCEED
      7419:20141202:124924.891 End of vmware_service_create_vm():SUCCEED
    After a while, items from "Template Virt VMware" changed to "Not supported" state with a "Timeout Reached" reason.

    In the server log, after starting checks, I see:
    Code:
     15690:20141202:172636.080 In vmware_service_update() domain.net\myuser@https://vcenter.domain.net/sdk
     15690:20141202:172636.080 In vmware_service_authenticate() 'domain.net\myuser'@'https://vcenter.domain.net/sdk'
     15690:20141202:172639.373 End of vmware_service_authenticate():SUCCEED
     15690:20141202:172639.374 In vmware_service_get_perf_counters()
     15690:20141202:172640.277 found VMware performance counter virtualDisk/read: 173
     15690:20141202:172640.277 found VMware performance counter virtualDisk/write: 174
     15690:20141202:172640.278 found VMware performance counter virtualDisk/numberReadAveraged: 171
     15690:20141202:172640.278 found VMware performance counter virtualDisk/numberWriteAveraged: 172
     15690:20141202:172640.331 found VMware performance counter net/packetsRx: 146
     15690:20141202:172640.331 found VMware performance counter net/packetsTx: 147
     15690:20141202:172640.332 found VMware performance counter net/received: 148
     15690:20141202:172640.332 found VMware performance counter net/transmitted: 149
     15690:20141202:172640.383 found VMware performance counter datastore/totalReadLatency: 182
     15690:20141202:172640.383 found VMware performance counter datastore/totalWriteLatency: 183
     15690:20141202:172640.392 End of vmware_service_get_perf_counters():SUCCEED
     15690:20141202:172640.399 In vmware_service_get_hv_list()
     15690:20141202:172642.453 End of vmware_service_get_hv_list():SUCCEED found:4
     15690:20141202:172642.454 In vmware_service_create_hv() hvid:'host-641'
     15690:20141202:172642.454 In vmware_service_get_hv_data() guesthvid:'host-641'
     15690:20141202:172642.600 End of vmware_service_get_hv_data():SUCCEED
     15690:20141202:172642.617 In vmware_service_create_datastore() datastore:'datastore-81'
     15690:20141202:172642.626 End of vmware_service_create_datastore()
     15690:20141202:172642.627 In vmware_service_create_datastore() datastore:'datastore-83'
     15690:20141202:172642.634 End of vmware_service_create_datastore()
     15690:20141202:172642.634 In vmware_service_create_datastore() datastore:'datastore-94'
    Any idea abut what's happening? Thank you in advance for your help.
  • Colttt
    Senior Member
    Zabbix Certified Specialist
    • Mar 2009
    • 878

    #2
    what does the LLD-Rule 'Template Virt VMware' say? is there an error in the webinterface? if so what for an error?

    in my enviroment all works fine.
    Debian-User

    Sorry for my bad english

    Comment

    • ColdBeer
      Junior Member
      Zabbix Certified Specialist
      • May 2014
      • 11

      #3
      Originally posted by Colttt
      what does the LLD-Rule 'Template Virt VMware' say? is there an error in the webinterface? if so what for an error?

      in my enviroment all works fine.
      "Template Virt VMware" says nothing... but "Not supported" items after a while (hours) with a "Timeout was reached" explanation. But into the log, I could see a lot of traffic and registers of discovered disks and guests machines.

      I can't see an error in the frontend.

      Comment

      Working...