Skip to content

Heartbeats preventing alarms #27

Description

@CompSciFutures

This is the output:

    • --=[ APMonitor v1.4.1 ]=--- - -
      Spawned: APMonitor.py test-config.yaml
      create_pid_file_or_exit_on_unix(test-config.yaml) called
      [T#12603 Production Infrastructure/gateway] Heartbeat ping FAILED to 'https://hc-ping.com/your-uuid-here': status 400
      [T#12603 Production Infrastructure/gateway] Heartbeat ping FAILED to 'https://hc-ping.com/your-uuid-here': status 400
      [T#12603 Production Infrastructure/gateway] Heartbeat ping FAILED to 'https://hc-ping.com/your-uuid-here': status 400
      (.venv) osbornest@penguin:~/APMonitor$

This is the monitor config:

Example 1: Basic ping monitor with heartbeat

  • type: ping
    name: gateway
    address: "google.com"
    check_every_n_secs: 60 # Check every 60 seconds
    notify_every_n_secs: 600 # Notify every 10 minutes if still down
    heartbeat_url: "https://hc-ping.com/your-uuid-here"
    heartbeat_every_n_secs: 300 # Heartbeat every 5 minutes

Alarm never is delivered because heartbeat endpoints fail.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions