gatus icon indicating copy to clipboard operation
gatus copied to clipboard

Pushover send-on-resolved not working

Open toskium opened this issue 11 months ago • 1 comments

Describe the bug

pushover send-on-resolved seemingly not working.

What do you see?

I receive a pushover notification showing the endpoint being unhealthy

What do you expect to see?

I do not receive a pushover notification when the endpoint is healthy again.

List the steps that must be taken to reproduce this issue

Start the application. Provoke an alarm. Wait until success-threshold is exceeded. No pushover alarm is sent.

Version

5.7.0

Additional information

the relevant parts of my config.yaml look like this:

alerting:
  pushover:
    application-token: mytoken
    user-key: myuserkey

endpoint-internal-defaults: &defaults_internal
  group: internal
  interval: 5m
  client:
    timeout: 10s
    insecure: true
  conditions:
    - "[STATUS] == 200"

endpoints:
  - name: Homepage Dashboard
    <<: *defaults_internal
    url: http://192.168.10.17:3000
    alerts:
      - type: pushover
        failure-threshold: 2
        success-threshold: 2
        send-on-resolved: true
        description: "Healthcheck Failed"

toskium avatar Feb 27 '24 18:02 toskium

@toskium Works like a charm here. The Pushover resolved is send with the same priority as the error one, so maybe you missed the resolved one? Voting to close this

Marck avatar Jul 11 '24 08:07 Marck