Hi I'm looking something like WMI security sensor, but for windows server.
Is here any way to monitor microsoft security essentials is up to date, on windows server 2008 ?
Votes:
0
Best Answer
Votes:
0
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)
Created on Mar 16, 2017 5:38:30 PM
Last change on Mar 21, 2017 7:49:18 PM by
Torsten Lindner [Paessler Support]
5 Replies
Votes:
0
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 :)
Votes:
0
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)
Created on Mar 16, 2017 5:38:30 PM
Last change on Mar 21, 2017 7:49:18 PM by
Torsten Lindner [Paessler Support]
Votes:
0
Cool, thanks for sharing it! :) Could you also post an english version?
Votes:
0
I changed the original post to only English, and don't forget to run probe service with the administrator credentials.
Votes:
0
Thanks! :)
Add comment