Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No alarm in ping monitoring #5310

Open
1 task done
z89177519 opened this issue Nov 5, 2024 · 11 comments
Open
1 task done

No alarm in ping monitoring #5310

z89177519 opened this issue Nov 5, 2024 · 11 comments
Labels
bug Something isn't working cannot-reproduce

Comments

@z89177519
Copy link

📑 I have found these related issues/pull requests

na

🛡️ Security Policy

Description

I use to ping of monitoring url , It will not alarm when a fault occurs, but will remind you when the fault is restored.

👟 Reproduction steps

webhook can not remind

👀 Expected behavior

There should be reminders when failures occur and when recovery fails

😓 Actual Behavior

can not remind when failures , Only recovered alarms

🐻 Uptime-Kuma Version

1.23.15

💻 Operating System and Arch

ubuntu 22.04

🌐 Browser

google

🖥️ Deployment Environment

  • Runtime:
  • Database:
  • Filesystem used to store the database on:
  • number of monitors:
    Docker

📝 Relevant log output

na
@z89177519 z89177519 added the bug Something isn't working label Nov 5, 2024
@CommanderStorm
Copy link
Collaborator

What is your notification template?

@z89177519
Copy link
Author

ping template

@z89177519
Copy link
Author

webhook

@CommanderStorm
Copy link
Collaborator

I meant: What did you put into this field

image

@z89177519
Copy link
Author

PST url is zoom webhook addresses; request boday is custom request ; I see message on dasboard , but webhook can't push this is message, only is normal webhook push message
Image20241204122329

@z89177519
Copy link
Author

erro message can't push zoom webhook , Only restore information push on zoom

@z89177519
Copy link
Author

Uploading 1111.png…

@CommanderStorm
Copy link
Collaborator

What did you put into this field

Uploading 1111.png…

Your image did not upload properly, could you try again?

@z89177519
Copy link
Author

1111

@CommanderStorm
Copy link
Collaborator

There is a bug in how newlines are handled upstream:
JSON does not allow real line-breaks.
You need to replace all the line breaks with \n or split at the newlines separator and handle this in the target system.

Doing the replacement option in the notification provider would likely be a good idea (PR welcome).

@z89177519
Copy link
Author

"{{ msg | replace: "\n", "" }}"

THX ! I have fixed this issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cannot-reproduce
Projects
None yet
Development

No branches or pull requests

3 participants