Renders a full-page AdminLTE server status dashboard populated from a live server state data dictionary, including CPU, uptime, network, disk, drive I/O, and open port information.
ServerState — set as ReportType in def_report.
def Render(self, data, Param2="", Param3="") -> str:
data — a dictionary of server metrics, typically collected by a monitoring service. Expected keys:
| Key | Description |
|---|---|
cpucount |
Number of CPU cores |
uptime |
Uptime in seconds (converted to hours) |
ip, host, os, kernel, distribution, git |
System identity fields |
isp_isp, isp_city, isp_download, isp_upload, isp_ping |
Network/ISP info |
disks |
List of disk dicts (mount, filesystem, drive_free, drive_percent) |
drives |
List of drive I/O dicts (device, read_count, write_count, read_bytes, write_bytes) |
ports |
Dict with a status list of {port, port_status} entries |
Returns a complete <!DOCTYPE html> document using the AdminLTE 3.1 theme.
self.read_template_from_yaml('template').ObjReportAdminLte.Report rather than directly from ObjData.drive_free and I/O byte values are displayed in MiB (divided by 1024²).isp_download and isp_upload are displayed in Mbps (divided by 10⁶).