Skip to main content

hi, i want to use a webhook for MS Teams to send our CV alterts directly to a dedicated MS Teams channels. The configuration seems easy. Within commandcenter i added the webhook url provided by MS Teams.

Under Monitoring alerts i defined some “standard” definitions like:

Backup Job suceeded to be sent to the webhook.

No adaptions within the template were made.

But in the webhook configuration it always shows me: Webhook offline (date)

 

Has someone managed already a webhook integration with MS Teams and may share his insights, what changes to the standard configuration is necessary.

 

thanks

I have nothing to add except… 

Teams… ick.


I have nothing to add except… 

Teams… ick.

cheapest and fastest push notification for mobile devices ...


No argument there.


@BernhardSt , while we wait to see if anyone in the community can advise, I’m going to see if we have anyone internally.


I have an answer!

on 24 --- if MOngoDB deployment is standalone server then use FS agent --- https://documentation.commvault.com/11.24/expert/43131_performing_full_backup_of_standalone_mongodb_deployment.html

Expert View

 

on 24 --- if MOngoDB deplpyment is a replica set or a sharded cluster then use the MongoDB agent https://documentation.commvault.com/11.24/expert/99408_performing_full_backup_of_replica_set_or_sharded_cluster_deployment.html

Expert View


@Mike Struening hi mike. thanks for your answer. but i think the links dont fit to my question. thanks


Hi,

 

The template should follow microsoft teams format as mentioned in this doc. 

https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using?tabs=cURL

 

A sample is pasted below. please create new connector and paste following format in template, trigger alert and verify in teams.

 

  "summary": "<ALERT CATEGORY - ALERT TYPE>",

  "themeColor": "0078D7",

  "title": "<ALERT NAME>",

  "sections": c

    {

      "facts":

        {

          "name": "Detected Criteria",

          "value": "<DETECTED CRITERIA>"

        },

        {

          "name": "Detected Time",

          "value": "<TIME>"

        },

        {

          "name": "CommCell",

          "value": "<COMMCELL NAME>"

        },

        {

          "name": "User",

          "value": "<USER NAME>"

        },

        {

          "name": "Job ID",

          "value": "<JOB ID>"

        },

        {

          "name": "Status",

          "value": "<STATUS>"

        },

        {

          "name": "Client",

          "value": "<CLIENT DISPLAY NAME>"

        },

        {

          "name": "Agent Type",

          "value": "<AGENT TYPE NAME>"

        },

        {

          "name": "Instance",

          "value": "<INSTANCE NAME>"

        },

        {

          "name": "Backup Set",

          "value": "<BACKUPSET NAME>"

        },

        {

          "name": "Subclient",

          "value": "<SUBCLIENT NAME>"

        },

        {

          "name": "Start Time",

          "value": "<START TIME>"

        }

      ],

      "text": "<ALERT CATEGORY - ALERT TYPE>"

    }

  ]

}


hi thank you. now its working!! great. i am happy now :)


Just wanted to circle back on this. 

Man this is pretty cool.