Introducing a new way to review your PRs.

Read the announcement

combodo / itop

A simple, web based CMDB & IT Service Management tool

View on GitHub

17 documents · Updated Nov 20, 2026

overview

Knowledge Base updated: 2026-11-19

iTop knowledge base

Orientation

iTop is a PHP-based IT service management and CMDB application. Its core layer provides the meta-model, object persistence, query execution, runtime configuration, and extension mechanisms used by packaged modules.

The datamodels/2.x/ modules define the managed-domain model: ITIL processes, tickets, configuration items, organizations, portals, authentication, and optional capabilities. Data is persisted through the CMDB object layer and accessed through OQL and database abstractions.

Back-office and portal requests enter through PHP entrypoints and page controllers. Rendering combines web-page services, Twig/templates, Ajax endpoints, and reusable UI components; application-level HTTP DTOs provide endpoint request and response contracts.

Critical runtime state is split between the database-backed CMDB, configuration and compiled data-model artifacts, PHP session/user context, module metadata, and asynchronous/cron execution state.

flowchart TD
  Browser[Back-office / Portal browser] --> Entry[PHP entrypoints]
  Entry --> Routing[Controllers and routing]
  Routing --> UI[Web pages, Twig, Ajax UI]
  Routing --> HTTP[HTTP request contracts]
  Routing --> Identity[Identity and user state]
  UI --> Search[Search, dashboards and news]
  Routing --> Core[Core runtime and MetaModel]
  Core --> CMDB[CMDB object layer]
  CMDB --> OQL[OQL and query services]
  OQL --> DB[(iTop database)]
  Core --> Modules[Versioned datamodel modules]
  Modules --> CMDB
  Core --> Extensions[Modules, plugins and extensions]
  Extensions --> Integration[APIs, imports and synchronization]
  Integration --> Background[Cron, async work and notifications]
  Background --> DB

Glossary

  • CMDB: iTop's database-backed model of managed objects and their relationships.
  • MetaModel: the runtime description of classes, attributes, relations, and module-provided model definitions.
  • OQL: Object Query Language used to select CMDB objects.
  • Data model module: a versioned package under datamodels/2.x/ that contributes classes, UI behavior, and domain capabilities.
  • iTop web page: the server-side page abstraction used by back-office and portal entrypoints to build responses.

Codebase-wide invariants

  • CMDB class and attribute behavior must remain consistent with the metadata definitions in core/datamodel.core.xml and the runtime interpretation in core/metamodel.class.php.
  • Persistent object changes flow through the core object layer (core/dbobject.class.php); callers must not bypass its lifecycle and validation semantics.
  • Datamodel modules under datamodels/2.x/** extend the shared MetaModel rather than defining an independent persistence model.
  • Endpoint validation failures use the application HTTP request/response abstractions and Ajax entrypoint conventions, including pages/ajax.render.php where applicable.
  • Module and extension startup must remain compatible with core runtime discovery and configuration conventions in core/**.

Routing table