Skip to main content
Question

Alert creation for VMware VM backup after completion

  • July 30, 2025
  • 2 replies
  • 39 views

Forum|alt.badge.img+3

Hi. I’ve created a API script to backup a specific VM. I want to create an alert to send a email after the jobs completes.

 

I used, Add Alert->Job management(data protection), selected everything for Agent type. also Want to just send the alert when the API user is the one starting the job (used token for that).

I’ve also selected “Send individual notification for each backed up VM”

Anyway, it’s not working.

 

2 replies

Forum|alt.badge.img+8

Hi ​@typer100 ,


In order to alert on the individual VMs, you will need to include the VM “client” as a selected entity. 

- In the Commcell browser, right click ‘Client Computers → Customize view → Show Virtual Machines. Ref doc on Show Virtual Machines in Client Computers List.

- Now, in the ‘entities’ section of the alert, you should be able to select the Virtual Machines. After selecting both the VCenter and the Vm clients, the alert should include the individual VM information. 

- In Alert Tab -> Select Category: Job Management (Data Protection) -> Select conditions to alert only completed jobs
- In Agent Type Filter, You have selected all agent types, which works, however you can narrow it down to only “Virtual Server”.
- For Filter by User (Started by API) you have used the token, you can use a specific Subclient or Plan. If your API script uses a unique subclient or specific plan when triggering the backup, then filter alerts by that.
- When creating the alert: In the “Entities” tab, select only that VM or the associated subclient/client group.
- Initiate a VM Backups via API by specific user and check if it triggers an Alert post completed.
- You can test the alert to ensure CV generates the Alert to intended recipients.

 

 

Regards,

Dheeraj


Forum|alt.badge.img+3
  • Author
  • Byte
  • August 11, 2025

I found my problem. I was filtering the jobs using the TOKEN feature. First, it’s not clear which fields does what, then the filtering is really picky.