Display the entire inventory, showing for each machine whether a package is affected or not
Published: September 22, 2026 - 3:22 PM
Good morning,
I created this reporting query, but it only displays machines where the MON_PAQUET package is assigned. How can I modify it so that 100% of machines appear: those that have it and those that don't?
My request:
Thanks in advance !
I created this reporting query, but it only displays machines where the MON_PAQUET package is assigned. How can I modify it so that 100% of machines appear: those that have it and those that don't?
My request:
Code: Select all
SELECT
hosts.Description,
hosts.uuid as Machine,
hosts.last_logged_on_user,
hostpackagesstatus.install_date,
hostpackagesstatus.install_status
FROM hosts, hostpackagesstatus
WHERE hostpackagesstatus.name ilike '%%MON_PAQUET%%'
AND hosts.uuid ilike '%%pc%%'
AND hosts.uuid=hostpackagesstatus.host_id
ORDER BY hostpackagesstatus.name ASC