Source
xxxxxxxxxx
static zbx_entry_info_t templates, hosts_monitored, hosts_not_monitored, items_active_normal, items_active_notsupported,
/*
** Copyright (C) 2001-2024 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/>.
**/
static zbx_get_program_type_f zbx_get_program_type_cb = NULL;
zbx_get_program_type_f trapper_get_program_type(void)
{
return zbx_get_program_type_cb;
}
typedef struct
{
zbx_counter_value_t online;
zbx_counter_value_t offline;
}
zbx_user_stats_t;
typedef union
{
zbx_counter_value_t counter; /* single global counter */
zbx_vector_proxy_counter_ptr_t counters; /* array of per proxy counters */
}
zbx_entry_info_t;
typedef struct
{
const char *name;
zbx_uint64_t value;
}
zbx_entry_attribute_t;
typedef enum
{
ZBX_COUNTER_TYPE_UI64,