Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/zbxdbcache/dbconfig.c')
-rw-r--r--src/libs/zbxdbcache/dbconfig.c352
1 files changed, 0 insertions, 352 deletions
diff --git a/src/libs/zbxdbcache/dbconfig.c b/src/libs/zbxdbcache/dbconfig.c
index cbd0a907f06..4839fbe7bcf 100644
--- a/src/libs/zbxdbcache/dbconfig.c
+++ b/src/libs/zbxdbcache/dbconfig.c
@@ -78,8 +78,6 @@ int sync_in_progress = 0;
/******************************************************************************
* *
- * Function: zbx_value_validator_func_t *
- * *
* Purpose: validate macro value when expanding user macros *
* *
* Parameters: macro - [IN] the user macro *
@@ -109,8 +107,6 @@ extern char *CONFIG_VAULTDBPATH;
extern char *CONFIG_VAULTTOKEN;
/******************************************************************************
* *
- * Function: dc_strdup *
- * *
* Purpose: copies string into configuration cache shared memory *
* *
******************************************************************************/
@@ -127,8 +123,6 @@ static char *dc_strdup(const char *source)
/******************************************************************************
* *
- * Function: is_item_processed_by_server *
- * *
* Parameters: type - [IN] item type [ITEM_TYPE_* flag] *
* key - [IN] item key *
* *
@@ -250,8 +244,6 @@ static unsigned char poller_by_item(unsigned char type, const char *key)
/******************************************************************************
* *
- * Function: zbx_is_counted_in_item_queue *
- * *
* Purpose: determine whether the given item type is counted in item queue *
* *
* Return value: SUCCEED if item is counted in the queue, FAIL otherwise *
@@ -282,8 +274,6 @@ int zbx_is_counted_in_item_queue(unsigned char type, const char *key)
/******************************************************************************
* *
- * Function: get_item_nextcheck_seed *
- * *
* Purpose: get the seed value to be used for item nextcheck calculations *
* *
* Return value: the seed for nextcheck calculations *
@@ -438,8 +428,6 @@ static void DCincrease_disable_until(ZBX_DC_INTERFACE *interface, int now)
/******************************************************************************
* *
- * Function: DCfind_id *
- * *
* Purpose: Find an element in a hashset by its 'id' or create the element if *
* it does not exist *
* *
@@ -500,8 +488,6 @@ static ZBX_DC_HOST *DCfind_host(const char *host)
/******************************************************************************
* *
- * Function: DCfind_proxy *
- * *
* Purpose: Find a record with proxy details in configuration cache using the *
* proxy name *
* *
@@ -648,8 +634,6 @@ static void DCupdate_proxy_queue(ZBX_DC_PROXY *proxy)
/******************************************************************************
* *
- * Function: config_gmacro_add_index *
- * *
* Purpose: adds global macro index *
* *
* Parameters: gmacro_index - [IN/OUT] a global macro index hashset *
@@ -679,8 +663,6 @@ static ZBX_DC_GMACRO_M *config_gmacro_add_index(zbx_hashset_t *gmacro_index, ZBX
/******************************************************************************
* *
- * Function: config_gmacro_remove_index *
- * *
* Purpose: removes global macro index *
* *
* Parameters: gmacro_index - [IN/OUT] a global macro index hashset *
@@ -704,8 +686,6 @@ static ZBX_DC_GMACRO_M *config_gmacro_remove_index(zbx_hashset_t *gmacro_index,
/******************************************************************************
* *
- * Function: config_gmacro_context_compare *
- * *
* Purpose: comparison function to sort global macro vector by context *
* operator, value and macro name *
* *
@@ -730,8 +710,6 @@ static int config_gmacro_context_compare(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: config_hmacro_add_index *
- * *
* Purpose: adds host macro index *
* *
* Parameters: hmacro_index - [IN/OUT] a host macro index hashset *
@@ -760,8 +738,6 @@ static ZBX_DC_HMACRO_HM *config_hmacro_add_index(zbx_hashset_t *hmacro_index, ZB
/******************************************************************************
* *
- * Function: config_hmacro_remove_index *
- * *
* Purpose: removes host macro index *
* *
* Parameters: hmacro_index - [IN/OUT] a host macro index hashset *
@@ -786,8 +762,6 @@ static ZBX_DC_HMACRO_HM *config_hmacro_remove_index(zbx_hashset_t *hmacro_index,
/******************************************************************************
* *
- * Function: config_hmacro_context_compare *
- * *
* Purpose: comparison function to sort host macro vector by context *
* operator, value and macro name *
* *
@@ -906,8 +880,6 @@ clean:
/******************************************************************************
* *
- * Function: set_hk_opt *
- * *
* Purpose: sets and validates global housekeeping option *
* *
* Parameters: value - [OUT] housekeeping setting *
@@ -2230,8 +2202,6 @@ void DCsync_kvs_paths(const struct zbx_json_parse *jp_kvs_paths)
/******************************************************************************
* *
- * Function: substitute_host_interface_macros *
- * *
* Purpose: trying to resolve the macros in host interface *
* *
******************************************************************************/
@@ -2272,8 +2242,6 @@ static void substitute_host_interface_macros(ZBX_DC_INTERFACE *interface)
/******************************************************************************
* *
- * Function: dc_interface_snmpaddrs_remove *
- * *
* Purpose: remove interface from SNMP address -> interfaceid index *
* *
* Parameters: interface - [IN] the interface *
@@ -2310,8 +2278,6 @@ static void dc_interface_snmpaddrs_remove(ZBX_DC_INTERFACE *interface)
/******************************************************************************
* *
- * Function: dc_interface_snmp_set *
- * *
* Purpose: setup SNMP attributes for interface with interfaceid index *
* *
* Parameters: interface - [IN] the interface *
@@ -2356,8 +2322,6 @@ static ZBX_DC_SNMPINTERFACE *dc_interface_snmp_set(zbx_uint64_t interfaceid, con
/******************************************************************************
* *
- * Function: dc_interface_snmp_remove *
- * *
* Purpose: remove interface from SNMP address -> interfaceid index *
* *
* Parameters: interface - [IN] the interface *
@@ -2628,8 +2592,6 @@ static void DCsync_interfaces(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: dc_interface_snmpitems_remove *
- * *
* Purpose: remove item from interfaceid -> itemid index *
* *
* Parameters: interface - [IN] the item *
@@ -2661,8 +2623,6 @@ static void dc_interface_snmpitems_remove(ZBX_DC_ITEM *item)
/******************************************************************************
* *
- * Function: dc_masteritem_remove_depitem *
- * *
* Purpose: remove itemid from master item dependent itemid vector *
* *
* Parameters: master_itemid - [IN] the master item identifier *
@@ -2696,8 +2656,6 @@ static void dc_masteritem_remove_depitem(zbx_uint64_t master_itemid, zbx_uint64_
/******************************************************************************
* *
- * Function: dc_interface_update_agent_stats *
- * *
* Purpose: update number of items per agent statistics *
* *
* Parameters: interface - [IN/OUT] the interface *
@@ -3787,8 +3745,6 @@ static void DCconfig_sort_triggers_topologically(void);
/******************************************************************************
* *
- * Function: dc_trigger_deplist_release *
- * *
* Purpose: releases trigger dependency list, removing it if necessary *
* *
******************************************************************************/
@@ -3806,8 +3762,6 @@ static int dc_trigger_deplist_release(ZBX_DC_TRIGGER_DEPLIST *trigdep)
/******************************************************************************
* *
- * Function: dc_trigger_deplist_init *
- * *
* Purpose: initializes trigger dependency list *
* *
******************************************************************************/
@@ -3821,8 +3775,6 @@ static void dc_trigger_deplist_init(ZBX_DC_TRIGGER_DEPLIST *trigdep, ZBX_DC_TRIG
/******************************************************************************
* *
- * Function: dc_trigger_deplist_reset *
- * *
* Purpose: resets trigger dependency list to release memory allocated by *
* dependencies vector *
* *
@@ -4017,8 +3969,6 @@ static int dc_function_calculate_nextcheck(const zbx_trigger_timer_t *timer, tim
/******************************************************************************
* *
- * Function: dc_trigger_function_timer_create *
- * *
* Purpose: create trigger timer based on the trend function *
* *
* Return value: Created timer or NULL in the case of error. *
@@ -4070,8 +4020,6 @@ static zbx_trigger_timer_t *dc_trigger_function_timer_create(ZBX_DC_FUNCTION *fu
/******************************************************************************
* *
- * Function: dc_trigger_timer_create *
- * *
* Purpose: create trigger timer based on the specified trigger *
* *
* Return value: Created timer or NULL in the case of error. *
@@ -4097,8 +4045,6 @@ static zbx_trigger_timer_t *dc_trigger_timer_create(ZBX_DC_TRIGGER *trigger)
/******************************************************************************
* *
- * Function: dc_trigger_timer_free *
- * *
* Purpose: free trigger timer *
* *
******************************************************************************/
@@ -4112,8 +4058,6 @@ static void dc_trigger_timer_free(zbx_trigger_timer_t *timer)
/******************************************************************************
* *
- * Function: dc_schedule_trigger_timer *
- * *
* Purpose: schedule trigger timer to be executed at the specified time *
* *
* Parameter: timer - [IN] the timer to schedule *
@@ -4141,8 +4085,6 @@ static void dc_schedule_trigger_timer(zbx_trigger_timer_t *timer, const zbx_time
/******************************************************************************
* *
- * Function: dc_schedule_new_trigger_timers *
- * *
* Purpose: set timer schedule and evaluation times based on functions and *
* old trend function queue *
* *
@@ -4320,8 +4262,6 @@ static void DCsync_functions(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: dc_regexp_remove_expression *
- * *
* Purpose: removes expression from regexp *
* *
******************************************************************************/
@@ -4348,8 +4288,6 @@ static ZBX_DC_REGEXP *dc_regexp_remove_expression(const char *regexp_name, zbx_u
/******************************************************************************
* *
- * Function: DCsync_expressions *
- * *
* Purpose: Updates expressions configuration cache *
* *
* Parameters: result - [IN] the result of expressions database select *
@@ -4441,8 +4379,6 @@ static void DCsync_expressions(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_actions *
- * *
* Purpose: Updates actions configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -4513,8 +4449,6 @@ static void DCsync_actions(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_action_ops *
- * *
* Purpose: Updates action operation class flags in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -4549,8 +4483,6 @@ static void DCsync_action_ops(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: dc_compare_action_conditions_by_type *
- * *
* Purpose: compare two action conditions by their type *
* *
* Comments: This function is used to sort action conditions by type. *
@@ -4568,8 +4500,6 @@ static int dc_compare_action_conditions_by_type(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: DCsync_action_conditions *
- * *
* Purpose: Updates action conditions configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -4673,8 +4603,6 @@ static void DCsync_action_conditions(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_correlations *
- * *
* Purpose: Updates correlations configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -4743,8 +4671,6 @@ static void DCsync_correlations(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: dc_corr_condition_get_size *
- * *
* Purpose: get the actual size of correlation condition data depending on *
* its type *
* *
@@ -4777,8 +4703,6 @@ static size_t dc_corr_condition_get_size(unsigned char type)
/******************************************************************************
* *
- * Function: dc_corr_condition_init_data *
- * *
* Purpose: initializes correlation condition data from database row *
* *
* Parameters: condition - [IN] the condition to initialize *
@@ -4826,8 +4750,6 @@ static void dc_corr_condition_init_data(zbx_dc_corr_condition_t *condition, int
/******************************************************************************
* *
- * Function: corr_condition_free_data *
- * *
* Purpose: frees correlation condition data *
* *
* Parameters: condition - [IN] the condition *
@@ -4857,8 +4779,6 @@ static void corr_condition_free_data(zbx_dc_corr_condition_t *condition)
/******************************************************************************
* *
- * Function: dc_compare_corr_conditions_by_type *
- * *
* Purpose: compare two correlation conditions by their type *
* *
* Comments: This function is used to sort correlation conditions by type. *
@@ -4876,8 +4796,6 @@ static int dc_compare_corr_conditions_by_type(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: DCsync_corr_conditions *
- * *
* Purpose: Updates correlation conditions configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -4985,8 +4903,6 @@ static void DCsync_corr_conditions(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_corr_operations *
- * *
* Purpose: Updates correlation operations configuration cache *
* *
* Parameters: result - [IN] the result of correlation operations database *
@@ -5069,8 +4985,6 @@ static int dc_compare_hgroups(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: DCsync_hostgroups *
- * *
* Purpose: Updates host groups configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5137,8 +5051,6 @@ static void DCsync_hostgroups(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_trigger_tags *
- * *
* Purpose: Updates trigger tags in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5222,8 +5134,6 @@ static void DCsync_trigger_tags(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_item_tags *
- * *
* Purpose: Updates item tags in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5307,8 +5217,6 @@ static void DCsync_item_tags(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_host_tags *
- * *
* Purpose: Updates host tags in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5405,8 +5313,6 @@ static void DCsync_host_tags(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: dc_compare_itemscript_param *
- * *
* Purpose: compare two item script parameters *
* *
******************************************************************************/
@@ -5423,8 +5329,6 @@ static int dc_compare_itemscript_param(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: dc_compare_item_preproc_by_step *
- * *
* Purpose: compare two item preprocessing operations by step *
* *
* Comments: This function is used to sort correlation conditions by type. *
@@ -5448,8 +5352,6 @@ static int dc_compare_preprocops_by_step(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: DCsync_item_preproc *
- * *
* Purpose: Updates item preprocessing steps in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5568,8 +5470,6 @@ static void DCsync_item_preproc(zbx_dbsync_t *sync, int timestamp)
/******************************************************************************
* *
- * Function: DCsync_itemscript_param *
- * *
* Purpose: Updates item script parameters in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5678,8 +5578,6 @@ static void DCsync_itemscript_param(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: DCsync_hostgroup_hosts *
- * *
* Purpose: Updates group hosts in configuration cache *
* *
* Parameters: sync - [IN] the db synchronization data *
@@ -5742,8 +5640,6 @@ static void DCsync_hostgroup_hosts(zbx_dbsync_t *sync)
/******************************************************************************
* *
- * Function: dc_trigger_update_topology *
- * *
* Purpose: updates trigger topology after trigger dependency changes *
* *
******************************************************************************/
@@ -5772,8 +5668,6 @@ static int zbx_default_ptr_pair_ptr_compare_func(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: dc_trigger_update_cache *
- * *
* Purpose: updates trigger related cache data; *
* 1) time triggers assigned to timer processes *
* 2) trigger functionality (if it uses contain disabled *
@@ -5858,8 +5752,6 @@ static void dc_trigger_update_cache(void)
/******************************************************************************
* *
- * Function: dc_hostgroups_update_cache *
- * *
* Purpose: updates hostgroup name index and resets nested group lists *
* *
******************************************************************************/
@@ -5883,8 +5775,6 @@ static void dc_hostgroups_update_cache(void)
/******************************************************************************
* *
- * Function: dc_load_trigger_queue *
- * *
* Purpose: load trigger queue from database *
* *
* Comments: This function is called when syncing configuration cache for the *
@@ -5925,8 +5815,6 @@ static void dc_load_trigger_queue(zbx_hashset_t *trend_functions)
/******************************************************************************
* *
- * Function: DCsync_configuration *
- * *
* Purpose: Synchronize configuration data from database *
* *
* Author: Alexander Vladishev, Aleksandrs Saveljevs *
@@ -6990,8 +6878,6 @@ static int __config_data_session_compare(const void *d1, const void *d2)
/******************************************************************************
* *
- * Function: init_configuration_cache *
- * *
* Purpose: Allocate shared memory for configuration cache *
* *
* Author: Alexander Vladishev, Aleksandrs Saveljevs *
@@ -7187,8 +7073,6 @@ out:
/******************************************************************************
* *
- * Function: free_configuration_cache *
- * *
* Purpose: Free memory allocated for configuration cache *
* *
* Author: Alexei Vladishev, Aleksandrs Saveljevs *
@@ -7213,8 +7097,6 @@ void free_configuration_cache(void)
/******************************************************************************
* *
- * Function: in_maintenance_without_data_collection *
- * *
* Parameters: maintenance_status - [IN] maintenance status *
* HOST_MAINTENANCE_STATUS_* flag *
* maintenance_type - [IN] maintenance type *
@@ -7308,8 +7190,6 @@ static void DCget_host(DC_HOST *dst_host, const ZBX_DC_HOST *src_host, unsigned
/******************************************************************************
* *
- * Function: DCget_host_by_hostid *
- * *
* Purpose: Locate host in configuration cache *
* *
* Parameters: host - [OUT] pointer to DC_HOST structure *
@@ -7340,8 +7220,6 @@ int DCget_host_by_hostid(DC_HOST *host, zbx_uint64_t hostid)
/******************************************************************************
* *
- * Function: DCcheck_proxy_permissions *
- * *
* Purpose: *
* Check access rights for an active proxy and get the proxy ID *
* *
@@ -7469,8 +7347,6 @@ int DCcheck_proxy_permissions(const char *host, const zbx_socket_t *sock, zbx_ui
#if defined(HAVE_GNUTLS) || defined(HAVE_OPENSSL)
/******************************************************************************
* *
- * Function: DCget_psk_by_identity *
- * *
* Purpose: *
* Find PSK with the specified identity in configuration cache *
* *
@@ -7547,8 +7423,6 @@ size_t DCget_psk_by_identity(const unsigned char *psk_identity, unsigned char *p
/******************************************************************************
* *
- * Function: DCget_autoregistration_psk *
- * *
* Purpose: *
* Copy autoregistration PSK identity and value from configuration cache *
* into caller's buffers *
@@ -8097,8 +7971,6 @@ static void DCclean_trigger(DC_TRIGGER *trigger)
/******************************************************************************
* *
- * Function: DCconfig_get_items_by_keys *
- * *
* Purpose: locate item in configuration cache by host and key *
* *
* Parameters: items - [OUT] pointer to array of DC_ITEM structures *
@@ -8156,8 +8028,6 @@ int DCconfig_get_hostid_by_name(const char *host, zbx_uint64_t *hostid)
/******************************************************************************
* *
- * Function: DCconfig_get_items_by_itemids *
- * *
* Purpose: Get item with specified ID *
* *
* Parameters: items - [OUT] pointer to DC_ITEM structures *
@@ -8249,8 +8119,6 @@ void DCconfig_get_items_by_itemids_partial(DC_ITEM *items, const zbx_uint64_t *i
/******************************************************************************
* *
- * Function: dc_preproc_item_init *
- * *
* Purpose: initialize new preprocessor item from configuration cache *
* *
* Parameters: item - [OUT] the item to initialize *
@@ -8294,8 +8162,6 @@ static int dc_preproc_item_init(zbx_preproc_item_t *item, zbx_uint64_t itemid)
/******************************************************************************
* *
- * Function: DCconfig_get_preprocessable_items *
- * *
* Purpose: get preprocessable items: *
* * items with preprocessing steps *
* * items with dependent items *
@@ -8460,8 +8326,6 @@ void DCconfig_get_triggers_by_triggerids(DC_TRIGGER *triggers, const zbx_uint64_
/******************************************************************************
* *
- * Function: DCconfig_get_functions_by_functionids *
- * *
* Purpose: Get functions by IDs *
* *
* Parameters: functions - [OUT] pointer to DC_FUNCTION structures *
@@ -8497,8 +8361,6 @@ void DCconfig_get_functions_by_functionids(DC_FUNCTION *functions, zbx_uint64_t
/******************************************************************************
* *
- * Function: DCconfig_clean_functions *
- * *
* Author: Alexander Vladishev *
* *
******************************************************************************/
@@ -8530,8 +8392,6 @@ void DCconfig_clean_triggers(DC_TRIGGER *triggers, int *errcodes, size_t num)
/******************************************************************************
* *
- * Function: DCconfig_lock_triggers_by_history_items *
- * *
* Purpose: Lock triggers for specified items so that multiple processes do *
* not process one trigger simultaneously. Otherwise, this leads to *
* problems like multiple successive OK events or escalations being *
@@ -8617,8 +8477,6 @@ next:;
/******************************************************************************
* *
- * Function: DCconfig_lock_triggers_by_triggerids *
- * *
* Purpose: Lock triggers so that multiple processes do not process one *
* trigger simultaneously. *
* *
@@ -8653,8 +8511,6 @@ void DCconfig_lock_triggers_by_triggerids(zbx_vector_uint64_t *triggerids_in, zb
/******************************************************************************
* *
- * Function: DCconfig_unlock_triggers *
- * *
* Author: Aleksandrs Saveljevs *
* *
******************************************************************************/
@@ -8679,8 +8535,6 @@ void DCconfig_unlock_triggers(const zbx_vector_uint64_t *triggerids)
/******************************************************************************
* *
- * Function: DCconfig_unlock_all_triggers *
- * *
* Purpose: Unlocks all locked triggers before doing full history sync at *
* program exit *
* *
@@ -8702,8 +8556,6 @@ void DCconfig_unlock_all_triggers(void)
/******************************************************************************
* *
- * Function: DCconfig_get_triggers_by_itemids *
- * *
* Purpose: get enabled triggers for specified items *
* *
* Author: Aleksandrs Saveljevs *
@@ -8761,8 +8613,6 @@ void DCconfig_get_triggers_by_itemids(zbx_hashset_t *trigger_info, zbx_vector_pt
/******************************************************************************
* *
- * Function: DCconfig_find_active_time_function *
- * *
* Purpose: check if the expression contains time based functions *
* *
* Parameters: expression - [IN] the original expression *
@@ -8813,8 +8663,6 @@ out:
/******************************************************************************
* *
- * Function: zbx_dc_get_triggers_by_timers *
- * *
* Purpose: gets timer triggers from cache *
* *
* Parameters: trigger_info - [IN/OUT] triggers *
@@ -8882,8 +8730,6 @@ void zbx_dc_get_triggers_by_timers(zbx_hashset_t *trigger_info, zbx_vector_ptr_t
/******************************************************************************
* *
- * Function: trigger_timer_validate *
- * *
* Purpose: validate trigger timer *
* *
* Parameters: timer - [IN] trigger timer *
@@ -8934,8 +8780,6 @@ static int trigger_timer_validate(zbx_trigger_timer_t *timer, ZBX_DC_TRIGGER **d
/******************************************************************************
* *
- * Function: zbx_dc_get_trigger_timers *
- * *
* Purpose: gets timers from trigger queue *
* *
* Parameters: timers - [OUT] the timer triggers that must be processed *
@@ -9037,8 +8881,6 @@ void zbx_dc_get_trigger_timers(zbx_vector_ptr_t *timers, int now, int soft_limit
/******************************************************************************
* *
- * Function: dc_reschedule_trigger_timers *
- * *
* Purpose: reschedule trigger timers *
* *
* Comments: Triggers are unlocked by DCconfig_unlock_triggers() *
@@ -9086,8 +8928,6 @@ static void dc_reschedule_trigger_timers(zbx_vector_ptr_t *timers)
/******************************************************************************
* *
- * Function: zbx_dc_reschedule_trigger_timers *
- * *
* Purpose: reschedule trigger timers while locking configuration cache *
* *
* Comments: Triggers are unlocked by DCconfig_unlock_triggers() *
@@ -9117,8 +8957,6 @@ void zbx_dc_reschedule_trigger_timers(zbx_vector_ptr_t *timers, int now)
/******************************************************************************
* *
- * Function: zbx_dc_get_timer_queue *
- * *
* Purpose: clears timer trigger queue *
* *
******************************************************************************/
@@ -9153,8 +8991,6 @@ void zbx_dc_clear_timer_queue(zbx_vector_ptr_t *timers)
/******************************************************************************
* *
- * Function: zbx_dc_free_timers *
- * *
******************************************************************************/
void zbx_dc_free_timers(zbx_vector_ptr_t *timers)
{
@@ -9266,8 +9102,6 @@ static int dc_get_interface_by_type(DC_INTERFACE *interface, zbx_uint64_t hostid
/******************************************************************************
* *
- * Function: DCconfig_get_interface_by_type *
- * *
* Purpose: Locate main interface of specified type in configuration cache *
* *
* Parameters: interface - [OUT] pointer to DC_INTERFACE structure *
@@ -9292,8 +9126,6 @@ int DCconfig_get_interface_by_type(DC_INTERFACE *interface, zbx_uint64_t hostid,
/******************************************************************************
* *
- * Function: DCconfig_get_interface *
- * *
* Purpose: Locate interface in configuration cache *
* *
* Parameters: interface - [OUT] pointer to DC_INTERFACE structure *
@@ -9349,8 +9181,6 @@ unlock:
/******************************************************************************
* *
- * Function: dc_config_get_queue_nextcheck *
- * *
* Purpose: Get nextcheck for selected queue *
* *
* Parameters: queue - [IN] the queue *
@@ -9379,8 +9209,6 @@ static int dc_config_get_queue_nextcheck(zbx_binary_heap_t *queue)
/******************************************************************************
* *
- * Function: DCconfig_get_poller_nextcheck *
- * *
* Purpose: Get nextcheck for selected poller *
* *
* Parameters: poller_type - [IN] poller type (ZBX_POLLER_TYPE_...) *
@@ -9427,8 +9255,6 @@ static void dc_requeue_item(ZBX_DC_ITEM *dc_item, const ZBX_DC_HOST *dc_host, co
/******************************************************************************
* *
- * Function: dc_requeue_item_at *
- * *
* Purpose: requeues items at the specified time *
* *
* Parameters: dc_item - [IN] the item to reque *
@@ -9454,8 +9280,6 @@ static void dc_requeue_item_at(ZBX_DC_ITEM *dc_item, ZBX_DC_HOST *dc_host, int n
/******************************************************************************
* *
- * Function: DCconfig_get_poller_items *
- * *
* Purpose: Get array of items for selected poller *
* *
* Parameters: poller_type - [IN] poller type (ZBX_POLLER_TYPE_...) *
@@ -9614,8 +9438,6 @@ int DCconfig_get_poller_items(unsigned char poller_type, DC_ITEM **items)
/******************************************************************************
* *
- * Function: DCconfig_get_ipmi_poller_items *
- * *
* Purpose: Get array of items for IPMI poller *
* *
* Parameters: now - [IN] current timestamp *
@@ -9709,8 +9531,6 @@ int DCconfig_get_ipmi_poller_items(int now, DC_ITEM *items, int items_num, int *
/******************************************************************************
* *
- * Function: DCconfig_get_snmp_interfaceids_by_addr *
- * *
* Purpose: get array of interface IDs for the specified address *
* *
* Return value: number of interface IDs returned *
@@ -9749,8 +9569,6 @@ unlock:
/******************************************************************************
* *
- * Function: DCconfig_get_snmp_items_by_interfaceid *
- * *
* Purpose: get array of snmp trap items for the specified interfaceid *
* *
* Return value: number of items returned *
@@ -9891,8 +9709,6 @@ void DCpoller_requeue_items(const zbx_uint64_t *itemids, const int *lastclocks,
/******************************************************************************
* *
- * Function: zbx_dc_requeue_unreachable_items *
- * *
* Purpose: requeue unreachable items *
* *
* Parameters: itemids - [IN] the item id array *
@@ -9942,8 +9758,6 @@ void zbx_dc_requeue_unreachable_items(zbx_uint64_t *itemids, size_t itemids_num)
/******************************************************************************
* *
- * Function: DCinterface_get_agent_availability *
- * *
* Purpose: get interface availability data for the specified agent *
* *
* Parameters: dc_interface - [IN] the interface *
@@ -9996,8 +9810,6 @@ static void DCagent_set_availability(zbx_agent_availability_t *av, unsigned cha
/******************************************************************************
* *
- * Function: DCinterface_set_agent_availability *
- * *
* Purpose: set interface availability data in configuration cache *
* *
* Parameters: dc_interface - [OUT] the interface *
@@ -10030,8 +9842,6 @@ static int DCinterface_set_agent_availability(ZBX_DC_INTERFACE *dc_interface, in
/******************************************************************************
* *
- * Function: DCinterface_set_availability *
- * *
* Purpose: set interface availability data in configuration cache *
* *
* Parameters: dc_interface - [OUT] the interface *
@@ -10066,8 +9876,6 @@ static int DCinterface_set_availability(ZBX_DC_INTERFACE *dc_interface, int now,
/******************************************************************************
* *
- * Function: zbx_interface_availability_init *
- * *
* Purpose: initializes interface availability data *
* *
* Parameters: availability - [IN/OUT] interface availability data *
@@ -10082,8 +9890,6 @@ void zbx_interface_availability_init(zbx_interface_availability_t *availability,
/********************************************************************************
* *
- * Function: zbx_interface_availability_clean *
- * *
* Purpose: releases resources allocated to store interface availability data *
* *
* Parameters: ia - [IN] interface availability data *
@@ -10096,8 +9902,6 @@ void zbx_interface_availability_clean(zbx_interface_availability_t *ia)
/******************************************************************************
* *
- * Function: zbx_interface_availability_free *
- * *
* Purpose: frees interface availability data *
* *
* Parameters: availability - [IN] interface availability data *
@@ -10112,8 +9916,6 @@ void zbx_interface_availability_free(zbx_interface_availability_t *availability)
ZBX_PTR_VECTOR_IMPL(availability_ptr, zbx_interface_availability_t *)
/******************************************************************************
* *
- * Function: zbx_agent_availability_init *
- * *
* Purpose: initializes agent availability with the specified data *
* *
* Parameters: agent - [IN/OUT] agent availability data *
@@ -10135,8 +9937,6 @@ static void zbx_agent_availability_init(zbx_agent_availability_t *agent, unsigne
/******************************************************************************
* *
- * Function: zbx_interface_availability_is_set *
- * *
* Purpose: checks interface availability if agent availability field is set *
* *
* Parameters: ia - [IN] interface availability data *
@@ -10194,8 +9994,6 @@ int zbx_interface_availability_is_set(const zbx_interface_availability_t *ia)
/*******************************************************************************
* *
- * Function: DCinterface_activate *
- * *
* Purpose: set interface as available based on the agent availability data *
* *
* Parameters: interfaceid - [IN] the interface identifier *
@@ -10257,8 +10055,6 @@ out:
/************************************************************************************
* *
- * Function: DCinterface_deactivate *
- * *
* Purpose: attempt to set interface as unavailable based on agent availability *
* *
* Parameters: interfaceid - [IN] the interface identifier *
@@ -10359,8 +10155,6 @@ out:
/******************************************************************************
* *
- * Function: DCset_interfaces_availability *
- * *
* Purpose: update availability of interfaces in configuration cache and *
* return the updated field flags *
* *
@@ -10480,8 +10274,6 @@ static int DCconfig_check_trigger_dependencies_rec(const ZBX_DC_TRIGGER_DEPLIST
/******************************************************************************
* *
- * Function: DCconfig_check_trigger_dependencies *
- * *
* Purpose: check whether any of trigger dependencies have value PROBLEM *
* *
* Return value: SUCCEED - trigger can change its value *
@@ -10555,8 +10347,6 @@ exit:
/******************************************************************************
* *
- * Function: DCconfig_sort_triggers_topologically *
- * *
* Purpose: assign each trigger an index based on trigger dependency topology *
* *
* Author: Aleksandrs Saveljevs *
@@ -10583,8 +10373,6 @@ static void DCconfig_sort_triggers_topologically(void)
/******************************************************************************
* *
- * Function: DCconfig_triggers_apply_changes *
- * *
* Purpose: apply trigger value,state,lastchange or error changes to *
* configuration cache after committed to database *
* *
@@ -10625,8 +10413,6 @@ void DCconfig_triggers_apply_changes(zbx_vector_ptr_t *trigger_diff)
/******************************************************************************
* *
- * Function: DCconfig_get_stats *
- * *
* Purpose: get statistics of the database cache *
* *
* Author: Alexander Vladishev, Aleksandrs Saveljevs *
@@ -10739,8 +10525,6 @@ int DCconfig_get_last_sync_time(void)
/******************************************************************************
* *
- * Function: DCconfig_get_proxypoller_hosts *
- * *
* Purpose: Get array of proxies for proxy poller *
* *
* Parameters: hosts - [OUT] array of hosts *
@@ -10794,8 +10578,6 @@ int DCconfig_get_proxypoller_hosts(DC_PROXY *proxies, int max_hosts)
/******************************************************************************
* *
- * Function: DCconfig_get_proxypoller_nextcheck *
- * *
* Purpose: Get nextcheck for passive proxies *
* *
* Return value: nextcheck or FAIL if no passive proxies in queue *
@@ -11086,8 +10868,6 @@ out:
/******************************************************************************
* *
- * Function: dc_expand_user_macros *
- * *
* Purpose: expand user macros in the specified text value *
* *
* Parameters: text - [IN] the text value to expand *
@@ -11170,8 +10950,6 @@ int dc_expand_user_macros_len(const char *text, size_t text_len, zbx_uint64_t *h
/******************************************************************************
* *
- * Function: zbx_dc_expand_user_macros_len *
- * *
* Purpose: expand user macros in the specified text *
* *
* Parameters: text - [IN] the text value to expand *
@@ -11206,8 +10984,6 @@ int zbx_dc_expand_user_macros_len(const char *text, size_t text_len, zbx_uint64_
/******************************************************************************
* *
- * Function: dc_expand_user_macros *
- * *
* Purpose: expand user macros in the specified text value *
* WARNING - DO NOT USE FOR TRIGGERS, for triggers use the dedicated function *
* *
@@ -11269,8 +11045,6 @@ char *dc_expand_user_macros(const char *text, zbx_uint64_t *hostids, int hostids
/******************************************************************************
* *
- * Function: zbx_dc_expand_user_macros *
- * *
* Purpose: expand user macros in the specified text value *
* *
* Parameters: text - [IN] the text value to expand *
@@ -11295,8 +11069,6 @@ char *zbx_dc_expand_user_macros(const char *text, zbx_uint64_t hostid)
/******************************************************************************
* *
- * Function: DCfree_item_queue *
- * *
* Purpose: frees the item queue data vector created by DCget_item_queue() *
* *
* Parameters: queue - [IN] the item queue data vector to free *
@@ -11312,8 +11084,6 @@ void DCfree_item_queue(zbx_vector_ptr_t *queue)
/******************************************************************************
* *
- * Function: DCget_item_queue *
- * *
* Purpose: retrieves vector of delayed items *
* *
* Parameters: queue - [OUT] the vector of delayed items (optional) *
@@ -11406,8 +11176,6 @@ int DCget_item_queue(zbx_vector_ptr_t *queue, int from, int to)
/******************************************************************************
* *
- * Function: dc_trigger_items_hosts_enabled *
- * *
* Purpose: check that functionids in trigger (recovery) expression *
* *
* Parameters: expression - [IN] trigger (recovery) expression *
@@ -11459,8 +11227,6 @@ out:
/******************************************************************************
* *
- * Function: dc_status_update *
- * *
* Purpose: check when status information stored in configuration cache was *
* updated last time and update it if necessary *
* *
@@ -11668,8 +11434,6 @@ static void dc_status_update(void)
/******************************************************************************
* *
- * Function: DCget_item_count *
- * *
* Purpose: return the number of active items *
* *
* Parameters: hostid - [IN] the host id, pass 0 to specify all hosts *
@@ -11700,8 +11464,6 @@ zbx_uint64_t DCget_item_count(zbx_uint64_t hostid)
/******************************************************************************
* *
- * Function: DCget_item_unsupported_count *
- * *
* Purpose: return the number of active unsupported items *
* *
* Parameters: hostid - [IN] the host id, pass 0 to specify all hosts *
@@ -11732,8 +11494,6 @@ zbx_uint64_t DCget_item_unsupported_count(zbx_uint64_t hostid)
/******************************************************************************
* *
- * Function: DCget_trigger_count *
- * *
* Purpose: count active triggers *
* *
******************************************************************************/
@@ -11754,8 +11514,6 @@ zbx_uint64_t DCget_trigger_count(void)
/******************************************************************************
* *
- * Function: DCget_host_count *
- * *
* Purpose: count monitored and not monitored hosts *
* *
******************************************************************************/
@@ -11776,8 +11534,6 @@ zbx_uint64_t DCget_host_count(void)
/******************************************************************************
* *
- * Function: DCget_required_performance *
- * *
* Return value: the required nvps number *
* *
******************************************************************************/
@@ -11798,8 +11554,6 @@ double DCget_required_performance(void)
/******************************************************************************
* *
- * Function: DCget_count_stats_all *
- * *
* Purpose: retrieves all internal metrics of the configuration cache *
* *
* Parameters: stats - [OUT] the configuration cache statistics *
@@ -11887,8 +11641,6 @@ void DCget_status(zbx_vector_ptr_t *hosts_monitored, zbx_vector_ptr_t *hosts_not
/******************************************************************************
* *
- * Function: DCget_expressions_by_names *
- * *
* Purpose: retrieves global expression data from cache *
* *
* Parameters: expressions - [OUT] a vector of expression data pointers *
@@ -11939,8 +11691,6 @@ void DCget_expressions_by_names(zbx_vector_ptr_t *expressions, const char * cons
/******************************************************************************
* *
- * Function: DCget_expression *
- * *
* Purpose: retrieves regular expression data from cache *
* *
* Parameters: expressions - [OUT] a vector of expression data pointers *
@@ -11957,8 +11707,6 @@ void DCget_expressions_by_name(zbx_vector_ptr_t *expressions, const char *name)
/******************************************************************************
* *
- * Function: DCget_data_expected_from *
- * *
* Purpose: Returns time since which data is expected for the given item. We *
* would not mind not having data for the item before that time, but *
* since that time we expect data to be coming. *
@@ -11998,8 +11746,6 @@ unlock:
/******************************************************************************
* *
- * Function: dc_get_hostids_by_functionids *
- * *
* Purpose: get host identifiers for the specified list of functions *
* *
* Parameters: functionids - [IN] the function ids *
@@ -12031,8 +11777,6 @@ void dc_get_hostids_by_functionids(const zbx_uint64_t *functionids, int function
/******************************************************************************
* *
- * Function: DCget_hostids_by_functionids *
- * *
* Purpose: get function host ids grouped by an object (trigger) id *
* *
* Parameters: functionids - [IN] the function ids *
@@ -12054,8 +11798,6 @@ void DCget_hostids_by_functionids(zbx_vector_uint64_t *functionids, zbx_vector_u
/******************************************************************************
* *
- * Function: dc_get_hosts_by_functionids *
- * *
* Purpose: get hosts for the specified list of functions *
* *
* Parameters: functionids - [IN] the function ids *
@@ -12089,8 +11831,6 @@ static void dc_get_hosts_by_functionids(const zbx_uint64_t *functionids, int fun
/******************************************************************************
* *
- * Function: DCget_hosts_by_functionids *
- * *
* Purpose: get hosts for the specified list of functions *
* *
* Parameters: functionids - [IN] the function ids *
@@ -12112,8 +11852,6 @@ void DCget_hosts_by_functionids(const zbx_vector_uint64_t *functionids, zbx_hash
/******************************************************************************
* *
- * Function: DCget_internal_action_count *
- * *
* Purpose: get number of enabled internal actions *
* *
* Return value: number of enabled internal actions *
@@ -12134,8 +11872,6 @@ unsigned int DCget_internal_action_count(void)
/******************************************************************************
* *
- * Function: zbx_config_get *
- * *
* Purpose: get global configuration data *
* *
* Parameters: cfg - [OUT] the global configuration data *
@@ -12196,8 +11932,6 @@ void zbx_config_get(zbx_config_t *cfg, zbx_uint64_t flags)
/******************************************************************************
* *
- * Function: zbx_config_get_hk_mode *
- * *
* Purpose: get housekeeping mode for history and trends tables *
* *
* Parameters: history_mode - [OUT] history housekeeping mode, can be either *
@@ -12216,8 +11950,6 @@ void zbx_config_get_hk_mode(unsigned char *history_mode, unsigned char *trends_m
/******************************************************************************
* *
- * Function: zbx_config_clean *
- * *
* Purpose: cleans global configuration data structure filled *
* by zbx_config_get() function *
* *
@@ -12245,8 +11977,6 @@ void zbx_config_clean(zbx_config_t *cfg)
/*********************************************************************************
* *
- * Function: DCreset_interfaces_availability *
- * *
* Purpose: resets interfaces availability for disabled hosts and hosts *
* without enabled items for the corresponding interface *
* *
@@ -12342,8 +12072,6 @@ int DCreset_interfaces_availability(zbx_vector_availability_ptr_t *interfaces)
/*******************************************************************************
* *
- * Function: DCget_interfaces_availability *
- * *
* Purpose: gets availability data for interfaces with availability data *
* changed in period from last availability update to the specified *
* timestamp *
@@ -12394,8 +12122,6 @@ int DCget_interfaces_availability(zbx_vector_ptr_t *interfaces, int *ts)
/******************************************************************************
* *
- * Function: DCtouch_interfaces_availability *
- * *
* Purpose: sets availability timestamp to current time for the specified *
* interfaces *
* *
@@ -12426,8 +12152,6 @@ void DCtouch_interfaces_availability(const zbx_vector_uint64_t *interfaceids)
/******************************************************************************
* *
- * Function: dc_action_copy_conditions *
- * *
* Purpose: copies configuration cache action conditions to the specified *
* vector *
* *
@@ -12463,8 +12187,6 @@ static void dc_action_copy_conditions(const zbx_dc_action_t *dc_action, zbx_vect
/******************************************************************************
* *
- * Function: dc_action_eval_create *
- * *
* Purpose: creates action evaluation data from configuration cache action *
* *
* Parameters: dc_action - [IN] the source action *
@@ -12495,8 +12217,6 @@ static zbx_action_eval_t *dc_action_eval_create(const zbx_dc_action_t *dc_action
/******************************************************************************
* *
- * Function: zbx_dc_get_actions_eval *
- * *
* Purpose: gets action evaluation data *
* *
* Parameters: actions - [OUT] the action evaluation data *
@@ -12534,8 +12254,6 @@ void zbx_dc_get_actions_eval(zbx_vector_ptr_t *actions, unsigned char opflags)
/******************************************************************************
* *
- * Function: zbx_set_availability_update_ts *
- * *
* Purpose: sets timestamp of the last availability update *
* *
* Parameter: ts - [IN] the last availability update timestamp *
@@ -12552,8 +12270,6 @@ void zbx_set_availability_diff_ts(int ts)
/******************************************************************************
* *
- * Function: corr_condition_clean *
- * *
* Purpose: frees correlation condition *
* *
* Parameter: condition - [IN] the condition to free *
@@ -12583,8 +12299,6 @@ static void corr_condition_clean(zbx_corr_condition_t *condition)
/******************************************************************************
* *
- * Function: dc_correlation_free *
- * *
* Purpose: frees global correlation rule *
* *
* Parameter: condition - [IN] the condition to free *
@@ -12604,8 +12318,6 @@ static void dc_correlation_free(zbx_correlation_t *correlation)
/******************************************************************************
* *
- * Function: dc_corr_condition_copy *
- * *
* Purpose: copies cached correlation condition to memory *
* *
* Parameter: dc_condition - [IN] the condition to copy *
@@ -12645,8 +12357,6 @@ static void dc_corr_condition_copy(const zbx_dc_corr_condition_t *dc_condition,
/******************************************************************************
* *
- * Function: zbx_dc_corr_operation_dup *
- * *
* Purpose: clones cached correlation operation to memory *
* *
* Parameter: operation - [IN] the operation to clone *
@@ -12666,8 +12376,6 @@ static zbx_corr_operation_t *zbx_dc_corr_operation_dup(const zbx_dc_corr_operati
/******************************************************************************
* *
- * Function: dc_correlation_formula_dup *
- * *
* Purpose: clones cached correlation formula, generating it if necessary *
* *
* Parameter: correlation - [IN] the correlation *
@@ -12788,8 +12496,6 @@ void zbx_dc_correlation_rules_free(zbx_correlation_rules_t *rules)
/******************************************************************************
* *
- * Function: zbx_dc_correlation_get_rules *
- * *
* Purpose: gets correlation rules from configuration cache *
* *
* Parameter: rules - [IN/OUT] the correlation rules *
@@ -12855,8 +12561,6 @@ void zbx_dc_correlation_rules_get(zbx_correlation_rules_t *rules)
/******************************************************************************
* *
- * Function: dc_hostgroup_cache_nested_groupids *
- * *
* Purpose: cache nested group identifiers *
* *
******************************************************************************/
@@ -12891,8 +12595,6 @@ void dc_hostgroup_cache_nested_groupids(zbx_dc_hostgroup_t *parent_group)
/******************************************************************************
* *
- * Function: dc_maintenance_precache_nested_groups *
- * *
* Purpose: pre-caches nested groups for groups used in running maintenances *
* *
******************************************************************************/
@@ -12935,8 +12637,6 @@ static void dc_maintenance_precache_nested_groups(void)
/******************************************************************************
* *
- * Function: dc_get_nested_hostgroupids *
- * *
* Purpose: gets nested group ids for the specified host group *
* (including the target group id) *
* *
@@ -12969,8 +12669,6 @@ void dc_get_nested_hostgroupids(zbx_uint64_t groupid, zbx_vector_uint64_t *neste
/******************************************************************************
* *
- * Function: zbx_dc_get_nested_hostgroupids *
- * *
* Purpose: gets nested group ids for the specified host groups *
* *
* Parameter: groupids - [IN] the parent group identifiers *
@@ -12995,8 +12693,6 @@ void zbx_dc_get_nested_hostgroupids(zbx_uint64_t *groupids, int groupids_num, zb
/******************************************************************************
* *
- * Function: zbx_dc_get_hostids_by_group_name *
- * *
* Purpose: gets hostids belonging to the group and its nested groups *
* *
* Parameter: name - [IN] the group name *
@@ -13055,8 +12751,6 @@ void zbx_dc_get_hostids_by_group_name(const char *name, zbx_vector_uint64_t *hos
/******************************************************************************
* *
- * Function: zbx_dc_get_active_proxy_by_name *
- * *
* Purpose: gets active proxy data by its name from configuration cache *
* *
* Parameters: *
@@ -13105,8 +12799,6 @@ out:
/******************************************************************************
* *
- * Function: zbx_dc_items_update_nextcheck *
- * *
* Purpose: updates item nextcheck values in configuration cache *
* *
* Parameters: items - [IN] the items to update *
@@ -13162,8 +12854,6 @@ void zbx_dc_items_update_nextcheck(DC_ITEM *items, zbx_agent_value_t *values, in
/******************************************************************************
* *
- * Function: zbx_dc_get_host_interfaces *
- * *
* Purpose: get data of all network interfaces for a host in configuration *
* cache *
* *
@@ -13241,8 +12931,6 @@ unlock:
/******************************************************************************
* *
- * Function: DCconfig_items_apply_changes *
- * *
* Purpose: apply item state, error, mtime, lastlogsize changes to *
* configuration cache *
* *
@@ -13283,8 +12971,6 @@ void DCconfig_items_apply_changes(const zbx_vector_ptr_t *item_diff)
/******************************************************************************
* *
- * Function: DCconfig_update_inventory_values *
- * *
* Purpose: update automatic inventory in configuration cache *
* *
******************************************************************************/
@@ -13318,8 +13004,6 @@ void DCconfig_update_inventory_values(const zbx_vector_ptr_t *inventory_values)
/******************************************************************************
* *
- * Function: dc_get_host_inventory_value_by_hostid *
- * *
* Purpose: find inventory value in automatically populated cache, if not *
* found then look in main inventory cache *
* *
@@ -13350,8 +13034,6 @@ static int dc_get_host_inventory_value_by_hostid(zbx_uint64_t hostid, char **rep
/******************************************************************************
* *
- * Function: DCget_host_inventory_value_by_itemid *
- * *
* Purpose: find inventory value in automatically populated cache, if not *
* found then look in main inventory cache *
* *
@@ -13373,8 +13055,6 @@ int DCget_host_inventory_value_by_itemid(zbx_uint64_t itemid, char **replace_to,
/******************************************************************************
* *
- * Function: DCget_host_inventory_value_by_hostid *
- * *
* Purpose: find inventory value in automatically populated cache, if not *
* found then look in main inventory cache *
* *
@@ -13394,8 +13074,6 @@ int DCget_host_inventory_value_by_hostid(zbx_uint64_t hostid, char **replace_to,
/******************************************************************************
* *
- * Function: zbx_dc_get_trigger_dependencies *
- * *
* Purpose: checks/returns trigger dependencies for a set of triggers *
* *
* Parameter: triggerids - [IN] the currently processing trigger ids *
@@ -13459,8 +13137,6 @@ void zbx_dc_get_trigger_dependencies(const zbx_vector_uint64_t *triggerids, zbx_
/******************************************************************************
* *
- * Function: zbx_dc_reschedule_items *
- * *
* Purpose: reschedules items that are processed by the target daemon *
* *
* Parameter: itemids - [IN] the item identifiers *
@@ -13515,8 +13191,6 @@ void zbx_dc_reschedule_items(const zbx_vector_uint64_t *itemids, int nextcheck,
/******************************************************************************
* *
- * Function: zbx_dc_proxy_update_nodata *
- * *
* Purpose: stop suppress mode of the nodata() trigger *
* *
* Parameter: subscriptions - [IN] the array of trigger id and time of values *
@@ -13564,8 +13238,6 @@ void zbx_dc_proxy_update_nodata(zbx_vector_uint64_pair_t *subscriptions)
/******************************************************************************
* *
- * Function: zbx_dc_update_proxy *
- * *
* Purpose: updates changed proxy data in configuration cache and updates *
* diff flags to reflect the updated data *
* *
@@ -13655,8 +13327,6 @@ void zbx_dc_update_proxy(zbx_proxy_diff_t *diff)
/******************************************************************************
* *
- * Function: zbx_dc_get_proxy_lastaccess *
- * *
* Purpose: returns proxy lastaccess changes since last lastaccess request *
* *
* Parameter: lastaccess - [OUT] last access updates for proxies that need *
@@ -13697,8 +13367,6 @@ void zbx_dc_get_proxy_lastaccess(zbx_vector_uint64_pair_t *lastaccess)
/******************************************************************************
* *
- * Function: zbx_dc_get_session_token *
- * *
* Purpose: returns session token *
* *
* Return value: pointer to session token (NULL for server). *
@@ -13715,8 +13383,6 @@ const char *zbx_dc_get_session_token(void)
/******************************************************************************
* *
- * Function: zbx_dc_get_or_create_data_session *
- * *
* Purpose: returns data session, creates a new session if none found *
* *
* Parameter: hostid - [IN] the host (proxy) identifier *
@@ -13761,8 +13427,6 @@ zbx_data_session_t *zbx_dc_get_or_create_data_session(zbx_uint64_t hostid, const
/******************************************************************************
* *
- * Function: zbx_dc_cleanup_data_sessions *
- * *
* Purpose: removes data sessions not accessed for 24 hours *
* *
******************************************************************************/
@@ -13910,8 +13574,6 @@ void zbx_dc_get_item_tags_by_functionids(const zbx_uint64_t *functionids, size_t
/******************************************************************************
* *
- * Function: DCget_proxy_nodata_win *
- * *
* Purpose: retrieves proxy suppress window data from the cache *
* *
* Parameters: hostid - [IN] proxy host id *
@@ -13950,8 +13612,6 @@ int DCget_proxy_nodata_win(zbx_uint64_t hostid, zbx_proxy_suppress_t *nodata_win
/******************************************************************************
* *
- * Function: DCget_proxy_delay *
- * *
* Purpose: retrieves proxy delay from the cache *
* *
* Parameters: hostid - [IN] proxy host id *
@@ -13984,8 +13644,6 @@ int DCget_proxy_delay(zbx_uint64_t hostid, int *delay)
/******************************************************************************
* *
- * Function: DCget_proxy_delay_by_name *
- * *
* Purpose: retrieves proxy delay from the cache *
* *
* Parameters: name - [IN] proxy host name *
@@ -14021,8 +13679,6 @@ int DCget_proxy_delay_by_name(const char *name, int *delay, char **error)
/******************************************************************************
* *
- * Function: zbx_dc_set_macro_env *
- * *
* Purpose: sets user macro environment security level *
* *
* Parameter: env - [IN] the security level (see ZBX_MACRO_ENV_* defines) *
@@ -14040,8 +13696,6 @@ unsigned char zbx_dc_set_macro_env(unsigned char env)
/******************************************************************************
* *
- * Function: zbx_dc_get_instanceid *
- * *
* Purpose: returns server/proxy instance id *
* *
* Return value: the instance id *
@@ -14056,8 +13710,6 @@ const char *zbx_dc_get_instanceid(void)
/******************************************************************************
* *
- * Function: dc_expand_user_macros_in_func_params *
- * *
* Purpose: expand user macros in trigger function parameters *
* *
* Parameters: params - [IN] the function parameters *
@@ -14107,8 +13759,6 @@ char *dc_expand_user_macros_in_func_params(const char *params, zbx_uint64_t host
/*********************************************************************************
* *
- * Function: zbx_get_host_interfaces_availability *
- * *
* Purpose: get host interfaces availability *
* *
* Parameters: hostid - [IN] the host id *
@@ -14157,8 +13807,6 @@ void zbx_get_host_interfaces_availability(zbx_uint64_t hostid, zbx_agent_availab
/*********************************************************************************
* *
- * Function: zbx_dc_eval_expand_user_macros *
- * *
* Purpose: resolve user macros in parsed expression *
* *
* Parameters: ctx - [IN] the expression evaluation context *