zuse 0.4.11

The flexible uptime bot, a descendant of the Rust async masterrace.
notifiers:
  - type: telegram
    auth:
      token: xxxx
    channels:
      - name: tg_chan
        # channel or group or user
        id: -1000000000000
  - type: sns
    auth:
      key: AKIXXXXXXXXXXXXXXXXX
      secret: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      region: us-east-1
    channels:
      - name: sns_pavel
        phone: +491701234567
        # or
        target_arn: arn:aws:sns:us-east-1:XXXXXXXXXXXX:XXXXXXXX
        # or
        topic_arn: arn:aws:sns:us-east-1:XXXXXXXXXXXX:XXXXXXXX
  - type: slack
    auth:
      hook_url: https://hooks.slack.com/services/XXXXX/XXXX/XXXXXXXX
    channels:
      - name: slack_alrt
        channel: '#alrt'
        username: 'zuse'
        icon_emoji: ':warning:'

# optional, a group of notify targets
notify_groups:
  - name: infra_team
    notify:
      - sns_pavel
      - tg_chan

# optional, can also be on each test
defaults:
  retries: 3
  recovery: 3
  interval: 10
  timeout: 30

tests:
  - type: http_ok
    name: site-com-alive-cdn
    target: https://site.com/endpoint
    notify:
      - sns_pavel
      - tg_chan
      - slack_alrt
    # or
    notify_groups:
      - infra_team
  - type: tcp_ok
    name: server-smoke-test
    target: 127.0.0.1:3000
    notify_groups:
      - infra_team
  - type: http_match
    name: server-smoke-test
    target: 127.0.0.1:3000
    expect:
      status: 200
      text: 'Google'
    notify_groups:
      - infra_team