[ZBX-8057] Error timeout was reached VMware VCSA 5.5 Created: 2014 Apr 09  Updated: 2019 Dec 10

Status: Open
Project: ZABBIX BUGS AND ISSUES
Component/s: Server (S)
Affects Version/s: None
Fix Version/s: None

Type: Incident report Priority: Trivial
Reporter: Giai-Checa Sebastien Assignee: Unassigned
Resolution: Unresolved Votes: 6
Labels: appliance, vmware
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Zabbix Server 2.2.1 on Centos 6.4/Postgresql 8.4
VMware vCenter Appliance Server 5.5.0.5100 Build 1312297



 Description   

No connection possible to vcsa 5.5
Error message :
End of vmware_service_authenticate():FAIL
End of vmware_service_update():FAIL



 Comments   
Comment by richlv [ 2014 Apr 09 ]

have you configured the authentication details properly ?

Comment by Giai-Checa Sebastien [ 2014 Apr 09 ]

i had this problem since vcenter migration to vcsa
credentials configuration is ok
zabbix server in debug 4 not give me more information

Comment by Philippe [ 2014 Apr 18 ]

Hi,

I have the same problem. here is the loglevel 4 trace:
5802:20140418:170019.874 In substitute_key_macros() data:'vmware.cluster.discovery[{$URL}]'
5802:20140418:170019.874 In substitute_simple_macros() data:'{$URL}'
5802:20140418:170019.874 In DCget_user_macro() macro:'{$URL}'
5802:20140418:170019.874 In DCget_host_macro() macro:'{$URL}'
5802:20140418:170019.874 End of DCget_host_macro():SUCCEED
5802:20140418:170019.874 End of DCget_user_macro()
5802:20140418:170019.874 End substitute_simple_macros() data:'https://vcenter.n18.an.cnav/sdk'
5802:20140418:170019.874 End of substitute_key_macros():SUCCEED data:'vmware.cluster.discoveryhttps://vcenter.n18.an.cnav/sdk'
5802:20140418:170019.874 In substitute_simple_macros() data:'{$USERNAME}'
5802:20140418:170019.874 In DCget_user_macro() macro:'{$USERNAME}'
5802:20140418:170019.874 In DCget_host_macro() macro:'{$USERNAME}'
5802:20140418:170019.874 End of DCget_host_macro():SUCCEED
5802:20140418:170019.874 End of DCget_user_macro()
5802:20140418:170019.874 End substitute_simple_macros() data:'root'
5802:20140418:170019.874 In substitute_simple_macros() data:'{$PASSWORD}'
5802:20140418:170019.874 In DCget_user_macro() macro:'{$PASSWORD}'
5802:20140418:170019.874 In DCget_host_macro() macro:'{$PASSWORD}'
5802:20140418:170019.874 End of DCget_host_macro():SUCCEED
5802:20140418:170019.875 End of DCget_user_macro()
5802:20140418:170019.875 End substitute_simple_macros() data:'XXXXXX'
5802:20140418:170019.875 In get_value() key:'vmware.cluster.discovery[{$URL}]'
5802:20140418:170019.875 In get_value_simple() key_orig:'vmware.cluster.discovery[{$URL}]' addr:'127.0.0.1'
5802:20140418:170019.875 In zbx_vmware_get_service() root@https://10.145.60.35/sdk
5802:20140418:170019.875 End of zbx_vmware_get_service():SUCCEED
5802:20140418:170019.875 End of get_value_simple():NOTSUPPORTED
5802:20140418:170019.875 Item [qavpk260035:vmware.cluster.discovery[{$URL}]] error: a timeout was reached
5802:20140418:170019.875 End of get_value():NOTSUPPORTED
5802:20140418:170019.875 In activate_host() hostid:11291 itemid:149380 type:3
5802:20140418:170019.875 End of activate_host()
5802:20140418:170019.875 End of get_values():1

The user and the password works with the vsphere GUI.
it worked before with the windows vcenter installation.

My Zabbix server is at 2.2.2 level with mysql db with vCenter Server Appliance 5.5

Thanks,
Philippe

Comment by richlv [ 2014 Jul 30 ]

might be related to ZBX-7719

Comment by PavelSalkov [ 2014 Aug 15 ]

I had the same problem (Zabbix 2.2.5 + vCenter 5.5)
"... error: a timeout was reached"

The solution is simple!
Change timeout (from 10 to 60):

1. Find that file: /src/zabbix_server/vmware/vmware.c
2. Find row: "int err, opt, timeout = 10, ret = FAIL;"
3. Replace "10" to "60": "int err, opt, timeout = 60, ret = FAIL;"
4. Compile and install

Generated at Sat Apr 20 02:01:36 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.