How icanskk9/mikrotik-hotspot-monitoring works
Mikhmon is a PHP web application for administering MikroTik hotspot vouchers and monitoring network devices, with additional PPPoE, traffic, reporting, and router-configuration capabilities. The principal workflow is an administrator opening a routed page, which reads or changes router state through the RouterOS API and presents the result. The graph groups the main product areas and shared configuration/API layer. Several capabilities are documented but their implementation was not sampled; those links are marked unverified.
Main entry points: index.php Mikhmon Router · vpreview.php Voucher Templates · routeros_api.class.php RouterOS API Client · readcfg.php Session Configuration
Components 19
Application
- Mikhmon Router
mikhmon/index.php - Dashboard
mikhmon/dashboard/home.php
Hotspot Management
- Hotspot Users
mikhmon/hotspot/users.php - Voucher Generation
mikhmon/hotspot/generateuser.php - Voucher Templates
mikhmon/voucher/vpreview.php - Active Sessions
mikhmon/hotspot/hotspotactive.php - Hotspot Logs
mikhmon/hotspot/log.php
Network Operations
- IP Addresses
mikhmon/ip/addresses.php - Hotspot Setup
mikhmon/ip/hotspot_setup.php - PPPoE Management
mikhmon/ppp - Device Monitoring
mikhmon/status/index.php
Monitoring & Reports
- Live Traffic
mikhmon/traffic - Sales Reports
mikhmon/report/selling.php - User Activity Report
mikhmon/report/userlog.php
Shared Runtime
- Session Configuration
mikhmon/include/readcfg.php - RouterOS API Client
mikhmon/lib/routeros_api.class.php - Data Formatting
mikhmon/lib/formatbytesbites.php
Other components
- Administrator
- MikroTik Router
Connections 22
- Administrator → Mikhmon Router: opens
- Mikhmon Router → Dashboard: routes to
mikhmon/index.php - Mikhmon Router → Hotspot Users: routes to
mikhmon/index.php - Mikhmon Router → Voucher Generation: routes to
mikhmon/index.php - Mikhmon Router → Hotspot Logs: routes to
mikhmon/index.php - Mikhmon Router → IP Addresses: routes to
mikhmon/index.php - Mikhmon Router → Hotspot Setup: routes to
mikhmon/index.php - Mikhmon Router → User Activity Report: routes to
mikhmon/index.php - Mikhmon Router → Session Configuration: loads
mikhmon/index.php - Active Sessions → Session Configuration: loads
mikhmon/hotspot/hotspotactive.php - Active Sessions → RouterOS API Client: uses
mikhmon/hotspot/hotspotactive.php - Device Monitoring → RouterOS API Client: uses
mikhmon/status/index.php - Device Monitoring → Data Formatting: formats with
mikhmon/status/index.php - Hotspot Setup → MikroTik Router: configures
mikhmon/ip/hotspot_setup.php - RouterOS API Client → MikroTik Router: communicates with
mikhmon/lib/routeros_api.class.php - Voucher Templates → Session Configuration: loads
mikhmon/voucher/vpreview.php - Voucher Templates → Data Formatting: formats with
mikhmon/voucher/vpreview.php - Voucher Templates → MikroTik Router: prints voucher data
- Dashboard → MikroTik Router: monitors
- PPPoE Management → MikroTik Router: manages
- Live Traffic → MikroTik Router: monitors
- Sales Reports → MikroTik Router: reports on