Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
Dockerfile
README.md
alert.sh
start.sh

README.md

alert

A little tiny shell-script driven Prometheus IRC notifications for alerts.

This uses msgbus to subscribe to alerts coming from Prometheus (which has been configured to send alerts to msgbus) and irccat to connect to and post on IRC.

Configuration is via environment variables:

  • MSGBUS_URI -- The msgbus endpoint uri to connect to for pushed alert# alert

A little tiny shell-script driven Prometheus IRC notifications for alerts.

This uses msgbus to subscribe to alerts coming from Prometheus (which has been configured to send alerts to msgbus), jq to parse and extract the JSON payload and irccat to connect to and post on IRC.

Configuration is via environment variables:

  • MSGBUS_URI -- The msgbus endpoint uri to connect to for pushed alerts
  • MSGBUS_TOPIC -- The msgbus topic to subscribe to for alerts
  • IRC_(HOST|PORT|CHAN|NICK) - Various IRC configuration parameters