Skip to content

Icinga Powershell Plugins quite heavy on CPU/memory usage #421

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mattpoel opened this issue Oct 14, 2024 · 3 comments
Closed

Icinga Powershell Plugins quite heavy on CPU/memory usage #421

mattpoel opened this issue Oct 14, 2024 · 3 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@mattpoel
Copy link

We have noticed high CPU usage alerts after adding a couple of smaller Windows application server VMs to the Icinga monitoring using the PowerShell framework/plugins. Upon monitoring the process explorer, we found that the high CPU usage is originating from the PowerShell processes (Icinga PowerShell Plugins) themselves. This is causing CPU bottlenecks when multiple checks are scheduled at the same time:

Icinga - Powershell CPU Usage

The execution times of 3-5 seconds for the checks also appear to be quite high. We have observed execution times of up to 15-16 seconds for Invoke-IcingaCheckService on a physical Windows server with almost no CPU usage by non-Icinga processes and a very low CPU usage.

Is this resource usage something to expect?

Cheers!

@mattpoel
Copy link
Author

mattpoel commented Oct 16, 2024

Changing to standard (but deprecated) windows-plugins significantly decreased CPU usage on monitored servers, with checks now executed in the lower ms range.

@tectumopticum
Copy link

could you please tell us the versions of the IfW-components you're using (output of 'show-icinga'-command) and the os-versions?

@LordHepipud LordHepipud self-assigned this Apr 23, 2025
@LordHepipud LordHepipud added the documentation Improvements or additions to documentation label Apr 23, 2025
@LordHepipud
Copy link
Collaborator

Please have a look on the API check forwarded feature, which will drastically improve performance and resource consumption:

https://icinga.com/docs/icinga-for-windows/latest/doc/110-Installation/30-API-Check-Forwarder/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants