diff --git src/zabbix_server/vmware/vmware.c src/zabbix_server/vmware/vmware.c index 7a7bd56e29..c68b4e9e0e 100644 --- src/zabbix_server/vmware/vmware.c +++ src/zabbix_server/vmware/vmware.c @@ -2037,6 +2037,12 @@ static int vmware_service_get_contents(CURL *easyhandle, char **version, char ** *fullname = zbx_xml_read_doc_value(doc, ZBX_XPATH_VMWARE_ABOUT("fullName")); zbx_xml_free_doc(doc); + if (NULL == *version) + { + *error = zbx_strdup(*error, "VMware Virtual Center is not ready."); + return FAIL; + } + return SUCCEED; # undef ZBX_POST_VMWARE_CONTENTS