Our alarm 'Host connection and power state' is getting triggered at least once a week due to networking issues. The alarm action is to send an email for all most state changes (yellow-red, red->yellow, yellow-green). The strange thing is we only get an email alert for when it turns red. The object turns back to green and the logs say that the alarm has gone back to green, but the alarm never sends us the email
e.g.
Alarm 'Host connection and power state' on xxxx changed from Green to Red 13/04/2014 7:08:58 p.m.
Alarm 'Host connection and power state' on xxxx triggered an action 13/04/2014 7:08:58 p.m.
Alarm 'Host connection and power state' on xxxx sent email to (our email address) 13/04/2014 7:09:30 p.m.
Established a connection 13/04/2014 7:13:55 p.m. xxxx
Alarm 'Host connection and power state' on xxxx changed from Red to Green 13/04/2014 7:13:55 p.m.
Get-AlarmDefinition "Host connection and power state" | Get-AlarmAction | select ActionType,Trigger | fl
ActionType : SendEmail
Trigger : {Yellow -> Red (Once), Yellow -> Green (Once), Red -> Yellow (Once)}
We are running vCenter 5.1 941893
Hi
Can you attach the screenshot of alarm in which reporting action is shown
Navpreet
attached,..
From the screen shot we could see the settings for sending email alert only for following conditions
{Yellow -> Red (Once), Yellow -> Green (Once), Red -> Yellow (Once)} and not for red->green, when your host come up it will not go to yellow and then green it will go directly from red->green, since you do not have that condition specified, you wont get that email alert.
the GUI doesn't have an option for red->green.