Ad Widget

Collapse

VMware ESX

Collapse
This topic has been answered.
X
X
 
  • Time
  • Show
Clear All
new posts
  • jgalea
    Junior Member
    • Feb 2022
    • 10

    #1

    VMware ESX

    I am quite new to Zabbix so I am going to, in advance, apologize, but I am out of ideas. I've tried to follow the official guide, videos other web sites, I can not get the VMware ESX configuration right. I am running Zabbix 6 RC on CentOS 8 64 bit stream. So here is what I have done:
    1) created an account on ESX for Zabbix in read only mode
    2) updated /etc/zabbix/zabbix_server.conf with:
    StartVMwareCollectors=3
    VMwareFrequency=60
    VMwarePerfFrequency=60
    VMwareCacheSize=256M
    VMwareTimeout=120
    3) Updated the VMWARE template with the userid/password and URL to my standalone ESX server (see attached)
    4) Added the vmware template to the host. I have it working fine for SNMP and it is collecting data (see attached)

    It never gets data from ESX. Are there any log files I can see, I wonder if it has ever even tried to logon to the ESX host. I'm totally stumped.
  • Answer selected by jgalea at 17-02-2022, 18:08.
    Atsushi
    Senior Member
    • Aug 2013
    • 2028

    The documentation says:

    Have you tried it? Try using the IP address instead of the host name.

    ex.

    Comment


    • jgalea
      jgalea commented
      Editing a comment
      Your right, that did it thank you. I should have tried that but appreciate your help ... RTFM! You rock dude! Thank you so much ...
  • tikkami
    Member
    • May 2018
    • 71

    #2
    Zabbix VMware collector can't read data directly from hypervisor.

    VMware collector gets ESXi data through vCenter.
    ​​​​
    ​​​

    Comment


    • jgalea
      jgalea commented
      Editing a comment
      I don't believe that's correct, in the URI it even says "VMware service (vCenter or ESX hypervisor) SDK URL (https://servername/sdk)", but I will let someone with more experience answer for sure.

    • jgalea
      jgalea commented
      Editing a comment
      I have it going now so can confirm Zabbix does indeed support ESX without Virtual center. I'm on 6.7

    • tikkami
      tikkami commented
      Editing a comment
      That's good to know. I have always assumed that vCenter is needed.

      Sorry about wrong information.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #3
    Check the log of Zabbix server. If you haven't got the value in the web frontend, you should see a red mark on the right side of the item list. Move your mouse pointer over that mark and you'll see the cause of the error. I think the value of {$VMWARE.URL} is incorrect.

    {$VMWARE.URL} - VMware service (vCenter or ESX hypervisor) SDK URL (https://servername/sdk)

    Comment


    • jgalea
      jgalea commented
      Editing a comment
      I have tried a few urls https://IPaddress and https://IPaddress/ui/#/login in both cases in the latest data for VMware Version, VMware Full Name, VMware Event log for example I get a red exclamation mark that says "Received response has no valid XML data" ... I notice in the description it has SDK in the URL, does this require the SDK be installed on the ESX host? What is the correct URL supposed to be? Thanks in advance for your time, I appreciate it.
  • Atsushi
    Senior Member
    • Aug 2013
    • 2028

    #4
    The documentation says:

    Have you tried it? Try using the IP address instead of the host name.

    ex.

    Comment


    • jgalea
      jgalea commented
      Editing a comment
      Your right, that did it thank you. I should have tried that but appreciate your help ... RTFM! You rock dude! Thank you so much ...
Working...