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

Invoke-IcingaCheckMemory Pagefile Percent not working #338

Closed
Mikesch-mp opened this issue Apr 14, 2023 · 0 comments · Fixed by #363
Closed

Invoke-IcingaCheckMemory Pagefile Percent not working #338

Mikesch-mp opened this issue Apr 14, 2023 · 0 comments · Fixed by #363
Assignees
Labels
bug Something isn't working Investigation The team is looking into the cause of the issue
Milestone

Comments

@Mikesch-mp
Copy link

If you use percentage for pagefile check, its not working

Command

Invoke-IcingaCheckMemory -PagefileWarning 10% -PagefileCritical 20% -Warning 95% -Critical 99%

Output

[CRITICAL] Memory Usage [CRITICAL] PageFile Usage
\_ [CRITICAL] PageFile Usage
   \_ [CRITICAL] c:\pagefile.sys: 3000000% is greater than threshold 20B
   \_ [CRITICAL] e:\pagefile.sys: 1000000% is greater than threshold 20B
   \_ [CRITICAL] f:\pagefile.sys: 2000000% is greater than threshold 20B
   \_ [CRITICAL] g:\pagefile.sys: 1000000% is greater than threshold 20B
   \_ [CRITICAL] h:\pagefile.sys: 2000000% is greater than threshold 20B
   \_ [CRITICAL] o:\pagefile.sys: 4000000% is greater than threshold 20B
   \_ [CRITICAL] r:\pagefile.sys: 3000000% is greater than threshold 20B
   \_ [CRITICAL] v:\pagefile.sys: 3000000% is greater than threshold 20B
| 'vpagefilesys::ifw_pagefile::used'=3000000B;10;20;0;0 'fpagefilesys::ifw_pagefile::used'=2000000B;10;20;0;0 'memory::ifw_memory::used'=9072304000B;16319822000;17006972400;0;17178760000 'opagefilesys::ifw_pagefile::used'=4000000B;10;20;0;0 'epagefilesys::ifw_pagefile::used'=1000000B;10;20;0;0 'gpagefilesys::ifw_pagefile::used'=1000000B;10;20;0;0 'cpagefilesys::ifw_pagefile::used'=3000000B;10;20;0;0 'rpagefilesys::ifw_pagefile::used'=3000000B;10;20;0;0 'hpagefilesys::ifw_pagefile::used'=2000000B;10;20;0;0
2

Versions used

Installed components on this system:

Component    Version   Available
---          ---       ---
agent        2.13.7    2.13.6
cluster      1.2.0     1.2.0
framework    1.10.1    1.10.1
hyperv       1.2.0     1.2.0
plugins      1.10.1    1.10.1

Powershell Version

PS C:\Program Files\WindowsPowerShell\Modules\icinga-powershell-framework> $PSVersionTable.PSVersion

Major  Minor  Build  Revision
-----  -----  -----  --------
5      1      17763  3770

Regards,
Carsten

@LordHepipud LordHepipud added this to the v1.11.1 milestone Aug 7, 2023
@LordHepipud LordHepipud added bug Something isn't working Investigation The team is looking into the cause of the issue labels Aug 7, 2023
@LordHepipud LordHepipud self-assigned this Aug 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Investigation The team is looking into the cause of the issue
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants