Bug #2179

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

Added by ralfk almost 5 years ago. Updated over 4 years ago.

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


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


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 almost 5 years ago

  • Added contact definitions to instances (fixes #2179)


#1 Updated by mhein almost 5 years ago

  • Assignee set to jmosshammer
  • Target version set to 1.7

#2 Updated by mhein almost 5 years ago

  • Target version changed from 1.7 to 1.6.2

#3 Updated by jmosshammer almost 5 years ago

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

#4 Updated by ralfk over 4 years ago

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

Also available in: Atom PDF