Using Event Triggers & Email


I have setup an event trigger to monitor for when event id 9688 is logged in the application log on an exchange server, which is working fine.

The action of the trigger is to run a vbs script which in turn emails me. This is also working fine, however at the moment the subject and message body of the email are just the text that I have entered.

I'd like to be able to include the actual description of the logged event as it provides me with information that is useful.

The vbs script currently looks like this:

Set objEmail = CreateObject("CDO.Message")
objEmail.From = ""
objEmail.To = ""
objEmail.Subject = "Critical Event Logged"
objEmail.Textbody = "Event 9688 has been logged in the Application log. This indicates that the Microsoft Exchange databases are close to, or have reached their limit of 75GB. Once this limited is reached, the databases will dismount on a regular basis."

Open in new window

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Malli BoppeCommented:
You need to see 3rd party tools to get the event log  information.One of the tools that I have used in the past is eldump and blat to send an email.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Server 2003

From novice to tech pro — start learning today.