We use Zabbix with vcenter. All values are picked up except one: Get Overall Health VC State. And i cannot understand why. From the zabbix_proxy.log debug log i can see that zabbix manage to get the system information, but fails on get status:
SUCCESS:
1664703:20241105:152732.351 [ VMware vCenter ] Received response with status code 200: {"value":{"summary":"Patch for VMware vCenter Server 8.0","install_time":"2024-10-16T11:48:40.967Z","product":"VMware vCenter Server","build":"24305161","releasedate":"October 09, 2024","type":"vCenter Server with an embedded Platform Services Controller","version":"8.0.3.00300"}}
FAIL:
1664703:20241105:152732.411 [ VMware vCenter ] Received response with status code 403: {"error_type":"UNAUTHORIZED","messages":[{"args":[],"default_message":"Unable to authorize user","id":"vapi.security.authorization.invalid"}]}
1664703:20241105:152732.411 [ VMware vCenter ] ERROR: Cannot connect to VMware vCenter. Check debug log for more information.
So, in some way zabbix can connect, but in other ways it cannot? Any clues??
Zabbix version: 7.0.5
Vmware template from release/7.0 https://git.zabbix.com/projects/ZBX/...Frelease%2F7.0
SUCCESS:
1664703:20241105:152732.351 [ VMware vCenter ] Received response with status code 200: {"value":{"summary":"Patch for VMware vCenter Server 8.0","install_time":"2024-10-16T11:48:40.967Z","product":"VMware vCenter Server","build":"24305161","releasedate":"October 09, 2024","type":"vCenter Server with an embedded Platform Services Controller","version":"8.0.3.00300"}}
FAIL:
1664703:20241105:152732.411 [ VMware vCenter ] Received response with status code 403: {"error_type":"UNAUTHORIZED","messages":[{"args":[],"default_message":"Unable to authorize user","id":"vapi.security.authorization.invalid"}]}
1664703:20241105:152732.411 [ VMware vCenter ] ERROR: Cannot connect to VMware vCenter. Check debug log for more information.
So, in some way zabbix can connect, but in other ways it cannot? Any clues??
Zabbix version: 7.0.5
Vmware template from release/7.0 https://git.zabbix.com/projects/ZBX/...Frelease%2F7.0
Thank you for posting solution, it helps also in our case.
Comment