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
Lower heartbeat interval when monitor is DOWN
?
#4025
Comments
Interesting, I think it would be more reasonable if the retry interval applies to down status as well. |
Actually true, don't know why didn't think about it. |
DOWN
?
This comment was marked as spam.
This comment was marked as spam.
This comment was marked as resolved.
This comment was marked as resolved.
Flowchartflowchart TD
Start(Start => `!hasPreviousBeat`)
P2(((Pending)))
P(((Pending)))
U(((Up)))
D(((Down)))
HI[Hit every `Heartbeat Interval`]
HRI[Hit every `Heartbeat Retry Interval`]
Reset_R[Reset `Retries` counter]
isUp{Check successfull?}
isMaxRetry{`Retries`-limit reached?}
Start --> P2
P2 --> HI
HI --> isUp
isUp --> |No| isMaxRetry
isUp --> |Yes| Reset_R
Reset_R --> U
isMaxRetry --> |No| P
P --> HRI
isMaxRetry --> |Yes| D
HRI --> isUp
D --> HI
U --> HI
Flow Chart Details
|
I have edited the diagram1 to hopefully clear the question a bit up (inlining, clarifying). In terms of correctness of the diagram:
In terms of proposal:
Footnotes
|
For the case @Vincent-HD mentioned, another field would be handly
However, I totally agree
Modifying @Vincent-HD case as below can be a win-win
I'm willing to send a PR for this I've gone through the Contribution Guidelines I will be creating my branch from |
🛡️ Security Policy
📝 Describe your problem
I would like the possibility to lower the heartbeat interval when a monitor is marked as
DOWN
.For example, here I have an Interval of 30 min betweens checks and 60 sec x 3 on pending. But as soon as it is marked as
DOWN
, it checks every 30 min again, can we change that behaviour?It's useful if I don't want to “spam” our websites with checks, but I want to be able to be notified as soon as I want when a monitor is back up
So it would be, for example:
UP
PENDING
and max 3 timesDOWN
Thank you 👍
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.1
💻 Operating System and Arch
Ubuntu 20.04.5
🌐 Browser
Vivaldi 6.4.3160.42
🐋 Docker Version
23.0.0
🟩 NodeJS Version
No response
The text was updated successfully, but these errors were encountered: