Is it possible to send alert notifications to a Microsoft Teams channel?
Q: I need to post a message to a Microsoft Teams channel every time alert is executed. How can I do that? A: Please follow the tutorial below, explaining how to post IPNetwork Monitor alert notifications to Microsoft Teams channel using the Incoming Webhook connector. Alerts will appear in a channel in form of cards.1. Create a connector
In a new or existing channel that will be used for alerts, open “Connectors”:2. Create Send HTTP(S) request action
Now open IPNetwork Monitor GUI client and create new “Send HTTP(S) request” action (click “Alerting > Alerts”, select “Simple Actions” tab):- URL: Webhook URL obtained at step 1
- Request Method: choose POST
- POST Data (message payload): insert the below text
{ "@context": "http://schema.org/extensions", "@type": "MessageCard", "summary": "$EventDetails", "sections": [ { "activityTitle": "**$EventDetails**", "activitySubtitle": "[$MonitorName]($MonitorReportUrl) on [$HostName]($HostReportUrl)", "activityImage": "//cdn.ipnetwork-monitor.com/images/icons/64x64/$NewState.png", "activityText": "Monitor state: $EventShortDescription $Duration | since $Time" } ] }