Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Server (S)
    • Labels:
    • 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

        Activity

        Hide
        richlv added a comment -

        have you configured the authentication details properly ?

        Show
        richlv added a comment - have you configured the authentication details properly ?
        Hide
        Giai-Checa Sebastien added a comment -

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

        Show
        Giai-Checa Sebastien added a comment - i had this problem since vcenter migration to vcsa credentials configuration is ok zabbix server in debug 4 not give me more information
        Hide
        Philippe added a comment -

        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

        Show
        Philippe added a comment - 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.discovery https://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
        Hide
        richlv added a comment -

        might be related to ZBX-7719

        Show
        richlv added a comment - might be related to ZBX-7719
        Hide
        PavelSalkov added a comment - - edited

        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

        Show
        PavelSalkov added a comment - - edited 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

          People

          • Assignee:
            Unassigned
            Reporter:
            Giai-Checa Sebastien
          • Votes:
            6 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated: