[ZBX-25497] VMware host and datastores discovery fails via Proxy Created: 2024 Nov 01 Updated: 2025 Jan 08 Resolved: 2024 Dec 16 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Proxy (P) |
Affects Version/s: | 7.0.4, 7.0.5, 7.2.0alpha1 |
Fix Version/s: | 7.0.7rc1, 7.2.1rc1, 7.4.0alpha1 |
Type: | Problem report | Priority: | Major |
Reporter: | Konstantin | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 1 |
Labels: | None | ||
Remaining Estimate: | 2h | ||
Time Spent: | 2h | ||
Original Estimate: | 4h | ||
Environment: |
VMware vCenter version 8.0.3.00400 |
Attachments: |
![]() ![]() ![]() ![]() ![]() |
Team: | |
Sprint: | S24-W48/49, S24-W50/51/52/1 |
Story Points: | 0.5 |
Description |
Steps to reproduce:
Result: In Proxy log's we observe (full log is attached): 12855:20241101:185243.670 Unknown performance counter 718 type of unitInfo:gigaBytes 12855:20241101:185243.670 adding performance counter gpu/mem.used.gb[latest]:718 12855:20241101:185243.670 Unknown performance counter 718 type of unitInfo:gigaBytes 12855:20241101:185243.670 adding performance counter gpu/mem.used.gb[latest,absolute]:718 12855:20241101:185243.670 Unknown performance counter 719 type of unitInfo:gigaBytes 12855:20241101:185243.670 adding performance counter gpu/mem.reserved.gb[latest]:719 12855:20241101:185243.670 Unknown performance counter 719 type of unitInfo:gigaBytes 12855:20241101:185243.670 adding performance counter gpu/mem.reserved.gb[latest,absolute]:719 12855:20241101:185243.670 Unknown performance counter 720 type of unitInfo:gigaBytes 12855:20241101:185243.670 adding performance counter gpu/mem.total.gb[latest]:720 12855:20241101:185243.670 Unknown performance counter 720 type of unitInfo:gigaBytes 12855:20241101:185243.670 adding performance counter gpu/mem.total.gb[latest,absolute]:720 I've tried all Proxy's versions from 7.0.0 to 7.0.5 with PostgreSQL on Ubuntu 22.04 and 24.04 the result is the same. If I add this vCenter without Proxy, discovery will work as it should. I tried to reproduce this issue on vCenter 8.0.2 but it works well because there are no GPU perf counters. (i checked it via this script ) Discovery and simple checks on vCenter server 8.0.3 added to Zabbix Server without Proxy works fine.
|
Comments |
Comment by Konstantin [ 2024 Nov 11 ] |
Hi, is there any update for this bug? |
Comment by dimir [ 2024 Nov 27 ] |
Yes, it will be fixed ASAP. |
Comment by Michael Veksler [ 2024 Nov 29 ] |
As I see there are 2 different problems:
Question: what value of VMwareTimeout for server and proxy ? |
Comment by Konstantin [ 2024 Nov 30 ] |
Thanks for this patch, but it seems there is a little problem with it: It's a weird behavior because Zabbix server has VMwareTimeout=10s, and it discovers all objects in the same vCenter without a problem. Also, I've noticed that the provided fix has a dependent pkg libevent-pthreads-2.1-7, so there may be a problem with it. |
Comment by Michael Veksler [ 2024 Dec 02 ] |
Considering that the codebase is the same (for server and proxy) and if you think that the network is OK I would take a close look at libcurl (version) or the DNS server for the proxy (maybe you have a round robin and one of the DNS from the pull is not responding) I rebuilt the dev test build for ubuntu24 |
Comment by Michael Veksler [ 2024 Dec 11 ] |
Available in:
|