top of page
  • Brock Peterson

Send vROps Alerts to Microsoft Teams

In our last blog we sent vRLI Alerts to Microsoft Teams via Webhooks, in this blog we'll send vROps Alerts to Microsoft Teams the same way. What do we need?


  • Microsoft Teams Channel and Incoming Webhook

  • vROps Webhook Outbound Notification Plugin

  • vROps Webhook Payload Template

  • vROps Notification Rule


Let's first configure the Teams Channel and Incoming Webhook. Go to your Team, create a new Channel, then go to Connectors, and configure the Incoming Webhook, this is the URL we will use later.



Next, let's create the vROps Outbound Notification Plugin Instance. This is where you'll use the Microsoft Teams Incoming Webhook URL you previously created.



A couple things to note here:

  • The TEST won't work. It's trying both an HTTP POST and PUT, one of them will fail, rendering the test unsuccessful.

  • The TEST is sending a default payload which gets rejected by Teams, rendering the test unsuccessful.

  • My TEST looked like this, rest assured it'll work when we test with an Alert and custom payload template.


Next let's configure the Payload Template, mine looks like this.



I've used the Webhook Notification Plugin previously created and adjusted my Payload Template to use JSON, HTTP POST, and a custom Payload.


Next we'll create a Notification Rule and an Alert to trigger it. My Notification Rule looks like this.



The Alert I'm using to trigger looks like this.



Now we wait...and here they come!



For an even richer experience, using Microsoft Teams Cards, check out the Payload Template on VMware {code} contributed by VMware Senior Staff Technical Marketing Manager John Dias. Using that template, your Teams messages will look like this.



For more information about vROps go here!



3,043 views

3 Comments


Brock Peterson
Brock Peterson
Nov 30, 2022

I'm getting notified almost immediately. Are your Alerts/Symptoms set up to trigger immediately or do they require 2+ cycles?

Like
irzyk27
Nov 30, 2022
Replying to

My wait cycles are all set to 1 for the symptom and the alert, its a fresh 8.10 installation, only thing i've changed to try to get it sped up is lowering the collection interval for the vcenter adapters down to 1 minute. Looks like I cant adjust the application management pack adapters, they're greyed out and locked at 5 minutes. Dreading opening a ticket with GSS but looks like I'll have to, been struggling with this for a couple days now.

Like

irzyk27
Nov 29, 2022

Hey Brock, on average how long are you waiting from time of symptom occurring to that teams alert getting delivered? I'm waiting upwards of 20+ minutes to get a webhook delivered to pagerduty after a sql server service goes down thats monitored by the telegraf agent. I understand vROPs isn't designed for real-time alerting but I was hoping I could get alerts within atleast 5 minutes.

Like
bottom of page