"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/zabbix_proxy/proxy.c" between
zabbix-5.4.2.tar.gz and zabbix-5.4.3.tar.gz

About: ZABBIX is an enterprise-class distributed monitoring solution for servers and applications.

proxy.c  (zabbix-5.4.2):proxy.c  (zabbix-5.4.3)
skipping to change at line 337 skipping to change at line 337
/* make initial configuration sync before worker processes are fo rked on active Zabbix proxy */ /* make initial configuration sync before worker processes are fo rked on active Zabbix proxy */
*local_process_type = ZBX_PROCESS_TYPE_CONFSYNCER; *local_process_type = ZBX_PROCESS_TYPE_CONFSYNCER;
*local_process_num = local_server_num - server_count + CONFIG_CON FSYNCER_FORKS; *local_process_num = local_server_num - server_count + CONFIG_CON FSYNCER_FORKS;
} }
else if (local_server_num <= (server_count += CONFIG_TRAPPER_FORKS)) else if (local_server_num <= (server_count += CONFIG_TRAPPER_FORKS))
{ {
/* make initial configuration sync before worker processes are fo rked on passive Zabbix proxy */ /* make initial configuration sync before worker processes are fo rked on passive Zabbix proxy */
*local_process_type = ZBX_PROCESS_TYPE_TRAPPER; *local_process_type = ZBX_PROCESS_TYPE_TRAPPER;
*local_process_num = local_server_num - server_count + CONFIG_TRA PPER_FORKS; *local_process_num = local_server_num - server_count + CONFIG_TRA PPER_FORKS;
} }
else if (local_server_num <= (server_count += CONFIG_PREPROCMAN_FORKS))
{
*local_process_type = ZBX_PROCESS_TYPE_PREPROCMAN;
*local_process_num = local_server_num - server_count + CONFIG_PRE
PROCMAN_FORKS;
}
else if (local_server_num <= (server_count += CONFIG_PREPROCESSOR_FORKS))
{
/* data collection processes might utilize CPU fully, start manag
er and worker processes beforehand */
*local_process_type = ZBX_PROCESS_TYPE_PREPROCESSOR;
*local_process_num = local_server_num - server_count + CONFIG_PRE
PROCESSOR_FORKS;
}
else if (local_server_num <= (server_count += CONFIG_HEARTBEAT_FORKS)) else if (local_server_num <= (server_count += CONFIG_HEARTBEAT_FORKS))
{ {
*local_process_type = ZBX_PROCESS_TYPE_HEARTBEAT; *local_process_type = ZBX_PROCESS_TYPE_HEARTBEAT;
*local_process_num = local_server_num - server_count + CONFIG_HEA RTBEAT_FORKS; *local_process_num = local_server_num - server_count + CONFIG_HEA RTBEAT_FORKS;
} }
else if (local_server_num <= (server_count += CONFIG_DATASENDER_FORKS)) else if (local_server_num <= (server_count += CONFIG_DATASENDER_FORKS))
{ {
*local_process_type = ZBX_PROCESS_TYPE_DATASENDER; *local_process_type = ZBX_PROCESS_TYPE_DATASENDER;
*local_process_num = local_server_num - server_count + CONFIG_DAT ASENDER_FORKS; *local_process_num = local_server_num - server_count + CONFIG_DAT ASENDER_FORKS;
} }
skipping to change at line 417 skipping to change at line 428
else if (local_server_num <= (server_count += CONFIG_UNREACHABLE_POLLER_F ORKS)) else if (local_server_num <= (server_count += CONFIG_UNREACHABLE_POLLER_F ORKS))
{ {
*local_process_type = ZBX_PROCESS_TYPE_UNREACHABLE; *local_process_type = ZBX_PROCESS_TYPE_UNREACHABLE;
*local_process_num = local_server_num - server_count + CONFIG_UNR EACHABLE_POLLER_FORKS; *local_process_num = local_server_num - server_count + CONFIG_UNR EACHABLE_POLLER_FORKS;
} }
else if (local_server_num <= (server_count += CONFIG_PINGER_FORKS)) else if (local_server_num <= (server_count += CONFIG_PINGER_FORKS))
{ {
*local_process_type = ZBX_PROCESS_TYPE_PINGER; *local_process_type = ZBX_PROCESS_TYPE_PINGER;
*local_process_num = local_server_num - server_count + CONFIG_PIN GER_FORKS; *local_process_num = local_server_num - server_count + CONFIG_PIN GER_FORKS;
} }
else if (local_server_num <= (server_count += CONFIG_PREPROCMAN_FORKS))
{
*local_process_type = ZBX_PROCESS_TYPE_PREPROCMAN;
*local_process_num = local_server_num - server_count + CONFIG_PRE
PROCMAN_FORKS;
}
else if (local_server_num <= (server_count += CONFIG_PREPROCESSOR_FORKS))
{
*local_process_type = ZBX_PROCESS_TYPE_PREPROCESSOR;
*local_process_num = local_server_num - server_count + CONFIG_PRE
PROCESSOR_FORKS;
}
else if (local_server_num <= (server_count += CONFIG_HISTORYPOLLER_FORKS) ) else if (local_server_num <= (server_count += CONFIG_HISTORYPOLLER_FORKS) )
{ {
*local_process_type = ZBX_PROCESS_TYPE_HISTORYPOLLER; *local_process_type = ZBX_PROCESS_TYPE_HISTORYPOLLER;
*local_process_num = local_server_num - server_count + CONFIG_HIS TORYPOLLER_FORKS; *local_process_num = local_server_num - server_count + CONFIG_HIS TORYPOLLER_FORKS;
} }
else if (local_server_num <= (server_count += CONFIG_AVAILMAN_FORKS)) else if (local_server_num <= (server_count += CONFIG_AVAILMAN_FORKS))
{ {
*local_process_type = ZBX_PROCESS_TYPE_AVAILMAN; *local_process_type = ZBX_PROCESS_TYPE_AVAILMAN;
*local_process_num = local_server_num - server_count + CONFIG_AVA ILMAN_FORKS; *local_process_num = local_server_num - server_count + CONFIG_AVA ILMAN_FORKS;
} }
 End of changes. 2 change blocks. 
12 lines changed or deleted 14 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)