Hi I'm looking something like WMI security sensor, but for windows server.
Article Comments
I made this vbs script:
Set ArgObj = wscript.Arguments
strDFSPath1 = ArgObj(0)
myDateTime = Right("0" & Day(Date), 2) & Right("0" & Month(Date), 2) & Year(Date)
dtCutOff=DateAdd("n", -1440, Now)
File="mpasdlta.vdm"
filespec=strDFSPath1 & file
set fso=createobject("scripting.filesystemobject")
If not FSO.FileExists(filespec) Then
' MsgBox "The path exists!"
Else
WScript.Echo "Path one doesn't exist or no permission to access this path!"
WScript.Quit(1)
End If
set f=fso.GetFile(filespec)
If f.DateLastModified < dtCutoff Then
WScript.Echo "MSE not up to date"
Else
WScript.Echo "OK"
WScript.Quit(0)
end if
WScript.Sleep 1000
And added this parameter to PRTG
"\\66.111.55.777\c$\ProgramData\Microsoft\Microsoft Antimalware\Definition Updates\Backup\
This script checks the date of backup file of MSE and if its not older than 1 day its say OK, i recommend using -2880 (2 days)
Mar, 2017 - Permalink
I changed the original post to only English, and don't forget to run probe service with the administrator credentials.
Mar, 2017 - Permalink
Not with this sensor since it uses the Windows Security Center which is not present in Windows Server, unfortunately. Maybe anybody else here has an idea how to do it :)
Nov, 2016 - Permalink