A web-based PHP application designed for fiber network technicians to query real-time data from ONUs connected to Huawei MA5800 OLTs using SNMP and PostgreSQL.
- SNMP queries to Huawei MA5800 OLTs:
- β Return Power
- β Reception Power
- β Last Connection Time
- β Online/Offline Status
- β Current Internet Plan
- Modern and responsive UI (HTML + CSS + Material Icons)
- PostgreSQL integration for ONU lookup by DNI/RUC
- Power values color-coded by signal strength
- Displays SNMP command used for easy copy and reuse
- PHP 7+
- PostgreSQL
- SNMP (v2c)
- HTML5 / CSS3 / JavaScript
- Google Material Icons
- Set database credentials in
conectarDB()
function. - Ensure SNMP is enabled on your server and Huawei OLTs.
snmpget
andsnmpwalk
must be installed and accessible on the server.
- Apache/Nginx web server
- PHP SNMP extension enabled
- Management network access to Huawei OLTs
- SNMP read permission on OLTs (default community:
FiberPro2021
)
- Enter clientβs DNI or RUC.
- Select an SNMP query (e.g., power, status).
- View real-time results and copy the SNMP command if needed.
- OIDs are specific to Huawei MA5800 OLTs.
- To adapt for other models or ISPs, update the OLT-to-IP mapping and OID list.
This project is licensed under the MIT License.