title: “2. Install Alert Manager”
date: 2016-10-07T13:30:07
slug: 2-install-alert-manager
wget https://github.com/prometheus/alertmanager/releases/download/v0.4.2/alertmanager-0.4.2.linux-amd64.tar.gz
tar -xzf alertmanager-0.4.2.linux-amd64.tar.gz
cd alertmanager-0.4.2.linux-amd64
vi simple.yml
global:
# The smarthost and SMTP sender used for mail notifications.
smtp\_smarthost: 'www.hostingvalley.de:25'
smtp\_from: 'asanger@it-asanger.de'
smtp\_auth\_username: 'asanger@it-asanger.de'
smtp\_auth\_password: 'xxxxx'
# The auth token for Hipchat.
hipchat\_auth\_token: '1234556789'
# Alternative host for Hipchat.
hipchat\_url: 'https://hipchat.foobar.org/'
Start AlertManager:
./alertmanager -config.file=simple.yml
