Zum Hauptinhalt springen

๐Ÿ’ฌ Slack

Get monitoring alerts directly in your Slack channels with rich formatting and color-coded severity badges.


๐Ÿ”ง Einrichtungโ€‹

Step 1: Create a Slack Webhookโ€‹

  1. Go to api.slack.com/apps โ†’ Create New App โ†’ From scratch
  2. Name it Monitron and select your workspace
  3. Go to Incoming Webhooks โ†’ Turn it On
  4. Click Add New Webhook to Workspace
  5. Select the channel (e.g., #monitoring-alerts)
  6. Copy the Webhook URL

It looks like: https://hooks.slack.com/services/T00/B00/xxxxx

Step 2: Add to Contactโ€‹

When editing a contact, add the Slack channel:

EinstellungWert
ChannelSlack
Webhook URLhttps://hooks.slack.com/services/T00/B00/xxxxx

๐Ÿ“จ Nachrichtenformatโ€‹

Monitron sends rich Slack attachments with:

  • ๐Ÿ”ด Red for Down alerts
  • ๐ŸŸข Green for Recovery alerts
  • Monitor name, status, and response time
  • Timestamp of the event

๐Ÿ’ก Tippsโ€‹

  • Create a dedicated #monitoring channel
  • Use different webhook URLs for different severity levels (e.g., #alerts-critical for critical, #alerts-info for others)