[dev.icinga.com #2018] make nostatusheader in status.cgi a config option #765
Comments
Updated by mfriedrich on 2011-10-17 13:15:59 +00:00
the status header is not fully disabled, it's just &nostatusheader as GET param within the url, embedding it into the new tac header interface. if you intend to propose more filters for it, feel free. but the hidden status totals is intended for smaller displays, adding more space for the important information. |
Updated by stku on 2011-10-17 13:29:25 +00:00 To change it in menue.html it is not a problem but also in the cgi's the &nostatusheader is set. To enable it I have to recompile the cgi's. To have a smaller header I think it will be better to do it like the Display Filters with the small '+'. |
Updated by mjbrooks on 2011-10-26 07:29:13 +00:00 The new TAC Header doesn't take any more space than what was taken by the empty graphic section it replaced, so I'm not sure how the concern for space came about. The interface tests fine on 1024x768 with the statusheader. Since 1024x768 is today's current standard benchmark for designing web pages, anyone who is trying to use Icinga on less than that should probably focus on dealing with their lack of having hardware that could be had for a dime a dozen even as far back as the 1990s. That said, the TAC Header is meant to give a global view of things so if you happen to be looking at some detail somewhere you can still see a new event come in, but it isn't a replacement for the statusheader which as I recall, break things down nicely by service and host groups. dnsmichi: I'm not sure what you mean by "embedding it into the new tac header interface". The tac header is descended from tac.cgi and knows nothing of status.cgi or of the existence or state of &nostatusheader status.cgi takes. We shouldn't sacrifice giving everyone this very important finer view because a handful of people can't/won't upgrade their monitor to at least 1024x768. At least that's my $0.02. Commit ef5555d should probably not have happened or at the very least been designed to depend on a cgi.cfg option or as stku said, have it collapsed and expandable like how the display filters work. |
Updated by mfriedrich on 2011-10-26 09:34:41 +00:00 mjbrooks wrote:
the discussion is not about the new tac header. it's about the removal of the now unnecessary "host|service status totals" on every cgi page - at least in the opinion of myself and my co-workers. embedding a cgi into the current frameset (with tac header and menu html) just would give you duplicated information at the cost of at least 5 lines of html (if the display_info_table would have stayed the same and was not cut by myself too).
sure it doesn't. but it creates an overview which is basically the same, but calculated in a different position in the code. so this is made a duplicate in my opinion, when using the frameset.
actually this "finer" view has a lot of bugs, i.e. searching with a regular expression makes the counting 0. so until the bugs on the status totals are not fully resolved and give a proper correct view on the things happening, i don't see any reason to keep it here.
well actually it happened because i designed it that way, keeping up with the demands in the space problems. if you really see a problem with the nostatusheader being added within C code, then make it a config option so that all embedded urls in C code could be revoked to the old style. |
Updated by ricardo on 2011-11-05 16:35:54 +00:00
we should change this into a config option. after #1524 is fixed all status counts should be right. |
Updated by ricardo on 2011-12-16 22:24:57 +00:00
Added config option "display_status_totals" to cgi.cfg Please TEST!!! |
Updated by mfriedrich on 2011-12-17 01:08:05 +00:00 you can't drop nostatusheader as url GET option. this is being used by various people in production. you can still make this an empty string if ppl want to really disable its usage. |
Updated by ricardo on 2011-12-17 12:20:15 +00:00 Thanks for testing. fixed! |
Updated by mfriedrich on 2011-12-17 12:58:17 +00:00 hmmm where? i only see the exact same commit in git. |
Updated by ricardo on 2011-12-17 13:26:10 +00:00 have you tested it? nostatusheader still works!!1 |
Updated by mfriedrich on 2011-12-18 10:57:21 +00:00 no, i did not test it. i was just reading the git diffs until i get my test boxes again. |
Updated by mfriedrich on 2012-04-03 14:06:07 +00:00
setting display_status_totals=1 enables that, otherwise everything won't show the statustotals. |
Updated by ricardo on 2012-04-13 14:40:26 +00:00 should be ready to go |
Updated by ricardo on 2012-04-13 19:03:42 +00:00
Added note to changes in Changelog |
Updated by mfriedrich on 2014-12-08 09:32:49 +00:00
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2018
Created by stku on 2011-10-17 13:09:45 +00:00
Assignee: ricardo
Status: Resolved (closed on 2012-04-13 19:03:42 +00:00)
Target Version: 1.7
Last Update: 2014-12-08 09:32:49 +00:00 (in Redmine)
Hello, for my point it is not a good idea to disable statusheader in status.cgi. Without the statusheader I can not filter in my Host- and Servicegroups for Problems. With the new TAC Header I can only filter for all Problems not for Service- or Hostgroups. This function is very important for large installations to get a better overview.
Changesets
2011-12-17 12:16:51 +00:00 by ricardo 614c0c3
2012-01-02 23:28:09 +00:00 by ricardo 6c8e32b
2012-01-04 22:38:39 +00:00 by ricardo 9491141
2012-04-13 18:48:07 +00:00 by ricardo 7b9ec5b
Relations:
The text was updated successfully, but these errors were encountered: