What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general.

Learn more

PRTG Network Monitor

Intuitive to Use. Easy to manage.
More than 500,000 users rely on Paessler PRTG every day. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free Download

Top Tags


View all Tags

Is here any way to monitor microsoft security essentials is up to date, on windows server 2008 ?

Votes:

0

Hi I'm looking something like WMI security sensor, but for windows server.

mse prtg wmi

Created on Nov 9, 2016 8:30:14 AM



Best Answer

Accepted 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 :)

Created on Nov 9, 2016 11:14:38 AM by  Stephan Linke [Paessler Support]



Accepted 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]



Votes:

0

Cool, thanks for sharing it! :) Could you also post an english version?

Created on Mar 17, 2017 6:48:32 AM by  Stephan Linke [Paessler Support]



Votes:

0

I changed the original post to only English, and don't forget to run probe service with the administrator credentials.

Created on Mar 21, 2017 11:36:17 AM



Votes:

0

Thanks! :)

Created on Mar 21, 2017 12:02:50 PM by  Stephan Linke [Paessler Support]




Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.