Ad Widget

Collapse

Zabbix Vmware No Latest Data, Error: URL using bad/illegal format or missing URL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • XimingFeng
    Junior Member
    • Sep 2020
    • 3

    #1

    Zabbix Vmware No Latest Data, Error: URL using bad/illegal format or missing URL

    Hi,
    I am tyring to setup Zabbix server to monitor my vsphere environment.
    I followed this tutorial https://bestmonitoringtools.com/vmwa...er-vm-vsphere/

    Create a user in the Administrators group. Enable VMWare Collector

    Code:
    StartVMwareCollectors=3
    VMwareFrequency=60
    VMwarePerfFrequency=60
    VMwareCacheSize=32M
    VMwareTimeout=120
    Next

    Code:
    sudo systemctl restart zabbix-server
    Then I added the host (my vcenter server) using the account credential I just created in Macros with template "Template VM VMware"

    After long time I am still getting nothing from the latest data and plus in the server log there is "URL using bad/illegal format or missing URL" error


    Click image for larger version

Name:	Capture.PNG
Views:	11669
Size:	35.8 KB
ID:	409976


  • ZaBeast
    Member
    • Sep 2019
    • 42

    #2
    Since the Zabbix 5.0 version, VMware templates are using macros {$VMWARE.URL}, {$VMWARE.USERNAME}, and {$VMWARE.PASSWORD} that are configured on the template “Template VM VMware macros”. Make sure that those macros are configured correctly - more info
    Last edited by ZaBeast; 04-10-2020, 15:59.

    Comment

    • uwillc
      Junior Member
      • Mar 2021
      • 8

      #3
      It seems that you have wrong configuration for your vSphere/ESXi in the macros section... make sure that you configured URL properly as https://IP_OR_FQDN/sdk

      Comment

      • webrunner
        Junior Member
        • May 2022
        • 2

        #4
        Hello,

        See this: https://kb.vmware.com/s/article/1003218

        So it should be: https://IP_OR_FQDN/sdk/vimService.wsdl

        Comment

        • hai.dao
          Junior Member
          • Jun 2022
          • 19

          #5
          i have same issue & i detected my reason is template vmware guest (6.4) not automatic add macro value.
          You must to complete macros value of this template , i mean you must to check macro value again.

          Comment

          Working...