VMware Cloud Community
jp3457
Contributor
Contributor

Email on event

We have a couple older HPe Proliants that occasionally will lose connectivity to /bootbank.  In our case the hosts are booting off of an onboard SD card and this is a common issue.  Until new hosts can be procured, I'd like to have vCenter email me when I get the event.  I can't figure out how to do a custom alarm definition to email me when this happens.

this is the error:

EventTypeId : com.vmware.vc.StatelessAlarmTriggeredEvent
Severity :
Message :
Arguments : {alarm, alarmEntity, triggeredEntity, triggerEventKey...}
ObjectId : host-36269
ObjectType : HostSystem
ObjectName : hostname10.none.local
Fault :
Key : 9485014
ChainId : 9485014
CreatedTime : 4/20/2021 6:06:21 AM
UserName :
Datacenter : VMware.Vim.DatacenterEventArgument
ComputeResource : VMware.Vim.ComputeResourceEventArgument
Host : VMware.Vim.HostEventArgument
Vm :
Ds :
Net :
Dvs :
FullFormattedMessage : Alarm 'Host error' on hostname10.none.local triggered by event 9485013 'Issue detected on
hostname10.none.local in COB_Datacenter: Bootbank cannot be found at path '/bootbank'
(2021-04-20T10:05:47.765Z cpu47:5652250)'
ChangeTag :

Message : Bootbank cannot be found at path '/bootbank'
(2021-04-20T10:05:47.765Z cpu47:5652250)
Key : 9485013
ChainId : 9485013
CreatedTime : 4/20/2021 6:05:47 AM
UserName :
Datacenter : VMware.Vim.DatacenterEventArgument
ComputeResource : VMware.Vim.ComputeResourceEventArgument
Host : VMware.Vim.HostEventArgument
Vm :
Ds :
Net :
Dvs :
FullFormattedMessage : Issue detected on hostname10.none.local in COB_Datacenter: Bootbank cannot be found at path
'/bootbank'
(2021-04-20T10:05:47.765Z cpu47:5652250)

Labels (1)
0 Kudos
5 Replies
a_p_
Leadership
Leadership

I didn't try this myself, but https://www.virten.net/2015/11/how-to-create-custom-vcenter-alarms/ may help for how to create an alarm definition for "com.vmware.vc.StatelessAlarmTriggeredEvent".

André

0 Kudos
jp3457
Contributor
Contributor

I tried that site, but I vCenter 7 and can't find the spot to enter an Event trigger.

jp3457_0-1619030316841.png

 

0 Kudos
a_p_
Leadership
Leadership

I took a closer look at this in my lab , and I think I found how to create an alarm for this.

a_p__0-1619034461507.png

Select "Stateless Alarm Triggered" (under "Others"), and add an argument "Message" "starts with" "Bootbank cannot be found at path".

André

jp3457
Contributor
Contributor

First...thank you for looking into this.

Second...I don't happen to have a selection for, "Stateless Alarm Triggered" in my list of triggers.  I have 83 different triggers under Options and not one of them is for "Stateless Alarm".

Am I missing something??

0 Kudos
a_p_
Leadership
Leadership

Strange, it also shows 83 for me. Maybe a different vCenter build!?

Anyway, since I didn't know what exactly I had to look for, I entered/pasted com.vmware.vc.StatelessAlarmTriggeredEvent into the search field and hit the Enter key, then I saved the alarm. After opening the settings again, it showed the "Stateless Alarm Triggered".

André

0 Kudos