[dev.icinga.com #1524] status totals are wrong when searching #630
Comments
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 ricardo on 2011-12-16 21:52:17 +00:00
in current rbartels/cgi please test!!! 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 19:02:49 +00:00
Added note to changes in Changelog |
Updated by mfriedrich on 2014-12-08 09:42:14 +00:00
|
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
Assignee: ricardo
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)
When a search is done, the totals in status.cgi are all wrong, all numbers are 0, regardless of what is searched for.
Attachments
Changesets
2011-12-16 21:45:50 +00:00 by ricardo 061f17a
2012-01-02 23:28:09 +00:00 by ricardo 6c8e32b
2012-03-20 21:30:20 +00:00 by ricardo 4c10618
2012-04-05 23:26:56 +00:00 by ricardo 972e7a3
2012-04-13 18:48:07 +00:00 by ricardo 7b9ec5b
Relations:
The text was updated successfully, but these errors were encountered: