Skip to content
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

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

Open
mattpoel opened this issue Oct 14, 2024 · 2 comments
Open

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

mattpoel opened this issue Oct 14, 2024 · 2 comments

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?

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

No branches or pull requests

2 participants