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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting a Windows Server 2003 R2 to email me with alerts

Status
Not open for further replies.
Sep 17, 2007
3
All,
What I'm trying to get done is have my servers email me for alerts.
What I've done:
Found an freeware application called blat. It is useable in a batch file. I have written a batch with all the correct settings and that file has emailed me. And will email me everytime I double click it. The file is test.bat
Configured an alert for Drive C < 100% free. When the alert is tripped there should be an event logged and the test.bat should execute. When the alert is started, I can see that in the event log followed by the alert that drive c is < 100% free. However the email never gets send.
Google says when alerts aren't running applications place them in a batch file.
Does anybody have any help please?
I'm not tied to blat so if there is another app that works let me know, I'm pretty much open to anything at this point as long as I can get my alerts emailed to me.
Thanks,
Ken
 
I had a similar problem. Tried Blat and Bmail neither of which would work with the alert system for some reason.

In the end I used the following script which uses CDO directly (I was running it on an XC server)

Neill

Set objEmail = CreateObject("CDO.Message")

objEmail.From = "xxxx-DiskSpaceAlert@xxxxx.com"
objEmail.To = "DL_MailboxManagerReports@xxxxx.com"
objEmail.Subject = "xxxxx Disk Space"
objEmail.Textbody = "Check X: drive and Mount Point disk space on xxxxxx."
objEmail.Send
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top