VMware Cloud Community
RajuVCP
Hot Shot
Hot Shot
Jump to solution

Unable to get alarm email alerts

Hi All,

I have configured the details of my SMTP Server and sender email account in vCenter,

i have created a new alarm for VM's Power off (whenever a VM gets power off i should receive a mail)

in the new alarm i have configured send a notification email and added my mail id.

For testing i have powered off a VM, the alerts trigger inthe vCenter ,but am not getting any email from vCenter.

i have tried telnet in vcenter server with port 25 and able to telnet successfully.

still am unable to receive e-mail notification , can some one faced and resoved, please provide your steps taken to rectify these .

Regards

Raju Gunnal

http://www.tech2solution.com/forum

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
1 Solution

Accepted Solutions
Gav0
Hot Shot
Hot Shot
Jump to solution

I have issues in the past with SMTP and McAfee.  open the VirusScan console>Access Protection>Anti-Virus Standard Protection - Ensure that 'prevent mass mailing worms from sending email' isnt set to Block

Please award points to your peers for any correct or helpful answers

View solution in original post

0 Kudos
11 Replies
AndreTheGiant
Immortal
Immortal
Jump to solution

But the alarm is triggered in vCenter? Do you see the red signal?

Check again if you have set the mail on the yellow -> red transition.

Also remember that vCenter cannot use SMTP auth and/or SMTP+TLS... so a single telnet on port 25 may not mean that it sould work for sure.

Andre

Andrew | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro
0 Kudos
kjb007
Immortal
Immortal
Jump to solution

Some antivirus software will also restrict program access to port 25.  Check to make sure your a/v is not blocking this action.

-KjB

vExpert/VCP/VCAP vmwise.com / @vmwise -KjB
0 Kudos
RajuVCP
Hot Shot
Hot Shot
Jump to solution

Hi ,

I am able to see the Red colored trigged when i am turning off the VM.

i set the following configuration in Alarm Settings in Action Tab.

Action                                  Configuration                                    Normal->Warning     Warning->Alert     Alert->Warning     Warning->Normal

Send a notification email        raju.gunnal@companyname.com         Once                       Repeat                 Once                   Once

And i also seen in vCenter server am using mcafee antivirus, it is not blocking port 25 and also i added it in exception list in antivirus.

Regards

Raju Gunnal

http://www.tech2solution.com/forum

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
Texiwill
Leadership
Leadership
Jump to solution

Hello,

Moved to the vCenter forum.

Best regards,

Edward L. Haletky

Communities Moderator, VMware vExpert,

Author: VMware vSphere and Virtual Infrastructure Security,VMware ESX and ESXi in the Enterprise 2nd Edition

Podcast: The Virtualization Security Podcast Resources: The Virtualization Bookshelf

--
Edward L. Haletky
vExpert XIV: 2009-2023,
VMTN Community Moderator
vSphere Upgrade Saga: https://www.astroarch.com/blogs
GitHub Repo: https://github.com/Texiwill
0 Kudos
House3750
Contributor
Contributor
Jump to solution

Is the email alert going to an internal or external (to your domain) address?

What email system are you using?

0 Kudos
RajuVCP
Hot Shot
Hot Shot
Jump to solution

Email alert is going to Internal Domain only i.e. raju.gunnal@mycompany.com.

I have checked the SMTP IP/hostname given is correct, with the same SMTP hostname the other application can able to trigger mail.

Regards

Raju Gunnal

http://www.tech2solution.com/forum

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
jana2008
Contributor
Contributor
Jump to solution

Hi check this link, I hope will be your help.   http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=100407...

Best regards

VMware VCP
0 Kudos
Gav0
Hot Shot
Hot Shot
Jump to solution

I have issues in the past with SMTP and McAfee.  open the VirusScan console>Access Protection>Anti-Virus Standard Protection - Ensure that 'prevent mass mailing worms from sending email' isnt set to Block

Please award points to your peers for any correct or helpful answers
0 Kudos
RajuVCP
Hot Shot
Hot Shot
Jump to solution

Thanks , let me try with that...

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
RajuVCP
Hot Shot
Hot Shot
Jump to solution

Thanks Gavo,

Following as you mentioned, now its working like a Charm, am now getting alerts. Smiley Happy

Regards

Raju Gunnal

http://www.tech2solution.com/forum

Raju Gunnal VCP 4, VCP 5, VTSP 4, VTSP 5, ITIL V3 http://www.techtosolution.com
0 Kudos
Gav0
Hot Shot
Hot Shot
Jump to solution

Glad its sorted!

Please award points to your peers for any correct or helpful answers
0 Kudos