This discussion has been locked. The information referenced herein may be inaccurate due to age, software updates, or external references.
You can no longer post new replies to this discussion. If you have a similar question you can start a new discussion in this forum.

send alert to mattermost channel

hello

i am looking for an HTTP Post body example to send alert to mattermost channel.

i did not find any useful resource on internet.

Parents Reply Children
  • no did not check mattermost API but i found these code tamplate that work fine 100

    payload={
    "channel": "network-alarm-solarwinds",
    "icon_url": "https://mattermost.org/wp-content/uploads/2016/04/icon.png",
    "text": "#### Solarwinds\n please review the alarm\n
    :warning: Alarm name : ${N=Alerting;M=AlertName}
    Node Name: ${N=SwisEntity;M=Caption} 
    IP address: ${N=SwisEntity;M=IP_Address}  
    vendor: ${N=SwisEntity;M=VendorInfo.Description}
    Node Status :  Currently in ${N=SwisEntity;M=Status} State.
     "
    }