maj wua avec un statut autres que OK
Publié : 08 mars 2024 - 14:58
Bonjour,
j'aimerai pouvoir créer un reporting pour les machines ayant un status différent de ok pour WUA
j'ai essayé ceci mais mon where pose problème.
si j'enlève le where il m'affiche tout
SELECT DISTINCT hosts.computer_name,hosts.uuid,waptwua_status->'status' as status
FROM hosts
WHERE waptwua_status->'status' != 'OK'
ORDER BY hosts.computer_name ASC;
Merci d'avance pour votre aide.
j'aimerai pouvoir créer un reporting pour les machines ayant un status différent de ok pour WUA
j'ai essayé ceci mais mon where pose problème.
si j'enlève le where il m'affiche tout
SELECT DISTINCT hosts.computer_name,hosts.uuid,waptwua_status->'status' as status
FROM hosts
WHERE waptwua_status->'status' != 'OK'
ORDER BY hosts.computer_name ASC;
Merci d'avance pour votre aide.