kchan22
Contributor
Contributor

Email alerts for vcenter backup via VAMI

Dear All,

I've configured a recurring backup job for our 6.7 vCenter Server appliance via the appliance management dashboard. Unless I'm overlooking it, is there no way to monitor the status of the backup job for both the success and failure alerts?

I know we have an alarm in vcenter for the backup failures but due to audit purposes, we need to configure alerts for both the failures as well as for the successful tries. 

Can you please help me to archive this?

Thanks in advance!

Regards,

Karthik

Reply
0 Kudos
LucD
Leadership
Leadership

The Alarm 'Backup job status' is based on 2 events (EventEx), namely 'com.vmware.applmgmt.backup.job.failed.event' (red status) and 'com.vmware.applmgmt.backup.job.finished.event'.(green status).

You can use both events in 2 separate Alarms, and send an email for example.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
EliMoshe
Contributor
Contributor

HI, can you please tell me what to put on the Alert Rule so that i could monitor those events?

Reply
0 Kudos
hirschinho
Contributor
Contributor

Hi @EliMoshe ,
Just Navigate to your vCenter in vSphere Client  > Configure > Alert Definitions > Search in "Alarm Name" for Backup

Select Backup job status > EDIT > Enable E-Mail Notification see picture. (E-Mail server must be set seperatly)

In Scripting since PowerCli 12.6 there is Get-ApplianceBackupJob available.

 

hirschinho_0-1690204517050.png

 

Reply
0 Kudos