I think it would be good if Solarwinds brings on WebHook option... This can help in integrating it to other products very easily...
Hi. I want send alert in solarwind to mattermost webhook. Is't posible?
This is already possible today in Orion using the HTTP/S Get/Post alert action.
Hi, thanks for your answer. Actually have this metod but it´s not working. When simulta the alert, i have the msj: Failed to execute HTTP request.
In the "Configure Action: Send a Get or Post Request to a web server" in the URL i have url mattermost onpremise
https://mattermost.mydomain/hooks/6uotw6g6r7yr5qca8yi8rd4dned4
But, i have this msj: Failed to execute HTTP request.
Body to post:
${N=Generic;M=Application} ${N=Generic;M=Date;F=Date}
@aLTeReGo But i have seen ppl mentioning that this option doesnt work.. can u give some examples of how it can be made use of?
We are also trying to see if this method can help in sending alert to ticketing system...
Can we have some working examples as most of the ppl are stating that action doesn't help.
The webhook is used in these examples detailed here: https://thwack.solarwinds.com/t5/SAM-Documents/Slack-Alert-Integration-Overview/ta-p/530013 & https://thwack.solarwinds.com/t5/IDK-Documents/The-Incomplete-Guide-to-Integrating-SolarWinds-Orion-and-Slack/ta-p/537990
We had need for this recently. Real quick and easy Powershell script that worked for us. Use Execute and External Program for the Alert action, of course. Hope this helps someone.
Powershell.exe -File C:\SlackAlert.ps1 -body "${N=Alerting;M=AlertName} was triggered, blah, blah"
Here's the script. Adjust as necessary, save as .ps1 and call from the Alert.
Param([string]$body)
$RestProps = @{'Uri' = 'https://your.slackserver.com/hooks/abcdefjhijklmnop12345';'Method' = 'Post';'ContentType' = 'application/json';}
Invoke-RestMethod $RestProps -Body (ConvertTo-Json -InputObject @{text='$body'})
@aLTeReGo What about incoming Webhooks? What you are describing is a mechanism to execute a POST/GET request as an action to an alert. Webhooks could be a useful method for SolarWinds to receive events/data from other platforms.
Not really sure what @pratikmehta003 was trying to achieve, a few additional details would be appreciated.
Webhooks can be used to trigger actions/verbs in Orion, such as acknowledging an alert or even add notes to an alert, but there is no way to input data (metrics or log events) into Orion like you can for AppOptics or Loggly.
@aLTeReGo My point exactly. Therefore, since @pratikmehta003 initial post is not that straightforward, I believe that marking this feature request as 'Implemented' might not be the best thing.
It might be better to create a new 'Idea' that's more descriptive. That will likely help it receive more votes as a result. This one only has 4 votes, so I don't think much will be lost by creating a new, better, more descriptive idea that more clearly articulates the use case and problem you're wanting solved.