Skip to content

MalloZup/hasap-alerts-handler

Repository files navigation

SAP HA alert handlers

Table of Content

Rationale

The alert handler serve as central component for building reactive self-healing systems, based on Prometheus. It is meant to be a single binary, which will be distribued and installed to all nodes of clusters. The routing itself is delegated to alertmanager of Prometheus. It is main functionality is to selfheal and handle Prometheus alerts automatically, which are fired by Prometheus. The alert-handler share a common declarative API with the alertmanager (based on labels) which need to be respected by users. See API

Devel

  • build: go build .

Deploy to the node

Debugging:

systemctl restart prometheus-alertmanager

prometheus-alertmanager

amtool cli for alertmanager: examples: https://github.com/prometheus/alertmanager#examples

tests:

Allocate big file fallocate -l 4G fake2.img

Debugging alerts

promtool check rules /path/to/example.rules.yml

About

handler for alerts raised by prometheus in context of HA/SAP events

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages