uptime-kuma icon indicating copy to clipboard operation
uptime-kuma copied to clipboard

heartbeat schedule

Open okuzlu opened this issue 2 years ago • 4 comments

⚠️ Please verify that this feature request has NOT been suggested before.

  • [X] I checked and didn't find similar feature request

🏷️ Feature Request Type

New Monitor

🔖 Feature description

I want to monitor services with heartbeat not everyday. For example only weekdays.

✔️ Solution

Add option on which days it should monitor.

❓ Alternatives

No response

📝 Additional Context

No response

okuzlu avatar Jun 25 '22 22:06 okuzlu

I second this: I use certain Push-Sensors with devices that do a daily restart, all at the same time. Within that small time-window of all devices rebooting, uptime-kuma is going to notify me about this - which is kind of false positive.

I would like to have an option to turn off notifications during a set time-period. I tried to work around this by pausing the docker-container but that won't help with Push-Sensors.

steakhouse avatar Jun 29 '22 07:06 steakhouse

This would be a great addition to the notification settings. Especially pausing the notification during scheduled tasks like system reboots. I maintain a whole bunch of servers which do a daily reboot at a fixed time and get false positive notifications from the Uptime-Kuma Push-Sensors.

Settings some sort of pause window (ex. daily from 5:00 - 5:30, etc.) for the Notifications would be a great.

chrisb47 avatar Jun 29 '22 07:06 chrisb47

very useful feature +1

ShadowGaming100 avatar Jul 02 '22 16:07 ShadowGaming100

Same here, we have some servers in AWS that we turn off at the weekend to save money. More general know there is planned outage and would like to prevent notifications in that case.

robkooper avatar Sep 17 '22 17:09 robkooper

:one: It'd be very nice to be able to attribute multiple schedules as well. For example, I have a monitor that needs to run for 4 hours on the 1st and 3rd Sunday of every month.

:two: Something that also seems to get missed is an "offset" in scheduling. I also have a scenario of something that needs to be monitored for 2 hours on the Wednesday following the 1st Sunday. So it would be nice to have a schedule that says 1st Sunday +3 days since the 1st Wednesday or 2nd Wednesday doesn't usually line up.

TheSavageCoder avatar Mar 01 '23 06:03 TheSavageCoder

Agreed! This is really a must-have feature!!! Can't wait for it!

cocoonkid avatar Mar 01 '23 09:03 cocoonkid

This would be an awesome feature!

Recurrence Rules (or RRULE strings) can support the requested schedules: https://www.rfc-editor.org/rfc/rfc5545

There are server-side libraries that can interact with RRULE strings: https://github.com/jakubroztocil/rrule

There are also client-side libraries that can generate the complex UI: https://jakubroztocil.github.io/rrule/

cwilby avatar Mar 01 '23 19:03 cwilby

+1 Timeframe for scheduled service restart / reboot / backups /etc would be very much apreciated to reduce false positive

MacMatt avatar Mar 05 '23 14:03 MacMatt

Closing as a duplice as scheduling heartbeats is also tracked in #1723

CommanderStorm avatar Feb 28 '24 12:02 CommanderStorm