Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automatic Event Log notification?

Status
Not open for further replies.

cpjust

Programmer
Sep 23, 2003
2,132
US
Hi,
I was wondering if there's a way to configure Windows to automatically E-mail someone when a Warning or Error appears in the System Event Log?
 
Yes, but they will be flooded with email messages.

What you'll need to do is create an event sink that fires when the logs are written to. It's likely to be fairly convoluted and not particularly useful, given the number of error or warning events that show up in the logs.
 
Why would they be flooded with E-mails? Can it only forward all Event Log records or can you specify to only send Warnings & Errors and only from the System Log?
 
You can presumably set it run any time an entry is made, and then parse the entry so that it only sends emails on errors and warnings. But have you looked to see just how many errors and warnings are added to the system logs in a day on the average server? We're not talking dozens per hour, but there are usually enough to make it very annoying, especially as server count goes up.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top