Source
zabbix_log(LOG_LEVEL_DEBUG, "In %s() eventid: " ZBX_FS_UI64 ", cause_eventid: " ZBX_FS_UI64, __func__, eventid,
/*
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software: you can redistribute it and/or modify it under the terms of
** the GNU Affero General Public License as published by the Free Software Foundation, version 3.
**
** This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
** without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
** See the GNU Affero General Public License for more details.
**
** You should have received a copy of the GNU Affero General Public License along with this program.
** If not, see <https://www.gnu.org/licenses/>.
**/
zbx_export_file_t *problems_export = NULL;
static zbx_export_file_t *get_problems_export(void)
{
return problems_export;
}
/******************************************************************************
* *
* Purpose: closes specified problem event and removes task *
* *
* Parameters: taskid - [IN] *
* triggerid - [IN] source trigger id *
* eventid - [IN] problem eventid to close *
* userid - [IN] user that requested to close problem *
* rtc [IN] RTC socket *
* *
******************************************************************************/
static void tm_execute_task_close_problem(zbx_uint64_t taskid, zbx_uint64_t triggerid, zbx_uint64_t eventid,