Icinga / icinga-web

Icinga Web 1.x, the old new web interface (EOL 31.12.2018)
22 stars 11 forks source link

[dev.icinga.com #3269] Bad counter-values in cronk TO Hostgroup for a user with restriction (currrent gitmaster 9dc3..) #926

Closed icinga-migration closed 12 years ago

icinga-migration commented 12 years ago

This issue has been migrated from Redmine: https://dev.icinga.com/issues/3269

Created by ossmon on 2012-10-09 13:30:38 +00:00

Assignee: jmosshammer Status: Closed (closed on 2012-10-10 13:31:10 +00:00) Target Version: 1.8 Last Update: 2012-10-10 13:31:10 +00:00 (in Redmine)

Icinga Version: 1.7.0
Icinga Web Version: 1.8.0
IDO Version: 1.7.0
OS Version: RHEL6.1
DB Type: MySQL
DB Version: 5.1.61
Browser Version: Firefox 11.0

I've downloaded the actual git master today.

In the cronk "TO Hostgroup", the values for the counters are wrong if the user has restrictions in his profil (in this case with custom variables) .

When i am an admin, all is fine.

1) the counter for the hosts is the summary of the service counters (that's wrong). 2) the counter for the services are wrong. But when i click on the service counter (in the screenshot Services 10 OK for the Tivoli-Server group), then i open a new tab with the right count of services (2 OK in this case and not 10 OK).

Attachments

Changesets

2012-10-10 12:35:41 +00:00 by jmosshammer e47da5ea8faa64dd8b4b0e033736d79854c73065

Fixed credential issues and count problems in legacy api (fixes #3269)
icinga-migration commented 12 years ago

Updated by ossmon on 2012-10-09 13:31:10 +00:00

TacticalOverview-TOHostgroup-BadCounts.JPG

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-09 14:27:34 +00:00

please retry with the current head, I changed a few templates after the 9dc3.. commit

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-09 14:27:45 +00:00

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-09 14:36:16 +00:00

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-09 14:36:38 +00:00

icinga-migration commented 12 years ago

Updated by ossmon on 2012-10-10 09:16:56 +00:00

i've downloaded the git master (f571..) today. Bug is not corrected.

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-10 09:27:19 +00:00

icinga-migration commented 12 years ago

Updated by ossmon on 2012-10-10 09:47:56 +00:00

The same Problem exist in the cronk "Tactical Overview: TO Custom Variables". The values for the host counters are also wrong if the user hast custom variables restrictions.

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-10 12:37:34 +00:00

Hi,

I think I found the issue(s) leading to this bug, can you retry the current master.

icinga-migration commented 12 years ago

Updated by ossmon on 2012-10-10 13:27:10 +00:00

Very good ! it works now. Good Job ! Slowly the new release will be perfect :-)

icinga-migration commented 12 years ago

Updated by jmosshammer on 2012-10-10 13:31:10 +00:00

Hooray, thanks for testing the release!