Setup an FSG Info Page

From OpenFSG

Jump to: navigation, search

This How To describes setting up a web-page that provides a bunch of FSG specific status info.

Contents

Image:Mp_borderleft.png
Image:Mp_info.jpg Download FSG Info Page
Author: Dbeardsl
Version: 0.8.2 - July 06
Download: Fsginfo.zip
Changelog: Changelog
Image:Mp_borderleft.png
Image:Mp_info.jpg Download FSG Info Page
Author: Dbeardsl - adapted by JS
Version: 0.8.2b - March 08
Download: FSG Status 082 for 438.zip
Changelog: Changelog

Current Features

  • Live graph of Bandwidth (new)
  • IP Tables info (new)
  • Uptime and load averages
  • Current Temps and fan speed
    • "Resample" link that samples the temps 3 times and averages them
  • Hard drive usage, percent, remaining
  • Disk User Quota status
  • Running Applications
  • Saved Preferences across sessions
  • Accurate Ram Info
  • Multiple Language support (English, French, Spanish, Dutch, Romanian, German)
    • Go here to help add more translations and edit existing ones)
Screenshot of version 0.8

Download

Version
0.8.2
File
Fsginfo.zip
Version
0.8.2b (adapted for 4.2.7 and 4.3.8 FSG releases)
File
FSG Status 082 for 438.zip

Installation

Simple

  1. Create a Web Front Page - How To Host a Web Site
  2. Unzip the files into the created folder

Detailed

  1. Using the Web interface, create a new folder, example "FSG_Status"
  2. Using the Web interface, go to the "Http Server" page and click the "New" button down at the bottom.
  3. Enter in any name for the "Web Front Page", you can leave the DYNDNS blank if you don't want to access it using DYNDNS
  4. Enter in a different port number than that of the FSG web interface, (8080 for example)
  5. Select the "FSG_Status" folder
  6. Check the "Enable PHP 4" checkbox and click "Apply"
  7. On the network, unzip the FSG info zip file into the folder you created in step one i.e. \\FSG\FSG_Status
  8. Access your status page like this http://fsg:8080/

Embedded into Freecom Webinterface

  • Login into your FSG as root
  • mkdir /var/www/admin/status
  • unpack the download into /var/www/admin/status
  • edit file /etc/templates/httpd.conf.template
behind
 <Directory "/var/www/admin/phpmyadmin">
   AddType application/x-httpd-php .php .php4 .phtml
 </Directory>
add
 <Directory "/var/www/admin/status">
   AddType application/x-httpd-php .php .php4 .phtml
 </Directory>
  • edit file /var/www/index.html
modify
 <td background="/_im_cpi_mb_yx/index_rechts.jpg"><a href="admin/status/index.php"> </a></td>
to
 <td background="/_im_cpi_mb_yx/index_rechts.jpg"><a href="admin/status/index.php"><img src="/_im_cpi_mb_yx/index_rechts.jpg" border="0"></a></td>

Now you can click the picture on the Freecom Webinterface to get the FSG Info Page.

Feature Requests

Please list any features you would like to see.

  • Complete Customization of layout and content via a prefrences file
  • Dump file open connections (WAN,IP,ports)
  • Full AJAX Interface (why?)
  • Support for FSG Wireless version
  • More complete Loaded Application list - for example, it is not currently showing mt-daapd
  • CPU usage graph similar to the network traffic one
  • Ability to easily switch sections on or off - User Quotas, Loaded Apps & IP Tables could represent a security risk if the page is externally exposed.

Change Log

0.8.2b (5/02/08)

  • Little correction in translations
  • Improved "Loaded Applications" section with more task information

0.8.2a (3/02/08)

  • Version of 0.8.2 adapted to run with Releases FSG 4.2.7 and 4.3.8
  • Little correction in spanish translation

0.8.2 (7/14/06)

  • Info Page now works in a frame
  • Graph text is now included in translations.php

0.8.1 (7/10/06)

  • Temps Resample bug fixed
  • Http request errors now shown in status bar

0.8.0 (7/10/06)

  • Live Graph of bandwidth
  • IPtables info
  • Corrected Load averages

0.7.3 (6/22/06)

  • Fixed some FireFox display issues, it looks exactly the same as in IE now
  • Added German Language and all the translation fixes from FSG Info Page (Translations)

Known Bugs

0.7.3 (6/22/06) -- RESOLVED

  • Load (all 3) stays at 100%

0.8.2 (1/17/08)

  • Network traffic graph stops working when VPN conection starts
Personal tools