I think it would be good that I can notify my users about maintenance.
I have some services with assigned email addresses. For example, XYZ site with customer_xyz email address. I plan to upgrade server or something like that, therefore I would like to define a maintenance window, 6:00 am - 7:00 am. I would send an email about maintenance and statup would use that maintenance window somehow. For example, it says, maintenance from 6:00 am to 7:00 am.
What do you think?
Thanks again @asrob , I do want to implement this type of feature, but a couple things will have to come first.
maintenance to database (with timeframes of when to send)I'll keep this issue open while this feature is being built out. 馃帀
This feature is must have.
You really need a separate service to serve maintenance messages to interested parties including any end-user visible frontend. In my case, I have web application consisting of several sub-services, one of which is frontend, which is SPA and is never down. It currently shows maintenance banners (among others) but in advance of maintenance window. Since backend keeps the banner messages, and it may be down during the maintenance, frontend may not show this message during the maintenance window. Serving maintenance messages naturally fits the sentinel service like statup and should be agnostic.
This use case is somewhat different from what @asrob proposed but sending email to service owners and showing message to interested parties are just 2 different interfaces to the same problem.
I propose new API endpoints to set/get/stop/action maintenance messages plus adding services metadata.
email./api/maintenance/status I get two things: a message and true/false depending on where we are in the maintenance.Allow users to register & un-register for Statup updates. (include easy unsubscribe)
This is relevant only for emails, and I think most people could live with this or create email filters.
Hey all, this feature seems like a hit. Thank you for writing detailed info. I've started the process and it's already made some progress. I will update this comment with a checklist of todo's about the progress. This feature is currently implemented in version 0.79.4+
/api/messages routes for viewing, creating, editing, deleting messages.If i have automatic planed maintenance every day in the same time (well-known time) (service always is down during this period - is normal), how can I instruct the StatPing to does not send me alert during the known maintenance period ?
Any options per service ?
This issue hasn't had any updates in a while. If this is still a problem, please create a new issue.
Most helpful comment
Thanks again @asrob , I do want to implement this type of feature, but a couple things will have to come first.
maintenanceto database (with timeframes of when to send)I'll keep this issue open while this feature is being built out. 馃帀