ZABBIX Forums  
  #1  
Old 11-08-2014, 21:33
john_s john_s is offline
Junior Member
 
Join Date: Aug 2014
Posts: 2
Default Problem monitoring vmware server

I'm trying to monitor a server running esxi 5.0.0 (stand-alone, free hypervisor)
I installed zabbix and it seems to be running ok. (version 2.2.5)

I manually added a host configuration for my vmware machine.
I linked 'Template Virt Vmware' to my host.
Discovery reported an error - I forget - something about HOST.HOST

I saw this thread
https://www.zabbix.com/forum/showthr...ghlight=vmware

It mentioned changing {HOST.HOST} to {$UUID}
I exported 'Template Virt Vmware Hypervisor', changed {HOST.HOST} to {$UUID}, changed the name to 'Template Virt Vmware Hypervisor2', and imported it.
I unlinked 'Template Virt Vmware' and linked 'Template Virt Vmware2' to my host.
I created a macro for my host's UUID.
It successfully connected to the vmware host and populated a list of the virtual machines (in configuration / host).
But now there are messages in /var/log/zabbix like this:
vmware host:vmware.hv.datastore.discovery[{$URL},{HOST.HOST}] changed: unknown hypervisor uuid

I'm new to zabbix, so can someone explain what is going on?
Should it work with vmware stand-alone, free hypervisor?
Do I have something configured wrong?
Or is that a limitation of the existing system?
If I want to monitor several vmware servers, do I have to manually set them up with their UUID?
Any words of wisdom would be greatly appreciated.
Thanks
Reply With Quote
  #2  
Old 14-08-2014, 18:31
aib aib is offline
Senior Member
 
Join Date: Jan 2014
Location: Ottawa, ON, Canada
Posts: 1,501
Default

Well, I did it like it was described in documentation.
1) Create vSphere host
2) Add 3 macros:
- {$USERNAME} - username which has an administrative privileges on VMware
- {$PASSWORD) - password for username
- {$URL} - https://10.10.10.10/sdk (where 10.10.10.10 is the address of vSphere host, not VMware supervisor)
3) Add 3 templates to vSphere host:
- Template Virt VMware
- Template Virt VMware Guest
- Template Virt VMware Hypervisor

4) Waited for a couple of hours (lunch/over night/take a vacation) and I got all my hypervisors/guest machines discovered)

Where is your problem on that short way?
__________________
Sincerely yours,
Aleksey
Reply With Quote
  #3  
Old 15-08-2014, 01:15
john_s john_s is offline
Junior Member
 
Join Date: Aug 2014
Posts: 2
Default still odd

