Build precise queries to find exactly what you need
Press ESC to close
thanks a lot for this check!
since there are a lot of ms updates that are neither critical nor important, i wanted to have the test only check for a given subset of update-categories.
category scheme by microsoft can be found here: [url]http://msdn.microsoft.com/en-us/library/windows/desktop/ff357803(v=vs.85).aspx[/url]
edit vbs to more complex search criteria: [url]http://msdn.microsoft.com/en-us/library/windows/desktop/aa386526(v=VS.85).aspx[/url]
change code to this: ‘ critical updates E6CF1350-C01B-414D-A61F-263D14D133B4 ‘ security updates 0FA1201D-4330-4FA8-8AE9-B877473B6441 Set searchResult = updateSearcher.Search(“(IsInstalled=0 and Type=’Software’ and CategoryIDs contains ‘0FA1201D-4330-4FA8-8AE9-B877473B6441′) or (IsInstalled=0 and Type=’Software’ and CategoryIDs contains ‘E6CF1350-C01B-414D-A61F-263D14D133B4’)”)
since i am not a developer, please let me know if the code might be changed in a better way. at least it is working at my site. 😉
sebastian
We’ve completely redesigned the world’s largest repository of Nagios plugins and monitoring tools. Join thousands of users sharing monitoring solutions for servers, applications, and everything in between.
Due to our redesign, all existing accounts require a password reset to access your account again.
Ready to explore 6,100+ projects and contribute to the community?
Reset Password Create Account
Happy Monitoring!