Skip to content

Prometheus Alertmanager

rozetko edited this page Nov 6, 2019 · 2 revisions

Configuration

Hastic can send alerts to Prometheus Alertmanager. You need to set 2 variables in config.json:

  • HASTIC_ALERT_TYPE=alertmanager
  • HASTIC_ALERTMANAGER_URL=<alertmanager_url>

For example:

// config.json
{
  //...
  "HASTIC_ALERT_TYPE": "alertmanager",
  "HASTIC_ALERTMANAGER_URL": "http://localhost:9093"
}

P.S. to configure your Alertmanager to send alerts to Telegram see alertmanager-bot.

Clone this wiki locally