Invoke-IcingaCheckCPU CPU-Problems

Hi everyone,

I replaced the default checks with the Invoke-Checks some time ago and I noticed that the Invoke-IcingaCheckCPU is very demanding on the CPU. When the check is executed, the CPU load increases a lot and the Icinga then reports a Critical. When the check is run again, it is mostly OK.
However, I have already increased the check repetitions to 3, but this does not solve the problem. The CPUs are usually quad cores. Do you have any ideas?

There is some code caching which should improve this. With 1.6 it is enabled by default and with older versions (at least for 1.5 I am sure) it can be manually enabled: Enable Framework Code Caching - Icinga for Windows