Bug #2179

Instances cronk display empty - error "Couldn't find class oc"

Added by ralfk over 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:12/12/2011
Priority:NormalDue date:
Assignee:jmosshammer% Done:

100%

Category:-
Target version:Icinga 1.x - 1.6.2
Icinga Version: DB Type:
Icinga Web Version: DB Version:
IDO Version: Browser Version:
OS Version:

Description

The Instances cronk does not show anything. I get the following error in debug file:

[Mon Dec 12 14:29:00 2011] [error] Fetch failed with message Couldn't find class oc
 Query: (No query created) 
TargetStore info (IcingaApiModel): 
                 - Store target: IcingaInstances
                 - Searchtype:

Important: I am pretty sure that this only happens under following conditions:

  • The web GUI user is not member of all host and service definitions (1) AND
  • "Only show items that contain a contact with this name in their contactgroup definitions" is enabled. (2)

If the user is member of all items the instance is displayed. If the definitions option (2) is disabled then it's also okay.

Maybe related to Bug #2178 which also occurs only under those conditions.

-------------------------------
My system:
Icinga 1.6.1, Icinga Web 1.6.0, Linux 64 bit, MySQL 5.1.53

No of hosts: 350
No of services: 2500
No of hostgroups: 46
No of servicegroups: 47

Associated revisions

Revision 53c5ff67
Added by jmosshammer about 2 years ago

  • Added contact definitions to instances (fixes #2179)

History

#1 Updated by mhein over 2 years ago

  • Assignee set to jmosshammer
  • Target version set to 1.7

#2 Updated by mhein about 2 years ago

  • Target version changed from 1.7 to 1.6.2

#3 Updated by jmosshammer about 2 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

#4 Updated by ralfk almost 2 years ago

I can confirm that this bug is solved after I updated to 1.7.0.

Also available in: Atom PDF