Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
[dev.icinga.com #2689] Servicegroup Summary page displays wrong totals under "Service Status Summary" #1007
This issue has been migrated from Redmine: https://dev.icinga.com/issues/2689
Created by ziesemer on 2012-06-14 20:16:17 +00:00
When viewing the "Servicegroup Summary" page (titled "Status Summary For All Service Groups") - the counts listed under "Host Status Summary" are correct, but not for "Service Status Summary". I.E., a box may show "20 OK", but clicking on it will only list 10 services (including "Results 1 - 10 of 10 Matching Services" displayed at the bottom).
This appears to be a bug in
The patch I am using is attached - which is modified to apply cleanly to the icinga-1.7.0 release.
Also please review the attached
This file contains a total of 8 services. This mimics 2 production environments, each with an application and database tier, each with 2 nodes each. There is one top-level service group to easily allow the entire environment to have its notifications disabled, downtime scheduled, etc. - assuming there are multiple other similar configurations on the same Icinga instance.
An unpatched Icinga instance current displays this as the following (incorrectly), showing both the host status summary count + service status summary count:
Note that there are 3 incorrect service counts here. There are only a total of 8 services defined, so
Note also that if I repeated the same configuration to exercise the host groups instead of the service groups, the host counts would be correct. This is because
Please advise if there is any other details I can provide to assist in resolving this issue.
(This problem also exists in Nagios, and has an issue report (by me) at http://tracker.nagios.org/view.php?id=343.)
2012-06-15 04:29:12 +00:00 by ricardo 14d8a63