System Management 2024

APC Switched Rack PDU Control Panel

PHP-based Control Panel for Multiple APC Switched Rack PDUs via SNMPv3

Duration

3 Weeks

Year

2024

Technologies

PHP 8 Bootstrap 5 SNMPv3 JavaScript HTML5 CSS3 Apache

The Challenge

In a datacenter environment, a central solution needed to be developed to efficiently manage multiple APC Switched Rack PDUs (Power Distribution Units). The challenge was to create a user-friendly web interface that allows remote power control and status monitoring of devices without having to access multiple separate interfaces.

The Solution

The solution was a central PHP-based control panel that communicates with multiple PDUs via SNMPv3. The system provides a unified interface with Bootstrap 5 design, Dark/Light mode support, and responsive layout. Each outlet can be controlled individually or all together (On/Off/Reboot). A modal popup allows renaming of PDUs.

Implementation

Implementation was done as a single-file PHP solution with direct SNMPv3 integration. The frontend was built with Bootstrap 5 providing tooltips, icons, and intuitive operation. Special focus was placed on error handling, security, and performance. The solution supports ASCII-based PDU names and offers comprehensive logging capabilities.

Results

A robust, production-ready control panel successfully deployed in datacenters. The solution significantly reduces management time and provides a central hub for power management. Tested with various APC PDU models (AP7920, AP7921, AP7920B, AP8965, APDU9965) and supports up to 24 outlets per PDU.

Key Features

Power Control

Individual and bulk outlet control (On/Off/Reboot)

SNMPv3 Security

Secure communication with authentication and privacy

Multi-PDU Support

Centralized management of multiple APC PDUs

Gallery

Source Code

This project is open source and available on GitHub. The single-file PHP solution includes comprehensive documentation, installation guides, and community contributions.

Features:
  • Single PHP file - no dependencies
  • Comprehensive PDU configuration guide
  • Tested with multiple APC models
  • Community tested: AP7920, AP7921, AP7920B, AP8965, APDU9965
View on GitHub
Star this project