Ad Widget

Collapse

VMWare Host UUID

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Calumscott
    Junior Member
    • Aug 2019
    • 1

    #1

    VMWare Host UUID

    So I have a whole collection of hosts, I'm wanting to get VMWare stats pulled in.

    The issue I'm running into currently is that the VM Host Discovery isn't a feasible route, since it would double up all of my entries, but I'm having a hell of a time trying to query for the correct UUID (the serial number in the BIOS on each host is not the correct UUID)

    Questions I have:
    1. Is there a way to get Zabbix Discovery Host Prototypes to append to hosts instead of only creating new ones? Either just setting a Macro or updating info on already existing hosts.
    2. Is there an easy way to query for the correct UUID out of vcenter, because right now it would be opening up the .vmx file for each host and manually grabbing the vc.uuid, which isn't feasible for the scale we're at. The UUID in the hosts table in vcenter is also the incorrect one.Appvalley TutuApp Tweakbox
    Last edited by Calumscott; 21-08-2019, 22:11.
  • Radboud
    Junior Member
    • Mar 2019
    • 25

    #2
    Hi,

    1. I didn't get that working with discovery, how I solved it, was to create a standalone template from the Zabbix one and replaced the {HOST.HOST} with an macro {$UUID} en then set the correct uuid on the host. so now we have agent data and vm data on a single host.
    2. you are looking for this uuid $vm.extensiondata.config.InstanceUUID ,that's the one Zabbix wants for the uuid's to monitor a VM (source) https://www.reddit.com/r/zabbix/comm...are_host_uuid/

    Comment

    Working...