Avatar of Imal Upalakshitha
Imal UpalakshithaFlag for Sri Lanka

asked on 

windows clients specific event log forwarding via email

I am searching for a method to get email alerts from the windows machines when hard drive errors occurs, like developing bad sectors. clients are running Windows 8.1

any ideas would be highly welcomed.
Windows 8Windows OSWindows Server 2008Active Directory

Avatar of undefined
Last Comment
Imal Upalakshitha
Avatar of arnold
arnold
Flag of United States of America image

What does the environment consist for? Centrally managed, event log forwarding to a central server that has a process going through the log.
Alternatively, SNMP addition feature, configuring eventwin to forward the event log system disk events to an snmptrap destination that in turn on receipt of the event will generate the notification including via email...


Distinction deals with centralizing versus scanning individual computers for looking for events.
Avatar of Imal Upalakshitha

ASKER

Server 2012R2 domain environment. actually i am not planing to centrally manage all logs. but i would happy if i can receive emails from individual machines when disk error occurs on them.
Avatar of arnold
arnold
Flag of United States of America image

IMHO, it is a more straightforward to centralize the logs and act one server, versus trying to implement it on each workstation.
You can add if not already SMTP service on the server, using powershell script on a schedule. You could setup a script vbscript, powershell running on the server remotely pulling the workstations using wmi or ... The issue in such deals with the delay because the system might not be up during the scan that the centralize, event forwarding overcomes..

The script scouring the log, either generates a single email per event, or a single email with all occurances per processing of the script.

There are monitoring tools with email notification that might be a consideration.
ASKER CERTIFIED SOLUTION
Avatar of McKnife
McKnife
Flag of Germany image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of Imal Upalakshitha

ASKER

could you please tell me how to process it?

thanks.
Avatar of McKnife
McKnife
Flag of Germany image

I described the task already. The command would go (for example):
Blat -install yourmailserver %username%@yourdom.local
Blat -body "someMessageHere" -to logging@yourdom.local -server yourmailserver -debug -timestamp -subject "Diskerror"

Open in new window


Blat from http://www.blat.net/
Avatar of Imal Upalakshitha

ASKER

great & simple solution. i tested with sendemail.exe & works well.
thanks for all sharing knowledge.
Windows OS
Windows OS

This topic area includes legacy versions of Windows prior to Windows 2000: Windows 3/3.1, Windows 95 and Windows 98, plus any other Windows-related versions including Windows Mobile.

129K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo