In "Alarm Settings" did you also go into the "Actions" tab, add a "Send a notification email" action and put your email address in the "value" field?
If that's all configured correctly then its possible that your SMTP server (10.102.8.18) is not configured to accept connections from your VC host or something is blocking port 25 outbound on your VC host (try doing a "telnet 10.102.8.18 25" and see if you get an SMTP greeting banner). The SMTP server may also not accept mail where the sender is blank so try putting an email address in the "Sender Account" field (I have mine set to )
Hi,
I have configure the notification email. I can see the banner
Does able to telne port 25 means it allow relay for alarm to send out email?
Thanks
No it still may have a relay restriction that is preventing the email from being sent. So assuming
Your email address is chris@company.com
You've set the "Sender Account" to vmware-alerts@company.com
Your VC server is called vc.company.com
You can try the following from your VC server:
telnet 10.102.8.18.25
Once the SMTP banner appears type everything between the lines below (starting with the "HELO" line and including the blank lines). The end of the message is a single period (.) on a line by itself. You should get status messages back after the HELO, MAIL FROM, RCPT TO and DATA lines. Then you'll be just typing "blind" until you hit the period on a line by itself at which point you should get another status message back. If there are relay restrictions or some other problem you'll see an error when you enter the RCPT TO line. If it works you should get a piece of mail in your mailbox...
-
HELO vc.company.com
MAIL FROM: <vmware-alerts@company.com>
RCPT TO: <chris@company.com>
DATA
FROM: <vmware-alerts@company.com>
TO: <chris@company.com>
SUBJECT: VMware Alert - Sample message
This is a sample alert
.
-----
Yes, I received the email. Thus SMTP is okie.
In the VC, is the sender account compulsory?
I put the sender acocunt,l can received the email.
I'm not sure if Sender Account is required in VC or its the mail server that's requiring it. If you want to find out for sure repeat the test again but this time instead of
MAIL FROM: <vmware-alerts@company.com>
replace that line with
MAIL FROM: <>
and see if you still receive the mail. If you do then its VC that can't deal with a blank Sender Account. If you don't receive the mail then its the mail server that can't deal with a blank Sender...
Hello,
Moved to VI: VirtualCenter 2.x forum
Best regards,
Edward L. Haletky
VMware Communities User Moderator
====
Author of the book 'VMWare ESX Server in the Enterprise: Planning and Securing Virtualization Servers', Copyright 2008 Pearson Education.
CIO Virtualization Blog: http://www.cio.com/blog/index/topic/168354
As well as the Virtualization Wiki at http://www.astroarch.com/wiki/index.php/Virtualization
Arrg, stupid forum software is editing the post on me. The new line should be "MAIL FROM: <>"