-
Notifications
You must be signed in to change notification settings - Fork 28
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
Invoke-IcingaCheckMemory Pagefile Percent Warning and Critical Threshold still not working #379
Comments
Ok, I think I have found the problem. It has to do with the pagefile settings. If you set the pagefile to system managed for all disks it works as expected. But if you set the pagefile for each drive manually the threshold percentage is calculated wrong. In my case I have the pagefile on a separate drive because for hyper-v replication it is recommended to put the pagefile on a separate drive which is excluded from the replication. |
Have you tried specifically including the pagefile via parameter? Maybe that helps. |
Yes. Unfortunatley the problem persists. |
``I think, I found a solution. The problem is that when you disable the "manage pagefile for all disks automatically" in the windows settings gui the pagefile is considered manual managed even if you set that the size should be automatically managed like in my screenshot above. My solution looks as follows: Replace lines 60 -71 in the Get-IcingaMemoryPerformanceCounter.psm1 (located at C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-plugins\provider\memory) Original Code:
Solution Code:
|
According to #367 and #363 this was fixed in 1.11.1 but it is still not working
Icinga 2.14.1
Icinga Web 2.12.1
Icinga Director 1.11
Icinga for Windows 1.11.1
The text was updated successfully, but these errors were encountered: