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

Add new component status for ongoing maintenance (e.g. UNDER MAINTENANCE) #2051

Closed
stipx opened this issue Aug 12, 2016 · 28 comments
Closed
Assignees
Milestone

Comments

@stipx
Copy link

stipx commented Aug 12, 2016

During discussions in #2044 we came across the idea to add another status for components to be able to mark the component as "under maintenance". This would ease our maintenance workflow:

  • Schedule a maintenance
  • When maintenance is started set the status to "UNDER MAINTENANCE"
  • When maintenance is done reset the status

We're also creating incidents via a checking service and so we are able to skip incident creation when the component is under maintenance.

@jbrooksuk jbrooksuk self-assigned this Aug 12, 2016
@jbrooksuk
Copy link
Member

I think the way I'm going to handle this is to add a new status and at the same time make the status names configurable 💥

@jbrooksuk jbrooksuk added this to the V2.4.0 milestone Aug 15, 2016
@stipx
Copy link
Author

stipx commented Oct 4, 2016

Hi,
any news on this? We eagerly await this feature to get our workflow clean.

@jbrooksuk
Copy link
Member

@stipx I've rewritten the scheduled maintenance system today, but need to finish it off so that components can be modified too. Then we'll be there!

@jbrooksuk
Copy link
Member

Okay, so there won't be a new status specifically for this, instead the component status will be changed to say "Under maintenance" or whatever we decide on 👍

@jbrooksuk
Copy link
Member

All we need is a way of selecting affected components in the dashboard now.

@shaun-ba
Copy link

Look forward to this, also i noticed there was no way to set a specific component to "maintenance" which i thought was odd, so this will be a welcome feature.

@Hunterm267
Copy link

Really looking forward to custom status names, hope that feature can be included in a v2.4 release potentially as well as originally mentioned!

@niclasreich
Copy link

You can rename your status-names in /resources/lang/YOUR-LANGUAGE/cachet.php in line 17-20.

@stipx
Copy link
Author

stipx commented Jan 3, 2017

But I do not want to rename the status. I would like to have another one. The current states with "Operational", "Performance Issues", "Partial Outage" and "Major Outage" are all in use.

@jbrooksuk
Copy link
Member

Adding a new status is a little harder because we have validation in place.

@mikehayesuk
Copy link

Another vote for additional statuses. In our case we would like an "At Risk" status between "Operational" and "Performance Issues".

For example, when grid power has failed and switched to generators or any other part of the service is running on a failover system, the component would be considered "At Risk" of failure. Some may consider this a "partial outage" but as far as our customers are concerned, there is no outage, there is just a greater risk of an outage occurring than usual.

@jbrooksuk
Copy link
Member

@mhayes14 I see what you're saying... 🤔

@MarkL4YG
Copy link

Another vote for configurable statuses! Having them configurable gives you the freedom to have as many and name statuses as you want.

@julianschiavo
Copy link

+1 for more statuses and configurable names + colors!

@jbrooksuk
Copy link
Member

jbrooksuk commented Jul 17, 2017

Thoughts...

We'd setup default component and incident statuses within a configuring table:

id | name | slug | type | status_id
1 | Unknown | unknown | components | 0
2 | Operational | operational | components | 1
3 | Performance Issues | performance-issues | components | 2
4 | Partial Outage | partial-outage | components | 3
5 | Major Outage | major-outage | components | 4
6 | Investigating | investigating | incidents | 1
7 | Identified | identified | incidents | 2
8 | Watching | watching | incidents | 3
9 | Fixed | fixed | incidents | 4

This means incidents and components can have different statuses. We'd do this as part of the migration I guess, but it would default English versions.

We'd need a dashboard to manage these statuses too...

@MarkL4YG
Copy link

That's very interesting! Maybe also add a column for component coloring.
I'd love to test ;)

@jbrooksuk jbrooksuk mentioned this issue Jul 18, 2017
6 tasks
@phutchins
Copy link

Just started using Cachet and really need this feature added so that I can have a deprecated status. If we're moving a service out and it will no longer be available, we want to communicate that without having it look like its down by error.

@jbrooksuk
Copy link
Member

👍

It's being worked on @phutchins :)

@felipelalli
Copy link

+1

@phutchins
Copy link

phutchins commented Feb 8, 2018

Awesome! Thanks for the update!

@ghost
Copy link

ghost commented Jul 3, 2018

Just wanted to open a feature request for this.
It would be awesome to have this feature released with 2.4. It is also required to be able select components that will be affected by the maintenance work.

Thanks guys!

@jbrooksuk
Copy link
Member

I've been thinking about this a bit more.

Would it make sense that as soon as a scheduled maintenance becomes active, the component needs to simply change the status to "Under Maintenance"?

@jbrooksuk
Copy link
Member

The important thing here is that if a schedule attaches to a component, then it will always be under maintenance, it wouldn't be a choice.

@MarkL4YG
Copy link

MarkL4YG commented Jul 4, 2018

@jbrooksuk I would say that opening up the status implementation to allow more and customized statuses would be a more sophisticated though complicated approach.
One could a "set component status to:" field to the incident dialog be the incident planned or unplanned with the selected status becoming active with the incident.

@jlcd
Copy link

jlcd commented Dec 2, 2018

Is there any way, today, to add a single custom status without tweaking the code too much? Anyone done that?

@MarkL4YG
Copy link

MarkL4YG commented Dec 2, 2018

@jlcd Not that I am aware of. But you could just rename one of the predefined ones?
Otherwise, you could try to figure out how the statuses are implemented. Surely this will reveal how to add custom statuses atm.

@ReckerXF
Copy link

ReckerXF commented Nov 2, 2019

Any progress on this? @jbrooksuk

@jbrooksuk jbrooksuk modified the milestones: v2.4, v2.x Aug 12, 2023
@jbrooksuk
Copy link
Member

Thank you for your input on Cachet 2.x. We are shifting our attention and resources to Cachet 3.x and will no longer be supporting the 2.x version. If your feedback or issue is relevant to the 3.x series, we encourage you to engage with the new branch.

For more information on the Cachet rebuild and our plans for 3.x, you can read the announcement here.

We appreciate your understanding and look forward to your contributions to the new version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.