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-IcingaCheckUpdates - CritOnReboot #351

Open
mantis opened this issue May 29, 2023 · 0 comments
Open

Invoke-IcingaCheckUpdates - CritOnReboot #351

mantis opened this issue May 29, 2023 · 0 comments

Comments

@mantis
Copy link

mantis commented May 29, 2023

If CritOnReboot is set to 1, and reboot pending is no, then the plugin seems to incorrectly return critical:

PS C:\Users\administrator> invoke-icingacheckupdates -verbosity 3 -warning 0 -**CritOnReboot 1**
[CRITICAL] Windows Updates: 1 Critical 5 Ok [CRITICAL] Reboot Pending (No) (All must be [OK])
\_ [OK] Microsoft Defender (All must be [OK])
   \_ [OK] Security Intelligence Update for Microsoft Defender Antivirus - KB2267602 (Version 1.389.2707.0) [29/05/2023 00:00:00]: 0
   \_ [OK] Update Count: 1c
\_ [OK] Other (All must be [OK])
   \_ [OK] Update Count: 0c
**\_ [CRITICAL] Reboot Pending: No is matching threshold No**
\_ [OK] Security Updates (All must be [OK])
   \_ [OK] 2023-04 Cumulative Update for Windows Server 2019 (1809) for x64-based Systems (KB5025229) [11/04/2023 00:00:00]: 0
   \_ [OK] Update Count: 1c
\_ [OK] Total Pending Updates: 0c
\_ [OK] Update Rollups (All must be [OK])
   \_ [OK] Update Count: 1c
   \_ [OK] Windows Malicious Software Removal Tool x64 - v5.113 (KB890830) [09/05/2023 00:00:00]: 0
| 'rollups::ifw_updates::count'=1c;; 'summary::ifw_updates::count'=0c;0; 'reboot::ifw_updates::required'=0;;0 'other::ifw_updates::count'=0c;; 'defender::ifw_updates::count'=1c;; 'security::ifw_updates::count'=1c;;
2
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

1 participant