Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Email administrator when error occurs in event viewer

Email administrator when error occurs in event viewer

Forum Windows 2000/NT : Windows 2000/NT General Discussion - Email administrator when error occurs in event viewer

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.win2000.security (More info?)

 

Hi
How do I setup the event viewer to email an administrator when ANY errors
(red crosses) appear in the the system or application logs?
Can I just set it somewhere or do I need to write a script?

Chees Russ

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.win2000.security (More info?)

 

> Hi

Hi,

> How do I setup the event viewer to email an administrator when ANY errors
> (red crosses) appear in the the system or application logs?
> Can I just set it somewhere or do I need to write a script?

You have to write a vbscript which must contains calls to Win32_NTLogEvent
WMI entrys and CDO objects to send mail.

>
> Chees Russ

Good luck

Reply to Anonymous

Archived from groups: microsoft.public.win2000.security (More info?)

 

"" wrote:
> Hi
> How do I setup the event viewer to email an administrator when
> ANY errors
> (red crosses) appear in the the system or application logs?
> Can I just set it somewhere or do I need to write a script?
>
> Chees Russ

you need a monitoring tool or a custom script.
For scripts see
http://www.microsoft.com/technet/s [...] fault.mspx

Cheers,

--
Posted using the http://www.windowsforumz.com interface, at author's request
Articles individually checked for conformance to usenet standards
Topic URL: http://www.windowsforumz.com/Secur [...] 54221.html
Visit Topic URL to contact author (reg. req'd). Report abuse: http://www.windowsforumz.com/eform.php?p=1760121

Reply to Anonymous

Archived from groups: microsoft.public.win2000.security (More info?)

 

You could write a batch file that uses the log dumper from
www.sysintenals.com or the one from the Microsoft Windows resource kit such
as dumpel.exe to dump errors to a plain text file, then use the FC command
to compare the dump with the copy from the last time the batch file was run,
then download and use some sort of WAIT utility to wait a minute or five...
and download and use the BLAT utility to generate an email to you. All of
this can be done for free.

You can also buy www.ipsentry.com plus the event log add-on to do all this
for you. Runs about $120 US.



"Russell" <Russell@discussions.microsoft.com> wrote in message
news:3F801F88-2166-4D2F-8F44-D026131534CF@microsoft.com...
> Hi
> How do I setup the event viewer to email an administrator when ANY errors
> (red crosses) appear in the the system or application logs?
> Can I just set it somewhere or do I need to write a script?
>
> Chees Russ

Reply to Anonymous
Tom's Hardware > Forum > Windows 2000/NT > Windows 2000/NT General Discussion > Email administrator when error occurs in event viewer
Go to:

There are 1071 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them