Installation¶
1. Configure Messenger¶
2. Configure source of alerts¶
- Set properly Group and repeat intervals
- Configure IMPulse as receiver
- Move route from Alertmanager to
impulse.yml↰ - Move inhibit_rules from Alertmanager to
impulse.yml↰
- Set properly Group and repeat intervals
- Configure IMPulse contact point
3. Get IMPulse¶
mkdir impulse impulse/config impulse/data
cd impulse
wget -O docker-compose.yml https://raw.githubusercontent.com/DiTsi/impulse/develop/examples/docker-compose.yml
wget -O config/impulse.yml https://raw.githubusercontent.com/DiTsi/impulse/develop/examples/impulse.slack.yml
Use the last <release_tag> from here and run:
git clone --branch <release_tag> --single-branch https://github.com/eslupmi/impulse.git impulse
cd impulse
cp examples/impulse.slack.yml impulse.yml
cp examples/env.slack .env
Don't forget to replace <release_tag> in docker-compose.yml to one of the release tags.
4. Configure IMPulse¶
- Modify environment in
docker-compose.yml - Modify configuration
- Modify environment in
.env - Modify configuration
5. Run IMPulse¶
docker compose up -d
python -m main
To configure the host and port that IMPulse listens on, use the LISTEN_HOST↰ and LISTEN_PORT↰ environment variables.
6. Reverse proxy¶
If you are using reverse proxy and need an HTTP prefix (e.g. /impulse), use the HTTP_PREFIX↰. Don't forget to update messenger.impulse_address↰ to include the prefix.