/build/static/layout/Breadcrumb_cap_w.png

Patch Deployment Report

Hi All

Can someone please give me the SQL query so that I can genrate a report witht the following. Please find attached image.

 

Thanks in advance.

 

 


2 Comments   [ + ] Show comments
  • The image is a little small. Just to clarify are you looking for a report that includes:
    Machine Name, IP Address, Patching Phase, Number of patches applied, detected, etc., Last date patching run - chucksteel 10 years ago
  • Chucksteel that is exactly what I am looking for. Thx for the reply. - Mariusja 10 years ago

Answers (1)

Posted by: chucksteel 10 years ago
Red Belt
0

Here's a report that gets almost everything from the view in KACE. The only thing that I'm not sure how to get is the number of patch failures:

SELECT DISTINCT M.NAME AS Machine, 
M.IP, DESCRIPTION AS "Patch Schedule", 
P.LAST_RUN AS 'Last Run' , 
K.PHASE AS Phase , 
PSMS.PATCHED, 
PSMS.NOTPATCHED,
PSMS.DETECT_FAILURES
FROM PATCHLINK_SCHEDULE P 
LEFT JOIN KBSYS.KONDUCTOR_TASK K ON P.KONDUCTOR_TASK_TYPE = K.TYPE 
LEFT JOIN MACHINE M ON K.KUID = M.KUID 
LEFT JOIN PATCHLINK_SCHEDULE_MACHINE_STATUS PSMS ON PSMS.MACHINE_ID = M.ID
WHERE P.LAST_RUN <> 0 
AND DESCRIPTION not like '%Detect'ORDER BY M.NAME

Also note that this won't detect any schedules that end with the work "Detect". We run separate detection and deployment schedules so this report only returns results for the actual patching schedules.

 


Comments:
  • This is all I wanted thanks for the help. - Mariusja 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