Distance Education Monitoring Installation

This monitoring installation checks the status of the SRJC Distance Education server cluster (online.santarosa.edu) at regular intervals, and this page automatically refreshes every five minutes with status results. In the event a problem is detected, the appropriate technicians are automatically notified.

0) { $row = mysql_fetch_row($result); $t = getdate($row[1]); $minutes = $t['minutes']; if ($minutes < 10) { $minutes='0'.$minutes; } echo "

Most recent status check conducted at " . $t['hours'] . ':' . $minutes . ' on ' . $t['weekday'] . ', ' . $t['mday'] . ' ' . $t['month'] . ' ' . $t['year'] . ".

"; if ($row[0] == 'T') { echo "DE server is up and running with no problems detected at this time.

"; } elseif ($row[0] == 'D') { echo "DE server status uncertain at this moment; we are actively monitoring the situation and will update as soon as possible.

"; } elseif ($row[0] == 'F') { echo "DE server is down. Appropriate technicians have been notified by the monitoring installation. We will provide an update as soon as possible.

"; } else { echo "Data error: Incomplete data retrieved from DE status table."; } } else { echo "Data error: Unable to access DE status table

"; } // free result set memory mysql_free_result($result); // close connection mysql_close($connection); $contents=file_get_contents('http://stonebooks.com/cgi/bstone/de.pl'); echo "

Details $contents"; ?>


See also:

Distance Ed Systems Status Console

SRJC IT Systems Status Page

SRJC IT News Page


Distance Education office at Santa Rosa Junior College
webmaster@online.santarosa.edu " . $t['hours'] . ':' . $minutes . ' on ' . $t['weekday'] . ', ' . $t['mday'] . ' ' . $t['month'] . ' ' . $t['year'] . "

"; ?>