Page 1 of 1

[RESOLVED] Request for "Waiting for restart"

Published: September 17, 2024 - 11:57 AM
by jlatieule
Good morning,


I'm trying out the reporting tool and I want to identify machines waiting to restart after installing a system update with wapt-wua (see screenshot)
Currently I have to manually walk through the park to identify the machines that need restarting.
2024-09-17_11h56_02.png
2024-09-17_11h56_02.png (42.38 KB) Viewed 27,000 times

Re: Request for "Waiting for restart"

Published: September 17, 2024 - 12:26 PM
by sfonteneau
Hello,

in the hardware inventory, drag and drop "wuauserv_status -> reboot_needed" into the middle columns to get all the reboot_needed values ​​at once.

Re: Request for "Waiting for restart"

Published: September 17, 2024 - 8:29 PM
by jlatieule
Thanks, it works perfectly. I would have preferred to add an icon instead of the text, but it's great

Re: Request for "Waiting for restart"

Published: September 23, 2024 - 1:56 PM
by mviale
Hello,

is it not possible to retrieve this value via an SQL query?

I have this for all WUA statuses to retrieve the total per status, but it doesn't include "Pending Restart". `

SELECT waptwua_status->'status' as status, COUNT(DISTINCT hosts.computer_name) as total_computers
FROM hosts
GROUP BY waptwua_status->'status'`

Re: Request for "Waiting for restart"

Published: September 24, 2024 - 11:54 AM
by sfonteneau

Code: Select all

SELECT host_info->'reboot_needed' as reboot_needed,computer_name FROM hosts
Like this