UP notification not sent when maintenance ends if DOWN before maintenance started #2766

Open
opened 2026-02-28 03:06:27 -05:00 by deekerman · 4 comments
Owner

Originally created by @exterrestris on GitHub (Nov 9, 2023).

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

  • I checked and didn't find similar issue

🛡️ Security Policy

Description

Services that were down before maintenance mode was enabled do not send 'up' notifications if up when maintenance mode disabled

👟 Reproduction steps

  1. Have monitored service go down
  2. Enable maintenance mode
  3. Bring service up
  4. Disable maintenance mode

👀 Expected behavior

Notification that service was up when maintenance mode ends

😓 Actual Behavior

No notification sent

🐻 Uptime-Kuma Version

1.23.3

💻 Operating System and Arch

Ubuntu 20.04 amd64

🌐 Browser

Firefox 119.0

🐋 Docker Version

24.0.7

🟩 NodeJS Version

No response

📝 Relevant log output

No response

Originally created by @exterrestris on GitHub (Nov 9, 2023). ### ⚠️ Please verify that this bug has NOT been raised before. - [X] I checked and didn't find similar issue ### 🛡️ Security Policy - [X] I agree to have read this project [Security Policy](https://github.com/louislam/uptime-kuma/security/policy) ### Description Services that were down before maintenance mode was enabled do not send 'up' notifications if up when maintenance mode disabled ### 👟 Reproduction steps 1. Have monitored service go down 2. Enable maintenance mode 3. Bring service up 4. Disable maintenance mode ### 👀 Expected behavior Notification that service was up when maintenance mode ends ### 😓 Actual Behavior No notification sent ### 🐻 Uptime-Kuma Version 1.23.3 ### 💻 Operating System and Arch Ubuntu 20.04 amd64 ### 🌐 Browser Firefox 119.0 ### 🐋 Docker Version 24.0.7 ### 🟩 NodeJS Version _No response_ ### 📝 Relevant log output _No response_
Author
Owner

@CommanderStorm commented on GitHub (Nov 10, 2023):

I would not consider this a bug, more a consequence of what maintance mode is: essentially a notification pause
=> no notifications will get through
=> a up notification should also not get through if triggered during the maintenance mode

@CommanderStorm commented on GitHub (Nov 10, 2023): I would not consider this a bug, more a consequence of what maintance mode is: essentially a notification pause => no notifications will get through => a up notification should also not get through if triggered during the maintenance mode
Author
Owner

@exterrestris commented on GitHub (Nov 10, 2023):

Maintenance mode behaves as a pause in checking monitors (since there are no metrics recorded for the monitor whilst under maintenance) - that notifications are also paused is a side effect of that. Given that, I think expecting a notification if the state is different when maintenance mode ends to when the last notification was sent is entirely reasonable

@exterrestris commented on GitHub (Nov 10, 2023): Maintenance mode behaves as a pause in checking monitors (since there are no metrics recorded for the monitor whilst under maintenance) - that notifications are also paused is a side effect of that. Given that, I think expecting a notification if the state is different when maintenance mode ends to when the last notification was sent is entirely reasonable
Author
Owner

@enigmaoftech commented on GitHub (May 7, 2024):

Is there a way to send a notification out for planned maintenance? If not this would be nice to alert a group/channel.

@enigmaoftech commented on GitHub (May 7, 2024): Is there a way to send a notification out for planned maintenance? If not this would be nice to alert a group/channel.
Author
Owner

@CommanderStorm commented on GitHub (May 7, 2024):

@enigmaoftech this is tracked in #2462

@CommanderStorm commented on GitHub (May 7, 2024): @enigmaoftech this is tracked in #2462
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/uptime-kuma#2766
No description provided.