Na tej stronie
36 What's new in Zabbix 7.0.31
Built-in statistics about memory consumption for Zabbix agent 2
You can now better diagnose memory and performance-related issues while Zabbix agent 2 is running.
Profiling metric gathering can be enabled and configured in agent 2 configuration:
EnableProfiler- enable periodic Go profiling on agent startupProfilerDir- specify the directory where profiling data will be writtenProfilerMaxFilesPerProfile- set the maximum number of files to keep for each profile typeProfilerInterval- set the profiling data write interval
Profiling data can also be enabled by runtime commands, which include the option of writing profiling data on demand:
periodic_prof_enableperiodic_prof_disableperiodic_prof_executeperiodic_set_interval