Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown hypervisor uuid. #3

Open
strelokr opened this issue Mar 14, 2020 · 7 comments
Open

Unknown hypervisor uuid. #3

strelokr opened this issue Mar 14, 2020 · 7 comments

Comments

@strelokr
Copy link

Hi there.
I have zabbix 4.4 and esxi 6.7 connected to vCenter. Two other one can discover and send CPU/ ram load informain.
But last one on brand new Xeon Gold proccers send error. Unknown hypervisor uuid.
I was try official template
vmware.hv.vm.num[{$URL},{HOST.HOST}]" became not supported: Unknown hypervisor uuid.
and your one with the same error message
vmware.hv.cpu.usage[{$URL},{$UUID}]" became not supported: Unknown hypervisor uuid.

vCenter reviced from host all information.
Do you have any suggest?
big thanks for any advice.

@timrsa
Copy link

timrsa commented Sep 30, 2020

I also had issues because I tried to use the esxcli system uuid get command, which gave me a UUID but the wrong one, you need to follow the method stated in the read me. If you do this it works flawlessly.

@rbcgrp
Copy link

rbcgrp commented Sep 30, 2020

I am getting the UUID as described in the official guide. it didn't help me

@timrsa
Copy link

timrsa commented Sep 30, 2020

Some things are not working exactly as they should like the data store stuff but I think that is because it wasn't to be a vcentre host, I am only using free esxi.

@timrsa
Copy link

timrsa commented Sep 30, 2020

Have you tried to run this from the shell? esxcfg-info -u |awk '{print tolower($0)}'

@takenek
Copy link

takenek commented Nov 23, 2024

Hi,

Have you found a solution to this problem?
I'm experiencing the exact same issue. I tried using the UUID obtained from the following commands:

esxcli system uuid get
vim-cmd hostsvc/hostsummary | grep -i uuid
Both commands return different UUIDs, but neither of them works.

Any advice would be appreciated!

@pfoo
Copy link
Owner

pfoo commented Nov 24, 2024

Hi,

I won't be of much help as I don't have any running ESXi for a few years (and the end of free license has doomed ESXi for me)
However I remember having seen that uuid are case sensitive so you might try to put your uuid in lower case

@takenek
Copy link

takenek commented Nov 25, 2024

Hi,

I’ve found the solution to the problem!

For free ESXi, the correct UUID can be retrieved using the command:
vim-cmd hostsvc/hostsummary | grep -i uuid

In my case, the issue was related to permissions!
I created a Zabbix user and assigned it the Administrator role on ESXi. However, when I logged into ESXi via the web interface using this user, I realized it had no actual permissions. I had to reassign the Administrator role to the user once again!

I’m not sure if this is a bug or something else, but even though it was marked as an Administrator, it wasn’t in practice.

I tested this solution on Zabbix 7.0.6 with the free version of ESXi (ESXi-8.0U3b-24280767-standard), and everything is working correctly now.

I think this issue can be closed. However, I suggest adding a note to the README file stating that after creating a dedicated monitoring user in ESXi, it’s essential to log in with that user and verify its permissions. Make sure the user can see all VMs, datastores, and, of course, the host itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants