How opendcim/opendcim works
openDCIM is a web-based data-center infrastructure inventory and management system. Users browse and maintain facilities and equipment through PHP pages or the v1 API; domain classes provide inventory operations, while reports and monitoring expose operational data. Its documented product scope includes SNMP-based device monitoring, and the source tree also contains power, sensor, virtualization, and authentication features. The excerpts show selected page, API, and SNMP relationships; many other capabilities are represented by their exact tree paths, but their internal wiring was not sampled.
Main entry points: SNMP.php SNMP query engine · storageroom.php Management pages · getRoutes.php REST API routes · Device.class.php Device inventory
Components 19
Web and API
- Management pages
storageroom.php - REST API routes
api/v1/getRoutes.php - Application bootstrap
facilities.inc.php
Inventory and Facilities
- Device inventory
classes/Device.class.php - Facility records
classes/DataCenter.class.php - Cabinet inventory
classes/Cabinet.class.php - Device templates
classes/DeviceTemplate.class.php - Port connections
classes/MediaConnectors.php
Operations
- Power infrastructure
classes/PowerDistribution.class.php - Sensor readings
classes/SensorReadings.class.php - Virtual machines
classes/VM.class.php - Reports and exports
report_sensors.php
SNMP Monitoring
- SNMP query engine
OSS_SNMP/SNMP.php - Vendor platforms
OSS_SNMP/Platform.php - Vendor MIB modules
OSS_SNMP/MIBS - SNMP cache
OSS_SNMP/Cache/Basic.php
Other components
- Data-center user
- MySQL database
- Managed equipment
Connections 13
- Data-center user → Management pages: uses
README.md - Data-center user → REST API routes: calls
README.md - Management pages → Device inventory: lists and disposes
storageroom.php - Management pages → Facility records: loads facility
storageroom.php - REST API routes → Device inventory: queries
api/v1/getRoutes.php - REST API routes → Port connections: updates
api/v1/getRoutes.php - Port connections → MySQL database: reads and writes
classes/MediaConnectors.php - Application bootstrap → SNMP query engine: loads when available
facilities.inc.php - SNMP query engine → SNMP cache: loads and stores
OSS_SNMP/SNMP.php - SNMP query engine → Vendor platforms: creates platform
OSS_SNMP/SNMP.php - Vendor platforms → Vendor MIB modules: selects vendor modules
- SNMP query engine → Managed equipment: queries
OSS_SNMP/SNMP.php - Reports and exports → Device inventory: reports inventory