Co-authored-by: Eve832 <eve.meelan@grafana.com>
Co-authored-by: Francisco Montes de Oca <nevermind89x@gmail.com>
Co-authored-by: Ildar Iskhakov <ildar.iskhakov@grafana.com>
Co-authored-by: Innokentii Konstantinov <innokenty.konstantinov@grafana.com>
Co-authored-by: Julia <ferril.darkdiver@gmail.com>
Co-authored-by: maskin25 <kengurek@gmail.com>
Co-authored-by: Matias Bordese <mbordese@gmail.com>
Co-authored-by: Matvey Kukuy <motakuk@gmail.com>
Co-authored-by: Michael Derynck <michael.derynck@grafana.com>
Co-authored-by: Richard Hartmann <richih@richih.org>
Co-authored-by: Robby Milo <robbymilo@fastmail.com>
Co-authored-by: Timur Olzhabayev <timur.olzhabayev@grafana.com>
Co-authored-by: Vadim Stepanov <vadimkerr@gmail.com>
Co-authored-by: Yulia Shanyrova <yulia.shanyrova@grafana.com>
36 lines
No EOL
1.3 KiB
HTML
36 lines
No EOL
1.3 KiB
HTML
<blockquote>
|
|
Free-format Webhook is mostly used for custom integrations via scrips. Use any http client,
|
|
e.g. curl to send POST requests with any payload.
|
|
</blockquote>
|
|
|
|
<h6>Request example:</h6>
|
|
<p>
|
|
<pre>
|
|
curl -X POST \
|
|
{{ alert_receive_channel.integration_url }} \
|
|
-H 'Content-Type: Application/json' \
|
|
-d '{
|
|
"alert_uid": "08d6891a-835c-e661-39fa-96b6a9e26552",
|
|
"title": "The whole system is down",
|
|
"image_url": "https://upload.wikimedia.org/wikipedia/commons/e/ee/Grumpy_Cat_by_Gage_Skidmore.jpg",
|
|
"state": "alerting",
|
|
"link_to_upstream_details": "https://en.wikipedia.org/wiki/Downtime",
|
|
"message": "Smth happened. Oh no!"
|
|
}'
|
|
</pre>
|
|
</p>
|
|
|
|
<h4>Next steps:</h4>
|
|
<p><ol>
|
|
<li>
|
|
1. Add the routes and escalations in <code class='code-inline'>Escalations settings</code>
|
|
</li>
|
|
<li>
|
|
2. Check grouping, auto-resolving, and rendering templates in
|
|
<code class='code-inline'>Alert Templates</code> Settings
|
|
</li>
|
|
<li>
|
|
3. Make sure all the users set up their <code class='code-inline'>Personal Notifications</code> Settings
|
|
on the <code class='code-inline'>Users</code> Page
|
|
</li>
|
|
</ol></p> |