Ad Widget

Collapse

Template Vm VMware: Couldn't resolve host name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • srinivasreddykesari
    Junior Member
    • Dec 2018
    • 4

    #1

    Template Vm VMware: Couldn't resolve host name

    Hi,
    I'm a newbie to zabbix. I have installed zabbix 4.0.2 on Centos. This Centos is running as a VM on VMWare ESXi 6.5. I have configured zabbix_server.conf file as well.

    I have two issues.

    In the same network I have couple of VMWare ESXi 6.5 servers running including mine. To monitor them,

    1) I created a host and assigned "Template VM VMware".
    I have also added macros as below
    {$PASSWORD} => <my password>
    {$USERNAME} => <my username>
    {$URL} => https://<IP>//sdk

    But status of items "Template VM VMware: cpu usage", and "Template VM VMware: memory size" is "Not supported" and Info says "Couldn't resolve host name".

    But "Template VM VMware: Event log", "Template VM VMware: Full name" and "Template VM VMware: Version" are working good.

    2) To the same host I have assigned "Template VM VMware Guest" with the macros assigned as above said way.
    But status of all of the items from "Template VM VMware Guest" are "Not supported" info says "Unknown virtual machine uuid".

    Here is the zabbix_server_log:
    item "1.1.1.1:vmware.hv.cpu.usage[<url>,<uuid>]" became not supported: Couldn't resolve host name
    item "1.1.1.1:vmware.vm.memory.size[<url>,<uuid>]" became not supported: Couldn't resolve host name
    item "1.1.1.1:vmware.vm.cpu.num[{$URL},{HOST.HOST}]" became not supported: Unknown virtual machine uuid.

    I did spent lot of time to fix this problem but unable to get through it. Need helping hands.

    How can I resolve "Couldn't resolve host name" and "Unknown virtual machine uuid" issues. Please guide me to fix this as I have demo of Zabbix monitoring scheduled in my office.



    Last edited by srinivasreddykesari; 23-12-2018, 04:26.
  • srinivasreddykesari
    Junior Member
    • Dec 2018
    • 4

    #2
    Please help. Need help desperately .

    Comment

    • dataKEKS
      Junior Member
      • Dec 2018
      • 15

      #3
      Did you fix the problem? I´ve the same....

      Norbert

      Comment

      • colin88
        Junior Member
        • Dec 2016
        • 13

        #4
        Hi,

        are you running a vCenter server to manage your ESX hosts? The template "Template Virt VMWare" is supposed to be assigned to the vCenter Server, not directly to the hypervisors. So, {$URL} must point to the vCenter Server. The hypervisors and the VMs will then be discovered by the discovery rules on the vCenter server.
        The templates "Template Virt VMWare Guest" and "Template Virt VMWare Hypervisor" shouldn't be assigned to any hosts manually. They will be assigned by the discovery rules for VMs and hypervisors automatically.

        Comment

        • dataKEKS
          Junior Member
          • Dec 2018
          • 15

          #5
          No, it´s a standlone ESXi, we are just a little school with one ESXi, not more

          Norbert

          Comment

          Working...