• Skip to main content
  • Skip to secondary menu
  • Skip to primary sidebar
The Blog of Jorge de la Cruz

The Blog of Jorge de la Cruz

Everything about VMware, Veeam, InfluxData, Grafana, Zimbra, etc.

  • Home
  • VMWARE
  • VEEAM
    • Veeam Content Recap 2021
    • Veeam v11a
      • Veeam Backup and Replication v11a
    • Veeam Backup for AWS
      • Veeam Backup for AWS v4
    • Veeam Backup for Azure
      • Veeam Backup for Azure v3
    • VeeamON 2021
      • Veeam Announces Support for Red Hat Enterprise Virtualization (RHEV/KVM)
      • Veeam announces enhancements for new versions of Veeam Backup for AWS v4/Azure v3/GVP v2
      • VBO v6 – Self-Service Portal and Native Integration with Azure Archive and AWS S3 Glacier
  • Grafana
    • Part I (Installing InfluxDB, Telegraf and Grafana on Ubuntu 20.04 LTS)
    • Part VIII (Monitoring Veeam using Veeam Enterprise Manager)
    • Part XII (Native Telegraf Plugin for vSphere)
    • Part XIII – Veeam Backup for Microsoft Office 365 v4
    • Part XIV – Veeam Availability Console
    • Part XV – IPMI Monitoring of our ESXi Hosts
    • Part XVI – Performance and Advanced Security of Veeam Backup for Microsoft Office 365
    • Part XVII – Showing Dashboards on Two Monitors Using Raspberry Pi 4
    • Part XIX (Monitoring Veeam with Enterprise Manager) Shell Script
    • Part XXII (Monitoring Cloudflare, include beautiful Maps)
    • Part XXIII (Monitoring WordPress with Jetpack RESTful API)
    • Part XXIV (Monitoring Veeam Backup for Microsoft Azure)
    • Part XXV (Monitoring Power Consumption)
    • Part XXVI (Monitoring Veeam Backup for Nutanix)
    • Part XXVII (Monitoring ReFS and XFS (block-cloning and reflink)
    • Part XXVIII (Monitoring HPE StoreOnce)
    • Part XXIX (Monitoring Pi-hole)
    • Part XXXI (Monitoring Unifi Protect)
    • Part XXXII (Monitoring Veeam ONE – experimental)
    • Part XXXIII (Monitoring NetApp ONTAP)
    • Part XXXIV (Monitoring Runecast)
  • Nutanix
  • ZIMBRA
  • PRTG
  • LINUX
  • MICROSOFT

Veeam: Using Microsoft Teams for our Veeam ONE notifications when alerts are being generated

20th November 2019 - Written in: veeam

Greetings friends, after so many years counting all the possibilities of Veeam ONE, I have come to realize that more and more companies are using Microsoft Teams, and that is why today I come to tell you how to configure the notifications of Veeam ONE to Microsoft Teams.

How to create and configure the Microsoft Teams Webhook

To be able to receive notifications to a specific channel, we will have to create a Webhook in the channel we need, normally it would be a channel to receive alarms, instead of bombarding the General channel or similar.

In the channels where we need notifications, let’s imagine that we want that a certain equipment receives notifications of its applications, we will create a channel in case we don’t have it:We will need to go to  Channel – ConnectorsLet’s select now the one called Incoming Webhook: We will select the name that we want for our Webhook, as well as an icon that we like: When you click on Create, it will show us a unique URL with the Incoming Webhook, this is the address we want to use in the Github script. We have everything ready to move on to the next section.

Alarm Configuration inside the Veeam ONE Monitor Client

The first thing we will have to do is download the script from GitHub, once downloaded to the Veeam ONE Server, edit the script and enter the URL of the WebHook where it says $uri, very simple. We could edit the text that will be shown in Microsoft Teams, put it in Spanish, add the time, or delete the ID, whatever you want.Once we have the script ready, and saved in C:\scripts\VeeamONE-Notification.ps1 for example, we have everything ready to continue, we will go to our Veeam ONE Monitor Client, and in the Alarm Management section, edit the alert, or alerts, we want to receive in our Microsoft Teams channel, we could remove the default notification and leave only this new one to Teams, or add multiple Notifications:It has to be of the Run script type, and within the value, we will have to introduce the following, with your route to the Script, please:

powershell.exe "C:\scripts\VeeamONE-Notification.ps1" '%1' '%2' '%3' '%4' '%5' '%6' '%7'

As simple as this, everything would be there by now. When performing a test, or if an element exceeds the thresholds defined by the alert, the notification will be sent, which will be as follows:Nothing more friends, I hope you like it, and you will find it useful.

Extra – Veeam ONE variables

As I had some guys asking about the next variables that Veeam ONE sent out in order for my PowerShell to take, here is the full list, in case you want to edit the output, and also send them to other systems like Slack, Service Now, etc:

  • %1 – Alarm
  • %2 – Fired node name
  • %3 – triggering summary
  • %4 – Time
  • %5 – status
  • %6 – old status
  • %7 – id

Filed Under: veeam Tagged With: veeam one, veeam one microsoft teams, veeam one notification teams, veeam one slack, veeam one teams, veeam one to teams

Reader Interactions

Comments

  1. Anonymous Coward says

    20th November 2019 at 5:02 pm

    Hello Jorge!

    This is truly excellent! Are the variables used for the alarms documented? I would like to use this capability to craft notifications to OpsGenie, and so will want to properly map VeeamONE variables to OpsGenie fields.

  2. jorgeuk says

    20th November 2019 at 5:17 pm

    Hello,
    Yes, sorry, here you go:
    %1 - Alarm
    %2 - Fired node name
    %3 - triggering summary
    %4 - Time
    %5 - status
    %6 - old status
    %7 - id

    Build your own magic!

  3. JULIUS KOVAC says

    21st November 2019 at 6:42 am

    Great job Jorge !

  4. jorgeuk says

    21st November 2019 at 8:34 am

    Cheers Julius

  5. NICM says

    10th July 2024 at 7:21 am

    Hi, i got below notification Veeam notification to teams will be deprecated

    Action Required:
    O365 connectors within Teams will be deprecated and notifications from this service will stop.
    Learn more
    about the timing and how the Workflows app provides a more flexible and secure experience. If you want to continue receiving these types of messages, you can use a workflow to post messages from a webhook request.
    Set up workflow

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

  • E-mail
  • GitHub
  • LinkedIn
  • RSS
  • Twitter
  • YouTube

Posts Calendar

November 2019
M T W T F S S
 123
45678910
11121314151617
18192021222324
252627282930  
« Oct   Dec »

Disclaimer

All opinions expressed on this site are my own and do not represent the opinions of any company I have worked with, am working with, or will be working with.

Copyright © 2025 · The Blog of Jorge de la Cruz