forked from prometheus-msteams/prometheus-msteams
-
Notifications
You must be signed in to change notification settings - Fork 0
/
solarwind.tmpl
1 lines (1 loc) · 1.14 KB
/
solarwind.tmpl
1
{ "@type": "MessageCard", "@context": "http://schema.org/extensions", "themeColor": "7471D8", "summary": "Node down", "sections": [{ "activityTitle": "Node down: ${N=SwisEntity;M=Caption}", "activitySubtitle": "Alert triggered ${N=Alerting;M=AlertTriggerTime;F=DateTime}", "activityImage": "http://link.to.image.jpg", "facts": [{ "name": "Device", "value": "[${N=SwisEntity;M=Caption}](${N=SwisEntity;M=DetailsUrl})" }, { "name": "IP", "value": "${N=SwisEntity;M=IP_Address} " }, { "name": "Vendor", "value": "${N=SwisEntity;M=Vendor}" }, { "name": "Model", "value": "${N=SwisEntity;M=MachineType}" }, { "name": "Details", "value": "[${N=Alerting;M=AlertDetailsUrl}](${N=Alerting;M=AlertDetailsUrl}) " }, { "name": "Acknowledge", "value": "[${N=Alerting;M=AcknowledgeLink}](${N=Alerting;M=AcknowledgeLink})" }], "text": "${N=SwisEntity;M=Caption} is currently ${N=SwisEntity;M=Status}", "markdown": true }]