Ad Widget

Collapse

Zabbix Main Server - VMware Virtual

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • stevefxp
    Senior Member
    • Aug 2020
    • 168

    #1

    Zabbix Main Server - VMware Virtual

    Hello all,

    My main Zabbix server is a VMware VM running on a VMware 8.0U2 hypervisor. Since it is a vm I add the VMware Guest template to the default Zabbix server entry. When I do this I add the 3 macros for VMware also. Now I am seeing that it needs a VM UUID for VMware data? I do not see this in the VMware Guest template, so how is this being called? Do I use the UUID macro also?

    Thanks,
    Steve
  • vijayk
    Senior Member
    • May 2023
    • 305

    #2
    To get UUID of Windows machine.

    wmic path win32_computersystemproduct get uuid

    wmic csproduct get name,identifyingnumber,uuid

    To get UUID of linux machine.

    sudo dmidecode -t system | grep UUID

    You can define the macro in host to use UUID in items.
    Last edited by vijayk; 27-01-2024, 11:06.

    Comment

    • cyber
      Senior Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Dec 2006
      • 4807

      #3
      oh noes... Lets not start pulling those uuids from hosts and do other senseless things...

      "vmware guest" tempalte is meant to be working with all the other vmware templates... https://www.zabbix.com/integrations/vmware#vmware

      Overview

      This template is designed for the effortless deployment of both VMware vCenter and ESX hypervisor monitoring and doesn't require any external scripts.

      The "VMware Hypervisor" and "VMware Guest" templates are used by discovery and normally should not be manually linked to a host. For additional information please check https://www.zabbix.com/documentation.../vm_monitoring

      Comment

      • stevefxp
        Senior Member
        • Aug 2020
        • 168

        #4
        Originally posted by cyber
        oh noes... Lets not start pulling those uuids from hosts and do other senseless things...

        "vmware guest" tempalte is meant to be working with all the other vmware templates... https://www.zabbix.com/integrations/vmware#vmware
        Ahhh ok...what I am trying to do is manage the hypervisors separately from the vms. I do not want vms to discovered automatically. Can this be done?

        Comment

        • LenR
          Senior Member
          • Sep 2009
          • 1005

          #5
          From memory, clone the main VMware template that has several Discoveries defined, remove the discovery for Guests. That should let you define the cluster and it discover hypervisor hosts and datastores.

          Comment

          • cyber
            Senior Member
            Zabbix Certified SpecialistZabbix Certified Professional
            • Dec 2006
            • 4807

            #6
            Originally posted by LenR
            From memory, clone the main VMware template that has several Discoveries defined, remove the discovery for Guests. That should let you define the cluster and it discover hypervisor hosts and datastores.
            Or just disable that guest discovery..:

            Comment

            • stevefxp
              Senior Member
              • Aug 2020
              • 168

              #7
              So right now I have VMware, VMware Guest, and VMware Hypervisor templates linked to the host. If I want to monitor the hypervisor only I guess just select VMware and VMware Hypervisor?

              Comment

              • cyber
                Senior Member
                Zabbix Certified SpecialistZabbix Certified Professional
                • Dec 2006
                • 4807

                #8
                Originally posted by stevefxp
                So right now I have VMware, VMware Guest, and VMware Hypervisor templates linked to the host. If I want to monitor the hypervisor only I guess just select VMware and VMware Hypervisor?
                You only need to add that "VMWare" template to your host, as others (hypervisor and guest) templates are used by host prototypes.
                Go to template "VMWare", select "Discovery rules" and disable "Discover VMWare VMs".

                Comment

                Working...