Build precise queries to find exactly what you need
Press ESC to close
Hi Guys,
there is an Error in your Script. If you set the warning ord critical date to for example 30 and 60 Days, the script will work until the days since last update is excactly 30 or 60 days. 31 or 61 or 29 or 59 will work.
You have to modify your if and elseif at the end to = insted of
See here the edited code snipped:
If DD >= updateTresholdCritical Then Wscript.Echo “CRITICAL: Patches are not applied for the last ” & DD & ” days.” Wscript.Quit(intCritical)
ElseIf DD >= updateTresholdWarning Then Wscript.Echo “WARNING: Patches are not applied for the last ” & DD & ” days.” Wscript.Quit(intWarning)
ElseIf DD =
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!