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

uptime kuma don't send noification with a large attempts #3392

Closed
2 tasks done
ale82x opened this issue Jul 9, 2023 · 5 comments
Closed
2 tasks done

uptime kuma don't send noification with a large attempts #3392

ale82x opened this issue Jul 9, 2023 · 5 comments
Labels
bug Something isn't working

Comments

@ale82x
Copy link

ale82x commented Jul 9, 2023

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

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

i use uptime kuma to monitor my servers and works fine.

but i use it also for monitor outdated script.
so i add a monitor
https keyword
url = https://api.github.com/repos/roundcube/roundcubemail/releases/latest
keyword = 1.6.0
interval = 60 seconds
attempts = 7200
retry = 60 seconds

so i want to email me when script is outdated after 5 days (60sec 120 hours) = 7200

but when the value is very large monitor don't work ... it never becomes "down" and don't send email...

i try with my website and if i use attemps = 10 (ten minutes) works fine.

thank you

👟 Reproduction steps

create a monitor with keyword with large attemps and wait...

👀 Expected behavior

send email after 5 days

😓 Actual Behavior

don't send notification

🐻 Uptime-Kuma Version

1.22.1

💻 Operating System and Arch

almalinux and docker compose

🌐 Browser

all

🐋 Docker Version

Docker 24.0.4

🟩 NodeJS Version

No response

📝 Relevant log output

No response

@ale82x ale82x added the bug Something isn't working label Jul 9, 2023
@CommanderStorm
Copy link
Collaborator

CommanderStorm commented Jul 9, 2023

For your concrete use case:
Would this not be easier+more reliable? (why do you want to get notifications after 5 days? 🤔)
image

What do you mean by attempts?
image

Have you tried a higher value for the heartbeat interval? 60s seems quite agressive imo. (might it be that you are being rate limited?)

Ideas:

@ale82x
Copy link
Author

ale82x commented Jul 10, 2023

hello,
thank you for reply...

url of github is a test, i monitor also other website in search of specific keyword.
5 days is because, i wouldnt update as soon as the update comes out.
so i wait 5 days and then update...

thank you , I did not think about it...
now i setup:
hearthbeat interval = 86400 (1 day)
retries = 5

thank you

@ale82x ale82x closed this as completed Jul 10, 2023
@ale82x
Copy link
Author

ale82x commented Aug 12, 2023

sorry, i'm wiriting again because not work...

i setup
hearthbeat interval = 86400 (1 day)
retries = 5

but this id "down" from 11 times...

immagine

and is NOT down but "pending"

thank you

@CommanderStorm
Copy link
Collaborator

Did you restart your server by any chance? in this time interval?
=> See #3504

@ale82x
Copy link
Author

ale82x commented Aug 13, 2023

ok, my is an active monitor (not PUSH/PASSIVE) but ok,
i try to set retries = 0

thank you

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

No branches or pull requests

2 participants