Uploaded image for project: 'ZABBIX FEATURE REQUESTS'
  1. ZABBIX FEATURE REQUESTS
  2. ZBXNEXT-6269

Set IP to vmware HV and VM

XMLWordPrintable

    • Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)
    • 1.5

      After the introduction of custom interfaces for host prototype we are able to solve several problems caused by the 'not real ips' of discovered hosts:

      1. inaccessible HV host for direct monitoring via ping (for example)
      2. inaccessible VM host for direct monitoring via  agent
      3. redundant discovered VM hosts (throw vmware discovery and auto registration of active agent)

      In general case we have no possibility to solve the problem, because we can obtain info about guest ip and guest OS host name through running vmware guest tools only. If vmtools is not running, required info is not available.

      Second problem - guest OS host name may not be unique.

      But for cases which support "Fully Qualified Domain Name" (fqdn) - it is acceptable

      Proposal:

      • Change host prototypes and set real or empty ip for HV and VM in current template "VMWare". Add to template HV ping check.
      • Create a new additional vmware template like: "VMWare FQDN", where:
      1. set real ip to discovered HVs and make ping check
      2. set real ip to discovered VMs
      3. set real name of guest vm equal of active agent name
      4. if guest OS host name is not accessible, than vm host will not be discovered. Disabled hosts and hosts without vmtools will not be discovered, because host id is absent.

      Server changes:

      extend vmware.vm.discovery with following fields with empty values in json if properties are not accessible:

      1. {#VM.IP}
      2. {#VM.DNS}
      3. {#VM.GUESTFAMILY}

        - "otherGuestFamily/linuxGuest/windowsGuest/..."

      4. {#VM.GUESTFULLNAME}

        - "Linux 3.10.0-1127.13.1.el7.x86_64 CentOS Linux release 7.8.2003 (Core)"

      extend vmware.hv.discovery with following field:

      1.  {#HV.IP}

        1. skn
          55 kB
          Kyrylo Sypko
        2. skn.txt
          55 kB
          Kyrylo Sypko
        3. skn-1
          55 kB
          Kyrylo Sypko
        4. ZBX-19624-52.patch
          0.9 kB
          Michael Veksler

            MVekslers Michael Veksler
            MVekslers Michael Veksler
            Team C
            Votes:
            4 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: