| Revision: | 1.2 |
| Committed: | Fri Feb 11 14:05:32 2005 UTC (20 years, 10 months ago) by tdb |
| Branch: | MAIN |
| Changes since 1.1: | +1 -1 lines |
| Log Message: | Updates from skel (Daniel Piddock): - Fix overflow in disk inodes on PHP page. - Added code to get passed in variables from the $_GET variable. Makes things work under a pretty default Debian apache2/php4 set up. - Graphs displays "Network IO" in the drop down list, not "Network usage" for consistency with everything else. - Display Swap, memory and disk usage in MB rather than bytes in latest view. - Display uptime in a pretty days/hours/minutes/seconds rather than just seconds, in latest view - Include file system type under Disks in latest view Thanks Daniel! |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | pjm2 | 1.1 | <? |
| 2 | |||
| 3 | # The report directory, and the number of days to display. | ||
| 4 | $reportDirectory = "/home/cut/pjm2/webpages/reports/historical"; | ||
| 5 | $webRoot = "/~pjm2/reports/historical"; | ||
| 6 | |||
| 7 | # Page appearance. | ||
| 8 | $scaleImage = "24hourscale800.gif"; | ||
| 9 | $backImage = "24hourback800.gif"; | ||
| 10 | $backImage2 = "24hourback2800.gif"; | ||
| 11 | $lineColor = "#9999ff"; | ||
| 12 | |||
| 13 | # Files to include | ||
| 14 | $titleHTML = "title.inc.php"; | ||
| 15 | $bottomHTML = "bottom.inc"; | ||
| 16 | $machineNameHTML = "machine_name.inc"; | ||
| 17 | |||
| 18 | # Submission details. | ||
| 19 | $formMethod = "GET"; | ||
| 20 | $thisPage = "logins.php"; | ||
| 21 | |||
| 22 | tdb | 1.2 | ?> |