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

Notification not triggered when services comes UP #4512

Closed
2 tasks done
typro33333 opened this issue Feb 21, 2024 · 4 comments
Closed
2 tasks done

Notification not triggered when services comes UP #4512

typro33333 opened this issue Feb 21, 2024 · 4 comments
Labels
area:monitor Everything related to monitors area:notifications Everything related to notifications help question Further information is requested

Comments

@typro33333
Copy link

⚠️ Please verify that this question has NOT been raised before.

  • I checked and didn't find similar issue

🛡️ Security Policy

📝 Describe your problem

I have setup notify check healthy my gitlab server. Also i have setup notify webhook through to Lark Suite. It has sent alert when services down but when services up, it not alert again.

📝 Error Message(s) or Log

No response

🐻 Uptime-Kuma Version

1.23.11

💻 Operating System and Arch

Ubuntu 20.04

🌐 Browser

Chrome

🖥️ Deployment Environment

  • Runtime: K8s
  • Database: sqlite/embedded
  • Filesystem used to store the database on: NFSv3 on HDD
  • number of monitors: 1
@CommanderStorm
Copy link
Collaborator

From your description this could be multiple things.

What was the log output?
How have you configured the monitor in terms of retention settings?

@CommanderStorm CommanderStorm added area:monitor Everything related to monitors area:notifications Everything related to notifications labels Feb 21, 2024
@CommanderStorm CommanderStorm changed the title Trigger webhook notify when services UP Notification not triggered when services comes UP Feb 21, 2024
@CommanderStorm CommanderStorm added the question Further information is requested label Feb 22, 2024
@typro33333
Copy link
Author

typro33333 commented Feb 22, 2024

So, I will show you all my step to notification my Lark.

  1. Create bot webhook in group chat Lark suite then it give me URL hook without credential.
  2. Then I go to Lark Suite docs to read about custom layout notification: Docs Lark Custom
  3. Screenshot 2024-02-22 at 12 36 26
  4. I have tested send message complete to Bot Lark but just only when services gitlab down time. It should be when gitlab uptime it with send notification that service is uptime. Finally, it sent again downtime notification. ( It mean it send 2 times downtime though service on uptime).

My Question with if gitlab uptime how uptime kuma send custom another notification uptime to bot ?

@CommanderStorm
Copy link
Collaborator

So we are talking about two differnt things. Your inital message gave the impression that NO allert is send out on a monitor coming UP

but when services up, it not alert again

You are talking about something different in the second message.

Finally, it sent again downtime notification

This is because you have configured the webhook to open the issue in larksuite.
Said webhook is send on both DOWN/UP/Certificate Expiry/Testing.
Currently, filtering what notifications get passed to which notification provider is not supported.
See #508 for the tracking issue

Please see #3715 for how to configure Lark via Feishu as the notification type or how to contribute a dedicated notifiaton type for Lark ^^

@typro33333
Copy link
Author

Thanks so much for answer to help me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:monitor Everything related to monitors area:notifications Everything related to notifications help question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants