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.
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.
Have you checked the API reference https://api.mattermost.com/#tag/introduction ?
Have you checked the API reference https://api.mattermost.com/#tag/introduction ?
no did not check mattermost API but i found these code tamplate that work fine
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. " }
SolarWinds solutions are rooted in our deep connection to our user base in the THWACK® online community. More than 195,000 members are here to solve problems, share technology and best practices, and directly contribute to our product development process.