More short tag fixes.
Tidy up PHP short tags.
Minor fixes - thanks Skel :-)
Updates from skel (Daniel Piddock): - Fix undefined variable warnings - Comment out auto-scroll code since it doesn't really work - Fix some minor formatting problems Also various other updates to the main page and comments.
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!
Catch a lot of old URL's and update them. Also remove a couple of old files that aren't used.
Added URL to GPL headers.
i-scream is now licensed under the GPL. I've added the GPL headers to every source file, and put a full copy of the license in the appropriate places. I think I've covered everything. This is going to be a mad commit ;)
Just a few changes I've made to the live copy of the the php reports. About time they were put back into CVS.
Some of the changes to the small report affected the larger reports. A vdiff shows these changes nicely.
It seemed like a good idea to put a little space between each machine.
Fixed the "many reports on one line" problem.
The 'small' version of the alerts are now centered on the page. This looks slightly cleaner when the page width is set to 100% by the user.
$hideform is checked to see if it is not equal to "on" rather than seeing if it is defined.
Changed true values to "on"
Modified the 'small' version of the alerts such that they may have the font size altered (via the title.inc.php include value of $fontsize). This is handy for public display applications.
Added "Upper" and "Lower" comments in threshold levels. Or, for those that are neither, "Normal" is shown by the threshold value.
Small versions of the alerts now link to large versions of the alerts for that individual machine. These large ones then provide links to the latest data pages.
Fixed the alignment of threshold and alert values
Graph of alert level is in the top left of each report area, with the title on the top right. The values associated with the report are now centered in the table.
Alerts level scales added to the large view. Also made sure that empty machine directories are ignored.
Added level graphs to the small reports pages. These work quite nicely!
Made the fonts bigger, hence easier to read from afar
Added the "Final Warning" and a colour for it (dark blue).
Sorted out the table layout and indenting issues.
Small versions of the reports now also have the alert level shown, and also in the approprite colour
Each machine name appears under a smaller heading when viewed in small mode
Different table arrangements are shown on individual and "all" reports if &small=true is in the query string
If an attribute called "small" is specified on the query string, the reports are not shown.
When the list of ALL reports is being viewed, we now no longer try to go through the directory listing if it is empty (as this causes an error message to be echoed to the client)
Put a spacer between each report (when all are viewed) and added a line beneath the output when there are no reports available for a particular machine.
Wrapped up each report in a dark-blue-headed table. This makes it easier to see each report.
Addde the ability to see a list of all alerts on the same page. This is done by calling the page with machine set to "ALL"
If an alert directory exists, but is empty, the page now deals with it nicely, rather than going through a foreach loop on something that is not an array(!)
Minor changes.
Altered the colour for the "Notice" alerts. Got rid of some of the redundant diplay information. After testing it out, it seems to work okay, but if there's time, it might be worth sorting the list in alert level order.
Added alert level colours and altered the layout so it makes a bit more sense for service checks.
Got more or less sensible things being read out for each alert now.
Added alert levels to the config.
Put in some basic preg_matching to pull information out of each alert.
Page for viewing summaries of 'realtime' alerts
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, select a symbolic revision name using the selection box, or choose 'Use Text Field' and enter a numeric revision.