Source
zbx_uint64_t items_active_notsupported; /* and supported items and enabled and not supported items. */
/*
** Zabbix
** Copyright (C) 2001-2023 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** 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 General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
/* force item rescheduling after new value collection */
typedef struct
{
zbx_uint64_t triggerid;
const char *description;
const char *expression;
const char *recovery_expression;
const char *error;
const char *correlation_tag;
const char *opdata;
const char *event_name;
const unsigned char *expression_bin;
const unsigned char *recovery_expression_bin;
int lastchange;
zbx_uint64_t revision;
zbx_uint64_t timer_revision;
unsigned char topoindex;
unsigned char priority;
unsigned char type;
unsigned char value;
unsigned char state;
unsigned char locked;
unsigned char status;
unsigned char functional; /* see TRIGGER_FUNCTIONAL_* defines */
unsigned char recovery_mode; /* see TRIGGER_RECOVERY_MODE_* defines */
unsigned char correlation_mode; /* see ZBX_TRIGGER_CORRELATION_* defines */
unsigned char timer;
unsigned char flags;
zbx_uint64_t *itemids;
zbx_vector_ptr_t tags;
}
ZBX_DC_TRIGGER;
/* specifies if trigger expression/recovery expression has timer functions */
/* (date, time, now, dayofweek or dayofmonth) */
typedef struct zbx_dc_trigger_deplist
{
zbx_uint64_t triggerid;
int refcount;
ZBX_DC_TRIGGER *trigger;
zbx_vector_ptr_t dependencies;