Hi Kamoj,
First of all, thank you for the great work with this add-on (and OpenVPN and other improvements)!
I've installed the add-on today and it looks ok (in FHD resolution there is no need for scroll bars), with information about wla/wl_channel being accurate.
One question related to the information within the brackets at CPU Load: are these the "Load average" data that you can see in "top" (/proc/loadavg), or something else? I have a difference between them:
debug.htm: CPU Load 2.0% ( 4.0% 0.0% )
and
$ cat /proc/loadavg
5.01 5.03 5.05 1/175 28667
If you don't use the /proc/loadavg, please consider doing so. You can display short labels for these numbers according to the documentation of loadavg (so people will not need to google for it), and if the PID of last used process still exists, you can bring also details about that one (from cat /proc/{pid}/cmdline ). For me it has more relevance the load average for last 5 & 10 minutes than the instant CPU usage, as normally any performance issue is treated as a momentary glitch for the first minutes
, and after that people start to check and investigate what/where is the problem (especially if auto-healing is disabled and the problem don't disappear by itself).
Other suggestion for basic information that can be added:
- status of physical network ports (connected, speed, duplex) - as I've faced the challenge to find out if the provider equipment was really connected to 1000Mbps or just to 100Mbps (thanks to Voxel, ethtool is included in the firmware)
- information about USB storage attached (df, partitions list & type, other critical information you find useful)
- OpenVPN server status (next to/similar with how the OpenVPN client info is presented)
- content of Entware crontab or even nicer (and more complicated to develop):
-- a small scheduler interface with most common tasks to be performed by the router, like: reboot, update of Up/Down bandwidth (Speedtest) for QoS, update of Performance Optimization DB, backup to a NFS - with default file/folders list (included and/or excluded) that can be changed by the user
- option to wake-on-lan devices that has a DHCP reservation (or with a manually entered MAC address for people with masochistic tendencies)
- option to eject USB storage, with confirmation that eject was successfully (or if not, with the error message)
I have some ideas about how you can fill-up the white space on the right-side, but this might not be so simple:
- if USB storage is attached (and rrd libs from Entware are installed), to have the option to record a smoke ping graph data (towards default gateway or whatever manually entered host), and to display it on the debug page. Nice to have the possibility to define more than 1 target for smoke ping, you can monitor the RTT towards the provider, but also to some internal machines. If you are not familiar with smoke ping, you can see details
here.
- by the same logic (rrd from Entware), you can record also CPU, load average, temps, bandwidth utilization, etc. and integrate the graphs into the debug.htm instead installing lighttpd-mod-rrdtool and view them separately (oh, yeah, and configure them correctly
).
I'm looking forward for the next versions & add-ons for R7800, so keep up the good work!
Thank you very much!