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/zabbix_server/escalator/escalator.c')
-rw-r--r--src/zabbix_server/escalator/escalator.c46
1 files changed, 0 insertions, 46 deletions
diff --git a/src/zabbix_server/escalator/escalator.c b/src/zabbix_server/escalator/escalator.c
index 5b28d283861..957fea7be15 100644
--- a/src/zabbix_server/escalator/escalator.c
+++ b/src/zabbix_server/escalator/escalator.c
@@ -154,8 +154,6 @@ static int get_user_info(zbx_uint64_t userid, zbx_uint64_t *roleid, char **user_
/******************************************************************************
* *
- * Function: get_hostgroups_permission *
- * *
* Purpose: Return user permissions for access to the host *
* *
* Parameters: *
@@ -199,8 +197,6 @@ out:
/******************************************************************************
* *
- * Function: check_tag_based_permission *
- * *
* Purpose: Check user access to event by tags *
* *
* Parameters: userid - user id *
@@ -293,8 +289,6 @@ static int check_tag_based_permission(zbx_uint64_t userid, zbx_vector_uint64_t *
/******************************************************************************
* *
- * Function: get_trigger_permission *
- * *
* Purpose: Return user permissions for access to trigger *
* *
* Return value: PERM_DENY - if host or user not found, *
@@ -350,8 +344,6 @@ out:
/******************************************************************************
* *
- * Function: get_item_permission *
- * *
* Purpose: Return user permissions for access to item *
* *
* Return value: PERM_DENY - if host or user not found, *
@@ -575,8 +567,6 @@ static void zbx_db_cache_service_role(zbx_service_role_t *role)
/******************************************************************************
* *
- * Function: get_service_permission *
- * *
* Purpose: Return user permissions for access to services *
* *
* Return value: PERM_DENY - if host or user not found, *
@@ -889,8 +879,6 @@ clean:
/******************************************************************************
* *
- * Function: add_sentusers_msg *
- * *
* Purpose: adds message to be sent to all recipients of messages previously *
* generated by action operations or acknowledgement operations, *
* which is related with an event or recovery event *
@@ -993,8 +981,6 @@ clean:
/******************************************************************************
* *
- * Function: add_sentusers_msg_esc_cancel *
- * *
* Purpose: adds message for the canceled escalation to be sent to all *
* recipients of messages previously generated by action operations *
* or acknowledgement operations, which is related with an event or *
@@ -1094,8 +1080,6 @@ clean:
/******************************************************************************
* *
- * Function: add_sentusers_ack_msg *
- * *
* Purpose: adds message to be sent to all who added acknowlegment and *
* involved in discussion *
* *
@@ -1209,8 +1193,6 @@ static void add_command_alert(zbx_db_insert_t *db_insert, int alerts_num, zbx_ui
/******************************************************************************
* *
- * Function: get_operation_groupids *
- * *
* Purpose: get groups (including nested groups) used by an operation *
* *
* Parameters: operationid - [IN] the operation id *
@@ -1776,8 +1758,6 @@ err_alert:
/******************************************************************************
* *
- * Function: check_operation_conditions *
- * *
* Purpose: *
* *
* Parameters: event - event to check *
@@ -1987,8 +1967,6 @@ static void escalation_execute_operations(DB_ESCALATION *escalation, const DB_EV
/******************************************************************************
* *
- * Function: escalation_execute_recovery_operations *
- * *
* Purpose: execute escalation recovery operations *
* *
* Parameters: event - [IN] the event *
@@ -2054,8 +2032,6 @@ static void escalation_execute_recovery_operations(const DB_EVENT *event, const
/******************************************************************************
* *
- * Function: escalation_execute_update_operations *
- * *
* Purpose: execute escalation update operations *
* *
* Parameters: event - [IN] the event *
@@ -2126,8 +2102,6 @@ static void escalation_execute_update_operations(const DB_EVENT *event, const DB
/******************************************************************************
* *
- * Function: check_escalation_trigger *
- * *
* Purpose: check whether the escalation trigger and related items, hosts are *
* not deleted or disabled. *
* *
@@ -2293,8 +2267,6 @@ static int check_unfinished_alerts(const DB_ESCALATION *escalation)
/******************************************************************************
* *
- * Function: check_escalation *
- * *
* Purpose: check whether escalation must be cancelled, deleted, skipped or *
* processed. *
* *
@@ -2411,8 +2383,6 @@ out:
/******************************************************************************
* *
- * Function: escalation_log_cancel_warning *
- * *
* Purpose: write escalation cancellation warning message into log file *
* *
* Parameters: escalation - [IN] the escalation *
@@ -2427,8 +2397,6 @@ static void escalation_log_cancel_warning(const DB_ESCALATION *escalation, const
/******************************************************************************
* *
- * Function: escalation_cancel *
- * *
* Purpose: cancel escalation with the specified error message *
* *
* Parameters: escalation - [IN/OUT] the escalation to cancel *
@@ -2462,8 +2430,6 @@ static void escalation_cancel(DB_ESCALATION *escalation, const DB_ACTION *action
/******************************************************************************
* *
- * Function: escalation_execute *
- * *
* Purpose: execute next escalation step *
* *
* Parameters: escalation - [IN/OUT] the escalation to execute *
@@ -2484,8 +2450,6 @@ static void escalation_execute(DB_ESCALATION *escalation, const DB_ACTION *actio
/******************************************************************************
* *
- * Function: escalation_recover *
- * *
* Purpose: process escalation recovery *
* *
* Parameters: escalation - [IN/OUT] the escalation to recovery *
@@ -2510,8 +2474,6 @@ static void escalation_recover(DB_ESCALATION *escalation, const DB_ACTION *actio
/******************************************************************************
* *
- * Function: escalation_acknowledge *
- * *
* Purpose: process escalation acknowledge *
* *
* Parameters: escalation - [IN/OUT] the escalation to recovery *
@@ -2559,8 +2521,6 @@ static void escalation_acknowledge(DB_ESCALATION *escalation, const DB_ACTION *a
/******************************************************************************
* *
- * Function: escalation_update *
- * *
* Purpose: process update escalation *
* *
* Parameters: escalation - [IN/OUT] the escalation to recovery *
@@ -2642,8 +2602,6 @@ static void escalation_update_diff(const DB_ESCALATION *escalation, zbx_escalati
/******************************************************************************
* *
- * Function: add_ack_escalation_r_eventids *
- * *
* Purpose: check if acknowledgement events of current escalation has related *
* recovery events and add those recovery event IDs to array of *
* event IDs if this escalation *
@@ -3250,8 +3208,6 @@ out:
/******************************************************************************
* *
- * Function: process_escalations *
- * *
* Purpose: execute escalation steps and recovery operations; *
* postpone escalations during maintenance and due to trigger dep.; *
* delete completed escalations from the database; *
@@ -3417,8 +3373,6 @@ static int process_escalations(int now, int *nextcheck, unsigned int escalation_
/******************************************************************************
* *
- * Function: main_escalator_loop *
- * *
* Purpose: periodically check table escalations and generate alerts *
* *
* Parameters: *