skip to content

We no longer use this web-interface. It is provided here for anyone who may find it useful.

FAI can log progress of client installations through faimond. The usual way of monitoring this logfile is with faimond-gui. Some people might prefer a web-interface, which is why we wrote one.

Thumbnail screenshot of the web-frontend

How to install it?

Get the mon.php file (you'll need to rename it, sorry). There are a couple of places you might want to change things:

  • $filename='/var/log/faimond.log';

    [line 3] - your faimond might log elsewhere.

  • $n=(array_key_exists('rows',$_REQUEST)?0+$_REQUEST['rows']:60);

    [line 4] - that 60 represents the initial number of rows to list from your logfile. You might prefer more.

  • $url='https://INFOSERVER/?HOST='.$host;

    [line 70] - I think you'll need to change that if you want the links to take you somewhere sensible.

You'll also want the CSS to make it look pretty and some images - I symlink to files in the oxygen icon set with:

lrwxrwxrwx 1 root root  34 Jul 15 13:31 arrow.png -> ./icon-style/actions/edit-redo.png
lrwxrwxrwx 1 root root  34 Jul 15 12:59 blank.png -> /usr/share/apache2/icons/blank.png
lrwxrwxrwx 1 root root  38 Jul 15 13:36 cancel.png -> ./icon-style/actions/dialog-cancel.png
lrwxrwxrwx 1 root root  37 Jul 15 13:27 cross.png -> ./icon-style/actions/window-close.png
-rw-r--r-- 1 root root 453 Jul 15 13:37 fai.css
lrwxrwxrwx 1 root root  34 Jul 15 13:29 hook.png -> ./icon-style/actions/run-build.png
lrwxrwxrwx 1 root root  30 Jul 15 13:27 icon-style -> /usr/share/icons/oxygen/32x32/
lrwxrwxrwx 1 root root  43 Jul 15 13:27 skip.png -> ./icon-style/actions/arrow-right-double.png
lrwxrwxrwx 1 root root  36 Jul 15 13:28 tick.png -> ./icon-style/actions/arrow-right.png

Can't find what you're looking for?

Then you might find our A-Z site index useful. Or, you can search the site using the box at the top of the page, or by clicking here.