I deleted the discovered hosts and started over
I did what you said except in step 3 I just linked the template virt vmware
(the docs say not to link the other 2)
After a while it got a list of my vm guests.
So now I have 2 questions:
1. The log file has some messages like : vmware.vm.memory.size.private[{$URL},{HOST>HOST}] became not supported: value is not available.
Is that normal?
(some of my vm's are off - could that be the cause?)

2. under configuration / hosts, I have entries for my vm's like this:
Discover VMware VMs: guest 1
Discover VMware VMs: guest 2
On the right hand side, the 'availability' column has 4 greyed out icons.
Is that right?

Thanks!
Reply With Quote
  #4  
Old 15-08-2014, 16:14
aib aib is offline
Senior Member
 
Join Date: Jan 2014
Location: Ottawa, ON, Canada
Posts: 1,501
Default

- Did your discovery process found all Hypervizors?
- It's correct to have greyed icon "availability", because you don't have any Zabbix Agent installed on Discovered Guests.
- Yes, some of Items are unavailable in my configuration also. I don't know why.
__________________
Sincerely yours,
Aleksey
Reply With Quote
  #5  
Old 08-09-2015, 17:20
Pro21 Pro21 is offline
Junior Member
 
Join Date: Jun 2008
Posts: 13
Default

Hello,

Maybe I come after the war but I've fighed a couple of hours before understand how to setup an ESXI monitoring.
Below a simple process to handle a working monitoring.

Replace in the template Template Virt VMware Hypervisor all variable {HOST.HOST} by {$UUID}.
Add macro as explain ($USERNAME, $PASSWORD, $URL) and the last macro $UUID.
$UUID can be obtain by requesting the hypervisor webservices like https://hostnamme/mob/?moid=ha-host&...are.systemInfo You will see data like uuid "320d4e35-b3fd-11e3-a216-6cae8b33fc28" where string between "" is the data to used in $UUID macro.

After the trick the monitoring is working ... Last thing change also {HOST.HOST} to {$UUID} in the autodiscover menu of the template.

Good Luck

Last edited by Pro21; 08-09-2015 at 17:22.
Reply With Quote
  #6  
Old 18-03-2016, 14:45
renanmvc renanmvc is offline
Junior Member
 
Join Date: Feb 2014
Posts: 12
Question aonde encontro o uuid?

Quote:
Originally Posted by Pro21 View Post
Hello,

Maybe I come after the war but I've fighed a couple of hours before understand how to setup an ESXI monitoring.
Below a simple process to handle a working monitoring.

Replace in the template Template Virt VMware Hypervisor all variable {HOST.HOST} by {$UUID}.
Add macro as explain ($USERNAME, $PASSWORD, $URL) and the last macro $UUID.
$UUID can be obtain by requesting the hypervisor webservices like https://hostnamme/mob/?moid=ha-host&...are.systemInfo You will see data like uuid "320d4e35-b3fd-11e3-a216-6cae8b33fc28" where string between "" is the data to used in $UUID macro.

After the trick the monitoring is working ... Last thing change also {HOST.HOST} to {$UUID} in the autodiscover menu of the template.

Good Luck
aonde encontro esse UUID?
Esse link acima está indisponível
Reply With Quote
  #7  
Old 22-09-2016, 04:33
spritluo520 spritluo520 is offline
Junior Member
 
Join Date: Sep 2016
Location: beijing
Posts: 2
Send a message via Skype™ to spritluo520
Default unknown virtual machine uuid

hi all:
My ZABBIX is 2.4.8, I am ready to monitor the esxi host, but there are several monitoring items show "virtual machine UUID unknown", I would ask what is the problem
Reply With Quote
  #8  
Old 20-03-2017, 18:09
hernan hernan is offline
Junior Member
 
Join Date: Sep 2016
Location: Argentina
Posts: 21
Default

Hello guys,

I have the same error with Zabbix 3.2.4 and VCenter 5.5.

Can you help me with this?

Thanks in advance.

Regards.
Reply With Quote
  #9  
Old 21-06-2017, 18:17
DanielB DanielB is offline
Junior Member
 
Join Date: Jun 2017
Posts: 3
Default

This error only happen in an stand alone ESX host (at least that i have tested). As @Pro21 said, you have to put the UUID as a macro variable, if you get an error trying to enter to the URL https://<hostname>/mob/?moid=ha-host&doPath=hardware.systemInfo, you have check if your ESX has enabled The Managed Object Browser feature (VMWARE KB: https://kb.vmware.com/selfservice/mi...rnalId=2108405). Apart of that, everything is working fine.

Thanks @Pro21 for your help.
Reply With Quote
  #10  
Old 21-06-2017, 18:19
DanielB DanielB is offline
Junior Member
 
Join Date: Jun 2017
Posts: 3
Default

Quote:
Originally Posted by Pro21 View Post
Hello,

Maybe I come after the war but I've fighed a couple of hours before understand how to setup an ESXI monitoring.
Below a simple process to handle a working monitoring.

Replace in the template Template Virt VMware Hypervisor all variable {HOST.HOST} by {$UUID}.
Add macro as explain ($USERNAME, $PASSWORD, $URL) and the last macro $UUID.
$UUID can be obtain by requesting the hypervisor webservices like https://hostnamme/mob/?moid=ha-host&...are.systemInfo You will see data like uuid "320d4e35-b3fd-11e3-a216-6cae8b33fc28" where string between "" is the data to used in $UUID macro.

After the trick the monitoring is working ... Last thing change also {HOST.HOST} to {$UUID} in the autodiscover menu of the template.

Good Luck
This error only happen in an stand alone ESX host (at least that i have tested). As @Pro21 said, you have to put the UUID as a macro variable, if you get an error trying to enter to the URL https://<hostname>/mob/?moid=ha-host&doPath=hardware.systemInfo, you have check if your ESX has enabled The Managed Object Browser feature (VMWARE KB: https://kb.vmware.com/selfservice/mi...rnalId=2108405). Apart of that, everything is working fine.

Thanks @Pro21 for your help.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 08:00.