diff options
Diffstat (limited to 'src/zabbix_server/vmware/vmware.c')
-rw-r--r-- | src/zabbix_server/vmware/vmware.c | 236 |
1 files changed, 0 insertions, 236 deletions
diff --git a/src/zabbix_server/vmware/vmware.c b/src/zabbix_server/vmware/vmware.c index 8057f20f001..9d2fee64b30 100644 --- a/src/zabbix_server/vmware/vmware.c +++ b/src/zabbix_server/vmware/vmware.c @@ -602,8 +602,6 @@ static size_t curl_header_cb(void *ptr, size_t size, size_t nmemb, void *userdat /****************************************************************************** * * - * Function: zbx_str_uint64_pair_free * - * * * Purpose: free memory of vector element * * * ******************************************************************************/ @@ -614,8 +612,6 @@ static void zbx_str_uint64_pair_free(zbx_str_uint64_pair_t data) /****************************************************************************** * * - * Function: zbx_str_uint64_pair_name_compare * - * * * Purpose: sorting function to sort zbx_str_uint64_pair_t vector by name * * * ******************************************************************************/ @@ -629,8 +625,6 @@ int zbx_str_uint64_pair_name_compare(const void *p1, const void *p2) /****************************************************************************** * * - * Function: zbx_http_post * - * * * Purpose: abstracts the curl_easy_setopt/curl_easy_perform call pair * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -679,8 +673,6 @@ static int zbx_http_post(CURL *easyhandle, const char *request, ZBX_HTTPPAGE **r } /****************************************************************************** * * - * Function: zbx_soap_post * - * * * Purpose: unification of vmware web service call with SOAP error validation * * * * Parameters: fn_parent - [IN] the parent function name for Log records * @@ -781,8 +773,6 @@ static int vmware_perf_entity_compare_func(const void *d1, const void *d2) /****************************************************************************** * * - * Function: vmware_free_perfvalue * - * * * Purpose: frees perfvalue data structure * * * ******************************************************************************/ @@ -794,8 +784,6 @@ static void vmware_free_perfvalue(zbx_vmware_perf_value_t *value) /****************************************************************************** * * - * Function: vmware_free_perfdata * - * * * Purpose: frees perfdata data structure * * * ******************************************************************************/ @@ -812,8 +800,6 @@ static void vmware_free_perfdata(zbx_vmware_perf_data_t *data) /****************************************************************************** * * - * Function: xml_read_props * - * * * Purpose: reads the vmware object properties by their xpaths from xml data * * * * Parameters: xdoc - [IN] the xml document * @@ -877,8 +863,6 @@ static char **xml_read_props(xmlDoc *xdoc, const zbx_vmware_propmap_t *propmap, /****************************************************************************** * * - * Function: vmware_counters_shared_copy * - * * * Purpose: copies performance counter vector into shared memory hashset * * * * Parameters: dst - [IN] the destination hashset * @@ -910,8 +894,6 @@ static void vmware_counters_shared_copy(zbx_hashset_t *dst, const zbx_vector_ptr /****************************************************************************** * * - * Function: vmware_vector_str_uint64_pair_shared_clean * - * * * Purpose: frees shared resources allocated to store instance performance * * counter values * * * @@ -935,8 +917,6 @@ static void vmware_vector_str_uint64_pair_shared_clean(zbx_vector_str_uint64_pai /****************************************************************************** * * - * Function: vmware_perf_counter_shared_free * - * * * Purpose: frees shared resources allocated to store performance counter * * data * * * @@ -952,8 +932,6 @@ static void vmware_perf_counter_shared_free(zbx_vmware_perf_counter_t *counter) /****************************************************************************** * * - * Function: vmware_entities_shared_clean_stats * - * * * Purpose: removes statistics data from vmware entities * * * ******************************************************************************/ @@ -982,8 +960,6 @@ static void vmware_entities_shared_clean_stats(zbx_hashset_t *entities) /****************************************************************************** * * - * Function: vmware_diskextent_shared_free * - * * * Purpose: frees shared resources allocated to store diskextent data * * * * Parameters: diskextent - [IN] the diskextent * @@ -998,8 +974,6 @@ static void vmware_diskextent_shared_free(zbx_vmware_diskextent_t *diskextent) /****************************************************************************** * * - * Function: vmware_datastore_shared_free * - * * * Purpose: frees shared resources allocated to store datastore data * * * * Parameters: datastore - [IN] the datastore * @@ -1024,8 +998,6 @@ static void vmware_datastore_shared_free(zbx_vmware_datastore_t *datastore) /****************************************************************************** * * - * Function: vmware_datacenter_shared_free * - * * * Purpose: frees shared resources allocated to store datacenter data * * * * Parameters: datacenter - [IN] the datacenter * @@ -1041,8 +1013,6 @@ static void vmware_datacenter_shared_free(zbx_vmware_datacenter_t *datacenter) /****************************************************************************** * * - * Function: vmware_props_shared_free * - * * * Purpose: frees shared resources allocated to store properties list * * * * Parameters: props - [IN] the properties list * @@ -1067,8 +1037,6 @@ static void vmware_props_shared_free(char **props, int props_num) /****************************************************************************** * * - * Function: vmware_dev_shared_free * - * * * Purpose: frees shared resources allocated to store vm device data * * * * Parameters: dev - [IN] the vm device * @@ -1087,8 +1055,6 @@ static void vmware_dev_shared_free(zbx_vmware_dev_t *dev) /****************************************************************************** * * - * Function: vmware_fs_shared_free * - * * * Purpose: frees shared resources allocated to store file system object * * * * Parameters: fs - [IN] the file system * @@ -1104,8 +1070,6 @@ static void vmware_fs_shared_free(zbx_vmware_fs_t *fs) /****************************************************************************** * * - * Function: vmware_vm_shared_free * - * * * Purpose: frees shared resources allocated to store virtual machine * * * * Parameters: vm - [IN] the virtual machine * @@ -1132,8 +1096,6 @@ static void vmware_vm_shared_free(zbx_vmware_vm_t *vm) /****************************************************************************** * * - * Function: vmware_dsname_shared_free * - * * * Purpose: frees shared resources allocated to store datastore names data * * * * Parameters: dsname - [IN] the datastore name * @@ -1149,8 +1111,6 @@ static void vmware_dsname_shared_free(zbx_vmware_dsname_t *dsname) /****************************************************************************** * * - * Function: vmware_hv_shared_clean * - * * * Purpose: frees shared resources allocated to store vmware hypervisor * * * * Parameters: hv - [IN] the vmware hypervisor * @@ -1190,8 +1150,6 @@ static void vmware_hv_shared_clean(zbx_vmware_hv_t *hv) /****************************************************************************** * * - * Function: vmware_cluster_shared_free * - * * * Purpose: frees shared resources allocated to store vmware cluster * * * * Parameters: cluster - [IN] the vmware cluster * @@ -1213,8 +1171,6 @@ static void vmware_cluster_shared_free(zbx_vmware_cluster_t *cluster) /****************************************************************************** * * - * Function: vmware_event_shared_free * - * * * Purpose: frees shared resources allocated to store vmware event * * * * Parameters: event - [IN] the vmware event * @@ -1230,8 +1186,6 @@ static void vmware_event_shared_free(zbx_vmware_event_t *event) /****************************************************************************** * * - * Function: vmware_data_shared_free * - * * * Purpose: frees shared resources allocated to store vmware service data * * * * Parameters: data - [IN] the vmware service data * @@ -1272,8 +1226,6 @@ static void vmware_data_shared_free(zbx_vmware_data_t *data) /****************************************************************************** * * - * Function: vmware_shared_perf_entity_clean * - * * * Purpose: cleans resources allocated by vmware performance entity in vmware * * cache * * * @@ -1293,8 +1245,6 @@ static void vmware_shared_perf_entity_clean(zbx_vmware_perf_entity_t *entity) /****************************************************************************** * * - * Function: vmware_counter_shared_clean * - * * * Purpose: frees resources allocated by vmware performance counter * * * * Parameters: counter - [IN] the performance counter to free * @@ -1307,8 +1257,6 @@ static void vmware_counter_shared_clean(zbx_vmware_counter_t *counter) /****************************************************************************** * * - * Function: vmware_service_shared_free * - * * * Purpose: frees shared resources allocated to store vmware service * * * * Parameters: data - [IN] the vmware service data * @@ -1353,8 +1301,6 @@ static void vmware_service_shared_free(zbx_vmware_service_t *service) /****************************************************************************** * * - * Function: vmware_cluster_shared_dup * - * * * Purpose: copies vmware cluster object into shared memory * * * * Parameters: src - [IN] the vmware cluster object * @@ -1376,8 +1322,6 @@ static zbx_vmware_cluster_t *vmware_cluster_shared_dup(const zbx_vmware_cluster_ /****************************************************************************** * * - * Function: vmware_event_shared_dup * - * * * Purpose: copies vmware event object into shared memory * * * * Parameters: src - [IN] the vmware event object * @@ -1399,8 +1343,6 @@ static zbx_vmware_event_t *vmware_event_shared_dup(const zbx_vmware_event_t *src /****************************************************************************** * * - * Function: vmware_diskextent_shared_dup * - * * * Purpose: copies vmware hypervisor diskextent object into shared memory * * * * Parameters: src - [IN] the vmware diskextent object * @@ -1421,8 +1363,6 @@ static zbx_vmware_diskextent_t *vmware_diskextent_shared_dup(const zbx_vmware_di /****************************************************************************** * * - * Function: vmware_datastore_shared_dup * - * * * Purpose: copies vmware hypervisor datastore object into shared memory * * * * Parameters: src - [IN] the vmware datastore object * @@ -1468,8 +1408,6 @@ static zbx_vmware_datastore_t *vmware_datastore_shared_dup(const zbx_vmware_data /****************************************************************************** * * - * Function: vmware_datacenter_shared_dup * - * * * Purpose: copies vmware datacenter object into shared memory * * * * Parameters: src - [IN] the vmware datacenter object * @@ -1490,8 +1428,6 @@ static zbx_vmware_datacenter_t *vmware_datacenter_shared_dup(const zbx_vmware_da /****************************************************************************** * * - * Function: vmware_dev_shared_dup * - * * * Purpose: copies vmware virtual machine device object into shared memory * * * * Parameters: src - [IN] the vmware device object * @@ -1513,8 +1449,6 @@ static zbx_vmware_dev_t *vmware_dev_shared_dup(const zbx_vmware_dev_t *src) /****************************************************************************** * * - * Function: vmware_fs_shared_dup * - * * * Purpose: copies vmware virtual machine file system object into shared * * memory * * * @@ -1537,8 +1471,6 @@ static zbx_vmware_fs_t *vmware_fs_shared_dup(const zbx_vmware_fs_t *src) /****************************************************************************** * * - * Function: vmware_props_shared_dup * - * * * Purpose: copies object properties list into shared memory * * * * Parameters: src - [IN] the properties list * @@ -1562,8 +1494,6 @@ static char **vmware_props_shared_dup(char ** const src, int props_num) /****************************************************************************** * * - * Function: vmware_vm_shared_dup * - * * * Purpose: copies vmware virtual machine object into shared memory * * * * Parameters: src - [IN] the vmware virtual machine object * @@ -1598,8 +1528,6 @@ static zbx_vmware_vm_t *vmware_vm_shared_dup(const zbx_vmware_vm_t *src) /****************************************************************************** * * - * Function: vmware_dsname_shared_dup * - * * * Purpose: copies vmware hypervisor datastore name object into shared memory * * * * Parameters: src - [IN] the vmware datastore name object * @@ -1629,8 +1557,6 @@ static zbx_vmware_dsname_t *vmware_dsname_shared_dup(const zbx_vmware_dsname_t * /****************************************************************************** * * - * Function: vmware_hv_shared_copy * - * * * Purpose: copies vmware hypervisor object into shared memory * * * * Parameters: dst - [OUT] the vmware hypervisor object into shared memory * @@ -1665,8 +1591,6 @@ static void vmware_hv_shared_copy(zbx_vmware_hv_t *dst, const zbx_vmware_hv_t *s /****************************************************************************** * * - * Function: vmware_data_shared_dup * - * * * Purpose: copies vmware data object into shared memory * * * * Parameters: src - [IN] the vmware data object * @@ -1741,8 +1665,6 @@ static zbx_vmware_data_t *vmware_data_shared_dup(zbx_vmware_data_t *src) /****************************************************************************** * * - * Function: vmware_diskextent_free * - * * * Purpose: frees resources allocated to store diskextent data * * * * Parameters: diskextent - [IN] the diskextent * @@ -1756,8 +1678,6 @@ static void vmware_diskextent_free(zbx_vmware_diskextent_t *diskextent) /****************************************************************************** * * - * Function: vmware_datastore_free * - * * * Purpose: frees resources allocated to store datastore data * * * * Parameters: datastore - [IN] the datastore * @@ -1779,8 +1699,6 @@ static void vmware_datastore_free(zbx_vmware_datastore_t *datastore) /****************************************************************************** * * - * Function: vmware_datacenter_free * - * * * Purpose: frees resources allocated to store datacenter data * * * * Parameters: datacenter - [IN] the datacenter * @@ -1795,8 +1713,6 @@ static void vmware_datacenter_free(zbx_vmware_datacenter_t *datacenter) /****************************************************************************** * * - * Function: vmware_props_free * - * * * Purpose: frees shared resources allocated to store properties list * * * * Parameters: props - [IN] the properties list * @@ -1818,8 +1734,6 @@ static void vmware_props_free(char **props, int props_num) /****************************************************************************** * * - * Function: vmware_dev_free * - * * * Purpose: frees resources allocated to store vm device object * * * * Parameters: dev - [IN] the vm device * @@ -1834,8 +1748,6 @@ static void vmware_dev_free(zbx_vmware_dev_t *dev) /****************************************************************************** * * - * Function: vmware_fs_free * - * * * Purpose: frees resources allocated to store vm file system object * * * * Parameters: fs - [IN] the file system * @@ -1849,8 +1761,6 @@ static void vmware_fs_free(zbx_vmware_fs_t *fs) /****************************************************************************** * * - * Function: vmware_vm_free * - * * * Purpose: frees resources allocated to store virtual machine * * * * Parameters: vm - [IN] the virtual machine * @@ -1872,8 +1782,6 @@ static void vmware_vm_free(zbx_vmware_vm_t *vm) /****************************************************************************** * * - * Function: vmware_dsname_free * - * * * Purpose: frees resources allocated to store Datastore name data * * * * Parameters: dsname - [IN] the Datastore name * @@ -1888,8 +1796,6 @@ static void vmware_dsname_free(zbx_vmware_dsname_t *dsname) /****************************************************************************** * * - * Function: vmware_hv_clean * - * * * Purpose: frees resources allocated to store vmware hypervisor * * * * Parameters: hv - [IN] the vmware hypervisor * @@ -1915,8 +1821,6 @@ static void vmware_hv_clean(zbx_vmware_hv_t *hv) /****************************************************************************** * * - * Function: vmware_cluster_free * - * * * Purpose: frees resources allocated to store vmware cluster * * * * Parameters: cluster - [IN] the vmware cluster * @@ -1932,8 +1836,6 @@ static void vmware_cluster_free(zbx_vmware_cluster_t *cluster) /****************************************************************************** * * - * Function: vmware_event_free * - * * * Purpose: frees resources allocated to store vmware event * * * * Parameters: event - [IN] the vmware event * @@ -1947,8 +1849,6 @@ static void vmware_event_free(zbx_vmware_event_t *event) /****************************************************************************** * * - * Function: vmware_data_free * - * * * Purpose: frees resources allocated to store vmware service data * * * * Parameters: data - [IN] the vmware service data * @@ -1983,8 +1883,6 @@ static void vmware_data_free(zbx_vmware_data_t *data) /****************************************************************************** * * - * Function: vmware_counter_free * - * * * Purpose: frees vmware performance counter and the resources allocated by * * it * * * @@ -1999,8 +1897,6 @@ static void vmware_counter_free(zbx_vmware_counter_t *counter) /****************************************************************************** * * - * Function: vmware_service_authenticate * - * * * Purpose: authenticates vmware service * * * * Parameters: service - [IN] the vmware service * @@ -2121,8 +2017,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_logout * - * * * Purpose: Close unused connection with vCenter * * * * Parameters: service - [IN] the vmware service * @@ -2218,8 +2112,6 @@ static void zbx_property_collection_free(zbx_property_collection_iter *iter) /****************************************************************************** * * - * Function: vmware_service_get_contents * - * * * Purpose: retrieves vmware service instance contents * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -2265,8 +2157,6 @@ static int vmware_service_get_contents(CURL *easyhandle, char **version, char ** /****************************************************************************** * * - * Function: vmware_service_get_perf_counter_refreshrate * - * * * Purpose: get the performance counter refreshrate for the specified entity * * * * Parameters: service - [IN] the vmware service * @@ -2337,8 +2227,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_perf_counters * - * * * Purpose: get the performance counter ids * * * * Parameters: service - [IN] the vmware service * @@ -2516,8 +2404,6 @@ out: /****************************************************************************** * * - * Function: vmware_vm_get_nic_devices * - * * * Purpose: gets virtual machine network interface devices * * * * Parameters: vm - [OUT] the virtual machine * @@ -2575,8 +2461,6 @@ clean: /****************************************************************************** * * - * Function: vmware_vm_get_disk_devices * - * * * Purpose: gets virtual machine virtual disk devices * * * * Parameters: vm - [OUT] the virtual machine * @@ -2706,8 +2590,6 @@ clean: /****************************************************************************** * * - * Function: vmware_vm_get_file_systems * - * * * Purpose: gets the parameters of virtual machine disks * * * * Parameters: vm - [OUT] the virtual machine * @@ -2769,8 +2651,6 @@ clean: /****************************************************************************** * * - * Function: vmware_service_get_vm_data * - * * * Purpose: gets the virtual machine data * * * * Parameters: service - [IN] the vmware service * @@ -2864,8 +2744,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_vm_folder * - * * * Purpose: convert vm folder id to chain of folder names divided by '/' * * * * Parameters: xdoc - [IN] the xml with all vm details * @@ -2922,8 +2800,6 @@ static int vmware_service_get_vm_folder(xmlDoc *xdoc, char **vm_folder) /****************************************************************************** * * - * Function: vmware_service_create_vm * - * * * Purpose: create virtual machine object * * * * Parameters: service - [IN] the vmware service * @@ -2995,8 +2871,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_refresh_datastore_info * - * * * Purpose: Refreshes all storage related information including free-space, * * capacity, and detailed usage of virtual machines. * * * @@ -3032,8 +2906,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_diskextents_list * - * * * Purpose: retrieves a list of vmware service datastore diskextents * * * * Parameters: doc - [IN] XML document * @@ -3099,8 +2971,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_create_datastore * - * * * Purpose: create vmware hypervisor datastore object * * * * Parameters: service - [IN] the vmware service * @@ -3227,8 +3097,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_hv_data * - * * * Purpose: gets the vmware hypervisor data * * * * Parameters: service - [IN] the vmware service * @@ -3317,8 +3185,6 @@ out: /****************************************************************************** * * - * Function: vmware_hv_get_parent_data * - * * * Purpose: gets the vmware hypervisor datacenter, parent folder or cluster * * name * * * @@ -3458,8 +3324,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_hv_get_multipath_data * - * * * Purpose: gets the vmware hypervisor data about ds multipath * * * * Parameters: service - [IN] the vmware service * @@ -3541,8 +3405,6 @@ static int vmware_service_hv_get_multipath_data(const zbx_vmware_service_t *serv /****************************************************************************** * * - * Function: vmware_ds_name_compare * - * * * Purpose: sorting function to sort Datastore vector by name * * * ******************************************************************************/ @@ -3556,8 +3418,6 @@ int vmware_ds_name_compare(const void *d1, const void *d2) /****************************************************************************** * * - * Function: vmware_ds_id_compare * - * * * Purpose: sorting function to sort Datastore vector by id * * * ******************************************************************************/ @@ -3571,8 +3431,6 @@ static int vmware_ds_id_compare(const void *d1, const void *d2) /****************************************************************************** * * - * Function: vmware_dc_id_compare * - * * * Purpose: sorting function to sort Datacenter vector by id * * * ******************************************************************************/ @@ -3585,8 +3443,6 @@ static int vmware_dc_id_compare(const void *d1, const void *d2) } /****************************************************************************** - * Function: vmware_hv_get_ds_access * - * * * Purpose: populate array of values from a xml data * * * * Parameters: xdoc - [IN] XML document * @@ -3667,8 +3523,6 @@ clean: /****************************************************************************** * * - * Function: vmware_dsname_compare * - * * * Purpose: sorting function to sort Datastore names vector by name * * * ******************************************************************************/ @@ -3682,8 +3536,6 @@ int vmware_dsname_compare(const void *d1, const void *d2) /****************************************************************************** * * - * Function: vmware_service_init_hv * - * * * Purpose: initialize vmware hypervisor object * * * * Parameters: service - [IN] the vmware service * @@ -3856,8 +3708,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_datacenters_list * - * * * Purpose: retrieves a list of vmware service datacenters * * * * Parameters: doc - [IN] XML document * @@ -3926,8 +3776,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_hv_ds_dc_list * - * * * Purpose: retrieves a list of all vmware service hypervisor ids * * * * Parameters: service - [IN] the vmware service * @@ -4121,8 +3969,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_event_session * - * * * Purpose: retrieves event session name * * * * Parameters: service - [IN] the vmware service * @@ -4174,8 +4020,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_reset_event_history_collector * - * * * Purpose: resets "scrollable view" to the latest events * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -4221,8 +4065,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_read_previous_events * - * * * Purpose: reads events from "scrollable view" and moves it back in time * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -4270,8 +4112,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_event_latestpage * - * * * Purpose: reads events from "latest page" and moves it back in time * * * * Parameters: service - [IN] the vmware service * @@ -4331,8 +4171,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_destroy_event_session * - * * * Purpose: destroys event session * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -4376,8 +4214,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_put_event_data * - * * * Purpose: read event data by id from xml and put to array of events * * * * Parameters: events - [IN/OUT] the array of parsed events * @@ -4495,8 +4331,6 @@ static int vmware_service_put_event_data(zbx_vector_ptr_t *events, zbx_id_xmlnod /****************************************************************************** * * - * Function: vmware_service_parse_event_data * - * * * Purpose: parse multiple events data * * * * Parameters: events - [IN/OUT] the array of parsed events * @@ -4632,8 +4466,6 @@ clean: /****************************************************************************** * * - * Function: vmware_service_get_event_data * - * * * Purpose: retrieves event data * * * * Parameters: service - [IN] the vmware service * @@ -4749,8 +4581,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_last_event_data * - * * * Purpose: retrieves data only last event * * * * Parameters: service - [IN] the vmware service * @@ -4854,8 +4684,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_clusters * - * * * Purpose: retrieves a list of vmware service clusters * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -5006,8 +4834,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_cluster_status * - * * * Purpose: retrieves status of the specified vmware cluster * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -5068,8 +4894,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_get_cluster_list * - * * * Purpose: creates list of vmware cluster objects * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -5136,8 +4960,6 @@ out: /****************************************************************************** * * - * Function: get_default_maxquerymetrics_for_vcenter * - * * * Purpose: get statically defined default value for maxquerymetrics for * * vcenter when it could not be retrieved from soap, depending on * * vcenter version (https://kb.vmware.com/s/article/2107096) * @@ -5159,8 +4981,6 @@ static unsigned int get_default_maxquerymetrics_for_vcenter(const zbx_vmware_ser /****************************************************************************** * * - * Function: vmware_service_get_maxquerymetrics * - * * * Purpose: get vpxd.stats.maxquerymetrics parameter from vcenter only * * * * Parameters: easyhandle - [IN] the CURL handle * @@ -5236,8 +5056,6 @@ out: } /****************************************************************************** * * - * Function: vmware_counters_add_new * - * * * Purpose: creates a new performance counter object in shared memory and * * adds to the specified vector * * * @@ -5262,8 +5080,6 @@ static void vmware_counters_add_new(zbx_vector_ptr_t *counters, zbx_uint64_t cou /****************************************************************************** * * - * Function: vmware_service_initialize * - * * * Purpose: initializes vmware service object * * * * Parameters: service - [IN] the vmware service * @@ -5364,8 +5180,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_add_perf_entity * - * * * Purpose: adds entity to vmware service performance entity list * * * * Parameters: service - [IN] the vmware service * @@ -5421,8 +5235,6 @@ static void vmware_service_add_perf_entity(zbx_vmware_service_t *service, const /****************************************************************************** * * - * Function: vmware_service_update_perf_entities * - * * * Purpose: adds new or remove old entities (hypervisors, virtual machines) * * from service performance entity list * * * @@ -5504,8 +5316,6 @@ static void vmware_service_update_perf_entities(zbx_vmware_service_t *service) /****************************************************************************** * * - * Function: vmware_service_update * - * * * Purpose: updates object with a new data from vmware service * * * * Parameters: service - [IN] the vmware service * @@ -5804,8 +5614,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_process_perf_entity_data * - * * * Purpose: updates vmware performance statistics data * * * * Parameters: perfdata - [OUT] the performance counter values * @@ -5895,8 +5703,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_parse_perf_data * - * * * Purpose: updates vmware performance statistics data * * * * Parameters: perfdata - [OUT] performance entity data * @@ -5951,8 +5757,6 @@ clean: /****************************************************************************** * * - * Function: vmware_perf_data_add_error * - * * * Purpose: adds error for the specified perf entity * * * * Parameters: perfdata - [OUT] the collected performance counter data * @@ -5982,8 +5786,6 @@ static void vmware_perf_data_add_error(zbx_vector_ptr_t *perfdata, const char *t /****************************************************************************** * * - * Function: vmware_service_copy_perf_data * - * * * Purpose: copies vmware performance statistics of specified service * * * * Parameters: service - [IN] the vmware service * @@ -6038,8 +5840,6 @@ static void vmware_service_copy_perf_data(zbx_vmware_service_t *service, zbx_vec /****************************************************************************** * * - * Function: vmware_service_retrieve_perf_counters * - * * * Purpose: retrieves performance counter values from vmware service * * * * Parameters: service - [IN] the vmware service * @@ -6172,8 +5972,6 @@ static void vmware_service_retrieve_perf_counters(zbx_vmware_service_t *service, /****************************************************************************** * * - * Function: vmware_service_update_perf * - * * * Purpose: updates vmware statistics data * * * * Parameters: service - [IN] the vmware service * @@ -6336,8 +6134,6 @@ out: /****************************************************************************** * * - * Function: vmware_service_remove * - * * * Purpose: removes vmware service * * * * Parameters: service - [IN] the vmware service * @@ -6368,8 +6164,6 @@ static void vmware_service_remove(zbx_vmware_service_t *service) /****************************************************************************** * * - * Function: zbx_vmware_get_service * - * * * Purpose: gets vmware service object * * * * Parameters: url - [IN] the vmware service URL * @@ -6451,8 +6245,6 @@ out: /****************************************************************************** * * - * Function: zbx_vmware_service_get_counterid * - * * * Purpose: gets vmware performance counter id and unit info by the path * * * * Parameters: service - [IN] the vmware service * @@ -6495,8 +6287,6 @@ out: /****************************************************************************** * * - * Function: zbx_vmware_service_add_perf_counter * - * * * Purpose: start monitoring performance counter of the specified entity * * * * Parameters: service - [IN] the vmware service * @@ -6549,8 +6339,6 @@ int zbx_vmware_service_add_perf_counter(zbx_vmware_service_t *service, const cha /****************************************************************************** * * - * Function: zbx_vmware_service_get_perf_entity * - * * * Purpose: gets performance entity by type and id * * * * Parameters: service - [IN] the vmware service * @@ -6577,8 +6365,6 @@ zbx_vmware_perf_entity_t *zbx_vmware_service_get_perf_entity(zbx_vmware_service_ /****************************************************************************** * * - * Function: zbx_vmware_init * - * * * Purpose: initializes vmware collector service * * * * Comments: This function must be called before worker threads are forked. * @@ -6624,8 +6410,6 @@ out: /****************************************************************************** * * - * Function: zbx_vmware_destroy * - * * * Purpose: destroys vmware collector service * * * ******************************************************************************/ @@ -6653,8 +6437,6 @@ void zbx_vmware_destroy(void) /****************************************************************************** * * - * Function: main_vmware_loop * - * * * Purpose: the vmware collector main loop * * * ******************************************************************************/ @@ -6816,8 +6598,6 @@ ZBX_THREAD_ENTRY(vmware_thread, args) /****************************************************************************** * * - * Function: zbx_vmware_lock * - * * * Purpose: locks vmware collector * * * ******************************************************************************/ @@ -6828,8 +6608,6 @@ void zbx_vmware_lock(void) /****************************************************************************** * * - * Function: zbx_vmware_unlock * - * * * Purpose: unlocks vmware collector * * * ******************************************************************************/ @@ -6840,8 +6618,6 @@ void zbx_vmware_unlock(void) /****************************************************************************** * * - * Function: zbx_vmware_get_statistics * - * * * Purpose: gets vmware collector statistics * * * * Parameters: stats - [OUT] the vmware collector statistics * @@ -6872,8 +6648,6 @@ int zbx_vmware_get_statistics(zbx_vmware_stats_t *stats) */ /****************************************************************************** * * - * Function: libxml_handle_error * - * * * Purpose: libxml2 callback function for error handle * * * * Parameters: user_data - [IN/OUT] the user context * @@ -6888,8 +6662,6 @@ static void libxml_handle_error(void *user_data, xmlErrorPtr err) /****************************************************************************** * * - * Function: zbx_xml_try_read_value * - * * * Purpose: retrieve a value from xml data and return status of operation * * * * Parameters: data - [IN] XML data * @@ -6960,8 +6732,6 @@ out: /****************************************************************************** * * - * Function: zbx_xml_read_node_value * - * * * Purpose: retrieve a value from xml data relative to the specified node * * * * Parameters: doc - [IN] the XML document * @@ -7012,8 +6782,6 @@ clean: /****************************************************************************** * * - * Function: zbx_xml_read_doc_value * - * * * Purpose: retrieve a value from xml document relative to the root node * * * * Parameters: xdoc - [IN] the XML document * @@ -7033,8 +6801,6 @@ static char *zbx_xml_read_doc_value(xmlDoc *xdoc, const char *xpath) /****************************************************************************** * * - * Function: zbx_xml_read_doc_num * - * * * Purpose: retrieves numeric xpath value * * * * Parameters: xdoc - [IN] xml document * @@ -7071,8 +6837,6 @@ out: /****************************************************************************** * * - * Function: zbx_xml_read_values * - * * * Purpose: populate array of values from a xml data * * * * Parameters: xdoc - [IN] XML document * |