|
Description
ashPanel is a modular set of ash +
haserl scripts with
the objective of showing system/network information over the web
in an intuitive way. It is a one-page panel that is generated periodically
resulting in a HTML file that can be served by any httpd.
Although ashPanel was written to be run by Busybox
(both shell and coreutils),
it also works with bash and the GNU coreutils
(probably with others too).
ashPanel can run both in desktop computers and embedded devices (see Tested on).
|
Author
License
Installation
First off, make sure /bin/sh is, or links to, a valid shell (see Description)
Required commands: awk, grep, egrep, cut, sed, tail, head, echo, cat, mount, ifconfig, wc, and some other standard unix commands.
Busybox is not needed.
ashPanel doesn't need to be installed in any particular path, just remember that all the contents of the web
directory should be placed in the same directory that will contain the output HTML.
If you're not using images ($useImg is 0), the img sub-directory is not needed.
Now, modify config.sh according to your system, it's fairly well commented.
genpage.sh should be executed to generate the HTML output, the system cron can be configured to do this periodically.
Use
# crontab -e
to add the following line to root's crontab:
*/5 * * * * /path/to/ashpanel/genpage.sh
This will regenerate the page every 5 minutes.
|
Tested on
| System |
Arch |
Distro |
Linux |
HTTPd |
CoreUtils |
Haserl |
| PC |
x86_64 |
Gentoo |
2.6.18-gentoo |
Busybox 1.2.2 |
GNU 6.7-r1 |
0.9.16 |
| PC |
x86 |
Debian Etch |
2.6.18 |
Lighttpd 1.4.13 |
GNU 5.97-r1 |
0.8.0 |
| Router wrt54gl |
mips |
OpenWRT 0.9 |
2.4.30 |
Busybox 1.00 |
Busybox 1.00 |
0.8.0 |
| PDA rx3715 |
arm v4 |
Familiar Minidistro |
2.6.19-hh1 |
Busybox 1.00 |
Busybox 1.00 |
0.9.16 |
| Click on each system for an output example |
|
Download
|