I need Information that performance occupies of the agent in OS (Window+ Linux)
Tks All
Hi dzungna, welcome to the forum.
There is no easy way to answer your question. The agent itself is very lean and usually done in typically a few tenths of a second. When adding plugins you should keep an eye on their execution time and load.
1 Like
On Linux this can be done with one of the following:
-
Call the checkmk agent manually (as root) with the option
-p
(for profiling). -
Create the file
/etc/check_mk/profiling.cfg
with the following content:
LOG_SECTION_TIME=true
The agent will then create profiling data below /var/log/check_mk_agent/profiling/$date
.
Make sure you undo the changes after your analysis because the profiling data will grow rapidly.
3 Likes