We help IT Professionals succeed at work.

How can I send email when excced threshold in Performance monitor

HenryChang
HenryChang asked
on
How can I send email to internet when the threshold set in the alert view of the performance excced our desire setting, e.g. processor utilization excceed 80%.  Thanks.
Comment
Watch Question

Commented:

I take it that you have some kind of monitoring program for such events. Can this program start another program when an alert-event is triggered?
If yes then you could download a console SMTP client. All you need then is an SMTP server somewhere in your net.
I use MAILTO 1.6 and it works fine for sending mail from a script.

Regards,
Eric

Author

Commented:
Can you tell me more details and also the script or program to send the email.
Commented:

MAILTO is a download from some internet site Address unknown but should be possible to find again. It's very small. here are the parameters.


Usage: mailto options mailto v1.6 Copyright (c) 1998 Scott Beasley
Options are:
   -U sender id -D user ids -H smtp_host
   [-S subject] [-R Return path]
   [-M Message] [-MF Message file name]
   [-CC user ids] [-BCC user ids]
   [-AB Binary file names] [-AT Text file names]
   [-C config file] [-I section name]
   [-RC retry count] [-RW seconds to wait between each retry]
   [-DEBUG] [-N user id]


In short, this is what you need:  
mailto -U server@serverroom -D you@company.com -H smtp.company.com -S "Help, Prcocessor Overload" -M "Come quick...."

Regards,
Eric

Author

Commented:
Hi Eric,
          Can you help me or send the program of mailto to my account if possible since I can't find it on the web.  Thanks a lot.  My email a/c is "henrychang0526@sinaman.com".  Thanks.

Commented:

Henry,

File including .txt file have been sent to your above address.

mailto.zip   35'152 Bytes
mailto.txt    6'808 Bytes

mailto.exe (included in .zip) 60'928 Bytes
Last changed: Friday, 22. May 1998, 19:45:30

Regards,
Eric

Author

Commented:
Excellent.  Very detail in explaining the solution to my problem.  Apart from this, Eric is very nice and send the email with the program to me.  Thanks a lot.

Author

Commented:
Excellent.  Very detail in explaining the solution to my problem.  Apart from this, Eric is very nice and send the email with the program to me.  Thanks a lot.

Explore More ContentExplore courses, solutions, and other research materials related to this topic.