This issue has been migrated from Redmine: https://dev.icinga.com/issues/1524
Created by Anonymous on 2011-05-16 11:36:35 +00:00
Status: Resolved (closed on 2012-04-13 19:02:49 +00:00)
Target Version: 1.7
Last Update: 2014-12-08 09:42:14 +00:00 (in Redmine)
Icinga Version: 1.10.0
OS Version: any
When a search is done, the totals in status.cgi are all wrong, all numbers are 0, regardless of what is searched for.
2011-12-16 21:45:50 +00:00 by ricardo 061f17a
classic ui: Fixed status totals are wrong when searching #1524
Changed order of data processing. Status gets filtered and at the
same time the status totals are counted. In this way from now on
the numbers schould be correct.
2012-01-02 23:28:09 +00:00 by ricardo 6c8e32b
classic ui: Added multiple hosts/services to status.cgi GET #1981
This is pretty much a rewrite of status.cgi.
* you can define more then one object to display
** same with host groups and service groups
* hostgroup=all now only shows which are in host groups
* host sorting is working now
* added 2 new cgi vars
** sortobject = determine if to sort host or service list (host_service_view)
** allunhandledproblems = to display ALL unhanded problems
* fixed and reorganized the links in status totals
* searching returns more then one host/service group if group name matches
* combined Host/Service view now properly supported
* code cleanup
* more little fixes and enhancements
2012-03-20 21:30:20 +00:00 by ricardo 4c10618
classic-ui: added service / host properties to links in status totals
* now serviceprops and hostprops are added to links in status totals if they were set in the request
* let's see how this is doing
2012-04-05 23:26:56 +00:00 by ricardo 972e7a3
classi-ui: fixed performance issues and other problems in status.cgi
* displaying of host and service group should be much faster now
compared to the speed aftere the "big rewrite"
* fixed filtering for servicegroups
* fixed problem with wrong error message when filters are set
2012-04-13 18:48:07 +00:00 by ricardo 7b9ec5b
classic-ui: updated Changelog CHANGES section
hope the "changes" section for classic ui isn't tooo long
Updated by mfriedrich on 2011-05-24 14:26:53 +00:00
Updated by mfriedrich on 2011-07-16 11:39:36 +00:00
this is introduced when using host filters (precompiled regexes) and the asterisk for searching. search is returning only the first result by default, where the counting of the host and service totals is correct.
in order to fight the error, one might rewrite the search completely, and even if using regex, doing the counts for the status totals right in place (global variable instead of extra counting!).
this relates to #844
Updated by mfriedrich on 2011-10-20 09:37:00 +00:00
Updated by ricardo on 2011-11-05 16:40:14 +00:00
Just wanted to know what these counters should represent. because sometimes they counted ALL hosts and services and sometimes just the ones which are displayed.
As we now have the TAC header I think it would make sense just to display the counts for the hosts and services which are displayed.
What do you think?
Updated by mfriedrich on 2011-11-15 09:42:02 +00:00
basically, those counts do the following
the counts mostly did not happen correctly due to the navbarsearch filter not being honored when counting. having rewritten that, i think they would remain "self corrected" now by fixing #844
Updated by mfriedrich on 2011-11-15 09:45:16 +00:00
ok, apparently they are not matching completely, see the differences on the unreachable count...
Updated by ricardo on 2011-12-16 21:52:17 +00:00
in current rbartels/cgi
can't guarantee that all display_styles are displayed correctly, so please TEST!!!
Updated by mfriedrich on 2012-04-03 13:28:41 +00:00
from my perspective this looks find for now. but still, that anag discussion thingy should match it too.
status totals should contain
as now implemented.
Updated by ricardo on 2012-04-13 14:25:02 +00:00
Hope people understand the way it works now.
For example: If you display all hostgroups, it only shows the status for all hostgroups, not for host's which aren't in any hostgroup. The same with servicegroups.
example for all hostgroups (4 hosts), filtered for services in unknown state
Updated by ricardo on 2012-04-13 19:02:49 +00:00
Added note to changes in Changelog
Updated by mfriedrich on 2014-12-08 09:42:14 +00:00