Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #992] maintenance-mode for servers #451
This issue has been migrated from Redmine: https://dev.icinga.com/issues/992
Created by dklueh on 2010-11-11 06:38:30 +00:00
maintenance-mode for servers and/or services which is conscious and well planned down.
See pictures below- anything like this would be reasonable.
2011-06-03 06:08:04 +00:00 by (unknown) 56cf27e
Updated by dklueh on 2010-11-16 09:53:42 +00:00
Yes, this would be nice- if a scheduled downtime would be shown as maintenance.
Updated by dklueh on 2010-11-16 12:05:44 +00:00
Yes- this would be a nice integration!
Updated by mjbrooks on 2011-05-10 08:38:11 +00:00
dklueh thanks for being patient. I can see this has been aging a bit.
On reading through it again, #421 includes change request regarding calculating service availability for SLAs. Which makes that more of a two part issue and since anything affecting availability data or reporting should be considered carefully, it would be something that needs to be discussed a lot more.
This one (and the first part of #421) is just straight up display.
I hope I'm not stepping on your feet here by jumping in ricardo, but I didn't catch you around today and I was able to quickly put something together for you to look at. As soon as I finalize a few things, do a few checks and clean up my commits, I'll push it onto a topic branch.
Couple of points:
It'll be opt-in (off by default in cgi.cfg)
I'm going with gray by default (changeable via CSS). Gray for pending and for maintenance could then be seen by people to mean "Icinga won't say it's up or down either because it doesn't have the info or it was told not to"
Other than the extinfo where it says MAINTENANCE, I'm leaving the display of the reported state. I think it's useful to see the state rather than hide it so you know where things will be at when it comes out of maintenance and so you can use it as a tool while working on the host/service in question.
Although it says MAINTENANCE, I haven't created a new state... perhaps that is taboo or it might be preferred to only do that for the SLA part mentioned in the other ticket?
Any thoughts on my approach or the pretty pictures are appreciated.
Updated by mjbrooks on 2011-06-03 06:24:42 +00:00
Just pushed to mbrooks/cgis in git. Redmine should pick it up whenever it wakes up.
@dnsmichi FYI, I checked this against rbartels/cgi-current just to be safe and it merges with his branch cleanly.
@dklueh Let me know if this works for you.
Updated by mfriedrich on 2011-06-04 14:58:17 +00:00
good all recent cgi changes are merged into mfriedrich/cgis while i am touching the core in my normal branch. i've only checked ricardo's changes, the other ones are opt-in so i'd have to check manually then when it comes to 1.5 target (right on is 1.4.1).
Updated by mjbrooks on 2011-06-06 09:55:15 +00:00
It won't be in master until after 1.4.1 is released soon.
Until then, you can check it out directly or checkout my whole branch which only has one other feature after it having to do with showing partial hostgroups:
$ git checkout 56cf27e
$ git checkout origin/mbrooks/cgis
Updated by mfriedrich on 2011-06-06 10:41:23 +00:00
it's been merged into test/cgis
Updated by dklueh on 2011-06-06 11:46:34 +00:00
No, only the views Host and Service Detail show the grey color- in StatusMap it's green and up- not showing maintenance... is there another parameter but suppress_maintenance_downtime=1 i have to set?
Updated by mjbrooks on 2011-06-15 07:25:38 +00:00
Well, it should say "Up" as I didn't want to hide the state because it's useful information.
I don't remember which part it is off the top of my head, but there is some additional CSS entries that do some of the grey coloring. Did you "make install-html" as well?
Updated by mfriedrich on 2011-07-17 10:04:27 +00:00
i think it's somehow a redmine permission problem. take it on for mumble to organize the manager parts of each subproject better. i've now granted you manager priviliegues on the classic ui project.