Host-based backup of VMware vSphere VMs.
Post Reply
Kazz
Expert
Posts: 140
Liked: 17 times
Joined: Feb 08, 2018 3:47 am
Full Name: Kazz Beck
Contact:

Veeam BR Failed Job Notifications via Teams

Post by Kazz »

Hi,

In the past I have used VeeamOne PS Script to send critical notifications alerts to Teams via a webhook for snapshots open for more than a week. (Followed this guide -> https://www.veeam.com/blog/one-alarms-n ... slack.html)

Now, I have a need to send Teams alerts for jobs with a failed or warning status using the same WebHook method. I see a VBR specific PS script posted here -> https://github.com/realslacker/VeeamTeamsNotifications, but looks like I would have to configure it to run on every single backup and replication job. (I have over 200 jobs)

Questions:
What approach would you recommend? (VeeamOne notification for failed Jobs or VBR specific script on every job, if I am not mistaken I could tell Veeam One to trigger the alert only on jobs that failed or finished with a warning )
What would I need to modify to alert only on failed jobs if i go with VBR PS script?
If I end up going with VBR script can I programmatically update all of my jobs ? (I am almost positive the answer is yes and would greatly appreciate if someone could point me in the right direction. )

Thank you!
Kazz
Expert
Posts: 140
Liked: 17 times
Joined: Feb 08, 2018 3:47 am
Full Name: Kazz Beck
Contact:

Re: Veeam BR Failed Job Notifications via Teams

Post by Kazz »

Looks like something like this Get-VBRJob -Name * | set-VBRJobScriptOptions -PostCommand "powershell.exe -File C:\Scripts\SVTN.ps1" -PostScriptEnabled -Frequency 1, would update all of my jobs
Post Reply

Who is online

Users browsing this forum: No registered users and 62 guests