I need a free way to monitor the Windows event logs and when a particular event is logged I need to kick off a VBS script. Is there a tool that can do this?
feedback
|
|
You can roll your own using PowerShell 2.0 if it is installed on your server. Take a look at the Get-EventLog and Send-MailMessage cmdlets. Brush up on how PowerShell prefers to handle logical loops while you're at it. From there, you can easily call any script that you want with cscript.exe If you don't want to make your own log parsing script (it's not hard, promise!) then take a look at EventReporter which is a paid tool. | |||
|
feedback
|
|
This might be to over the top for what you are after but SCOM can do this type of thing http://www.microsoft.com/systemcenter/en/us/operations-manager.aspx It has the ability to execute VB Script and also Powershell, the only thing with Powershell you have to use the Authoring Console, as the standard SCOM console does not support Powershell. http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=14989 SCOM is a pretty good system and we use it at my work so we use it for this type of thing but as stated it might be to much for what you want. | |||
|
feedback
|
|
If you already speak vbscript, you can expand the script you have and monitor the event log directly over WMI. Here's what I use:
Hope this helps. | |||
feedback
|