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.
This is the output:
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
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.