vCenter

 View Only
  • 1.  Email on event

    Posted Apr 21, 2021 03:44 PM

    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)



  • 2.  RE: Email on event

    Posted Apr 21, 2021 06:19 PM

    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é



  • 3.  RE: Email on event

    Posted Apr 21, 2021 06:39 PM

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

    jp3457_0-1619030316841.png

     



  • 4.  RE: Email on event

    Posted Apr 21, 2021 07:51 PM

    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é



  • 5.  RE: Email on event

    Posted Apr 22, 2021 12:24 PM

    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??



  • 6.  RE: Email on event

    Posted Apr 22, 2021 04:18 PM

    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é