Skip to content

alertmanager job from prometheus/18.6.2

Github source: f49875b or master branch

Properties

alertmanager

data

retention

How long to keep data for

hipchat

auth_token

The AuthToken to use for Hipchat notifications

url

The URL to use for Hipchat notifications

inhibit_rules

Inhibition rules

log_format

Set the log target and format

log_level

Only log messages with the given severity or above. Valid levels: [debug, info, warn, error, fatal]

mesh

password

Password to join the peer network (empty password disables encryption)

port

Mesh listen port

Default
6783

opsgenie

api_host

The API Host to use for OpsGenie notifications

pagerduty

url

The URL to use for PagerDuty notifications

receivers

Receivers

resolve_timeout

ResolveTimeout is the time after which an alert is declared resolved if it has not been updated

route

continue

Whether an alert should continue matching subsequent sibling nodes

group_by

The labels by which incoming alerts are grouped together

group_interval

How long to wait before sending notification about new alerts that are in are added to a group of alerts for which an initial notification has already been sent

group_wait

How long to initially wait to send a notification for a group of alerts

match

A set of equality matchers an alert has to fulfill to match the node

match_re

A set of regex-matchers an alert has to fulfill to match the node

receiver

default receiver

repeat_interval

How long to wait before sending a notification again if it has already been sent successfully for an alert

routes

Child routes

slack

api_url

The API URL to use for Slack notifications

smtp

auth_password

SMTP authentication password

auth_secret

SMTP authentication secret

auth_username

SMTP authentication username

from

The default SMTP From header field

require_tls

SMTP TLS requirement

smarthost

The default SMTP smarthost used for sending emails

templates

Array of file paths from which custom notification template definitions are read

test_alert

daily

Send a test alert daily?

Default
false
hourly

Send a test alert hourly?

Default
false
weekly

Send a test alert weekly?

Default
false

web

external_url

The URL under which Alertmanager is externally reachable

port

Port to listen on for the web interface and API

Default
"9093"
route_prefix

Prefix for the internal routes of web endpoints

env

http_proxy

HTTP proxy to use

https_proxy

HTTPS proxy to use

no_proxy

List of comma-separated hosts that should skip connecting to the proxy

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/alertmanager/ directory (learn more).

  • bin/alertmanager_ctl (from bin/alertmanager_ctl)
  • bin/alertmanager_test (from bin/alertmanager_test)
  • bin/pre-start (from bin/pre-start)
  • config/alertmanager.yml (from config/alertmanager.yml)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.