Source
/*
** 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/>.
**/
/* unresolved symbols needed for linking */
static unsigned char program_type = 0;
unsigned char get_program_type(void)
{
return program_type;
}
static int config_forks[ZBX_PROCESS_TYPE_COUNT] = {
5, /* ZBX_PROCESS_TYPE_POLLER */
1, /* ZBX_PROCESS_TYPE_UNREACHABLE */
0, /* ZBX_PROCESS_TYPE_IPMIPOLLER */
1, /* ZBX_PROCESS_TYPE_PINGER */
0, /* ZBX_PROCESS_TYPE_JAVAPOLLER */
1, /* ZBX_PROCESS_TYPE_HTTPPOLLER */
5, /* ZBX_PROCESS_TYPE_TRAPPER */
0, /* ZBX_PROCESS_TYPE_SNMPTRAPPER */
1, /* ZBX_PROCESS_TYPE_PROXYPOLLER */
1, /* ZBX_PROCESS_TYPE_ESCALATOR */
4, /* ZBX_PROCESS_TYPE_HISTSYNCER */
1, /* ZBX_PROCESS_TYPE_DISCOVERER */
3, /* ZBX_PROCESS_TYPE_ALERTER */
1, /* ZBX_PROCESS_TYPE_TIMER */
1, /* ZBX_PROCESS_TYPE_HOUSEKEEPER */
0, /* ZBX_PROCESS_TYPE_DATASENDER */
1, /* ZBX_PROCESS_TYPE_CONFSYNCER */
1, /* ZBX_PROCESS_TYPE_SELFMON */
0, /* ZBX_PROCESS_TYPE_VMWARE */
0, /* ZBX_PROCESS_TYPE_COLLECTOR */
0, /* ZBX_PROCESS_TYPE_LISTENER */
0, /* ZBX_PROCESS_TYPE_ACTIVE_CHECKS */
1, /* ZBX_PROCESS_TYPE_TASKMANAGER */
0, /* ZBX_PROCESS_TYPE_IPMIMANAGER */
1, /* ZBX_PROCESS_TYPE_ALERTMANAGER */
1, /* ZBX_PROCESS_TYPE_PREPROCMAN */
16, /* ZBX_PROCESS_TYPE_PREPROCESSOR */
1, /* ZBX_PROCESS_TYPE_LLDMANAGER */
2, /* ZBX_PROCESS_TYPE_LLDWORKER */
1, /* ZBX_PROCESS_TYPE_ALERTSYNCER */
5, /* ZBX_PROCESS_TYPE_HISTORYPOLLER */
1, /* ZBX_PROCESS_TYPE_AVAILMAN */
0, /* ZBX_PROCESS_TYPE_REPORTMANAGER */