/build/static/layout/Breadcrumb_cap_w.png

Report to find machines missing Patch Schedule

I need some help creating a report that will show me machines that are missing a Patch Schedule. I'm probably just overlooking something simple. All I need is:  Machine name, Machine IP, Patch Schedule = None.

Thanks,

Dave

0 Comments   [ + ] Show comments

Answers (1)

Answer Summary:
Posted by: chucksteel 9 years ago
Red Belt
1
This query might work for you:
SELECT MACHINE.NAME, MACHINE.IP, PSMS.PATCHLINK_SCHEDULE_ID
FROM MACHINE
LEFT JOIN PATCHLINK_SCHEDULE_MACHINE_STATUS PSMS on PSMS.MACHINE_ID = MACHINE.ID
WHERE PSMS.PATCHLINK_SCHEDULE_ID = null

I'm not positive if it will work because we use a smart label to assign a default patching schedule to every machine so I don't have any machines that aren't applied to a patching schedule in my database.


Comments:
  • Bingo. Thanks a million.

    One small change and it worked great:
    Where
    PSMS.PATCHLINK_SCHEDULE_ID Is Null - dteetz 9 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