Log DescriptionsSiteScope records the readings and measurements from the monitors you have defined in log files. Monitor data logs are used to generate management reports. All SiteScope log files are recorded as tab delimited text and can be viewed directly using a text editor. The log files can also be used for operational analysis by other software applications. This section describes : SiteScope Monitor Data Log FilesEvery time SiteScope runs a monitor, the measurements for the monitor are written in the SiteScope log file. The current SiteScope log files are located in the <SiteScope install path>/SiteScope/logs directory and is named based on the date - for example, the log file for August 1, 1998 is named SiteScope1998_08_01.log. Within SiteScope you can access the monitor logs by clicking on the View the log of alerts sent link on the SiteScope Alert detail page. (Previous versions of SiteScope saved this information in files called SiteScope.log and SiteScope.log.old) The SiteScope log file contains monitoring data separated into tab delimited fields. The following is a sample of some log entries: 11:54:50 07/25/96 good Server Web server performance 8.61 hits/min 1:232 10 12000 8.61 1023.4 11:54:51 07/25/96 error Server Local home page forbidden 2:112 11:54:54 07/25/96 good Server FTP Service running 3:154 11:55:04 07/25/96 good Network CPU 36% used 1:311 11:56:28 07/25/96 good Network CPU 34% used 1:312 11:57:27 07/25/96 good Network CPU 19% used 1:313 11:58:06 07/25/96 good Server Disk space on C drive 68% full 4:43 Below is a description of the information listed in each column of the log file:
For information about the status or reading recorded for a monitor, refer to the help text for that monitor type. Other SiteScope LogsSiteScope produces several other log files that record messages relative to other SiteScope internal functions. The following provides a brief outline of what you will find in each one. All these log files are written in the <SiteScope install path>/SiteScope/logs directory.
SiteScope Log Database TableWhen a monitor runs, a record can optionally be saved into a SQL database. See the Log Preferences page for more information about database logging. Log data is contained in a single table called SiteScopeLog. The first nine fields of each database record are the same for all monitors. The next ten fields contain different measurements depending on the kind of monitor supplying the data. All the fields use the VARCHAR(255) data type. A description of the fields in the log database record are shown in the table below along with their default field names:
The logging statement can be changed by editing the parameter _logJdbcInsertSiteScopeLog= in the SiteScope/groups/master.config file. A stored procedure can be called by replacing the insert statement with a call statement. For example, "call logit(?,?,?)" would call the stored procedure named logit passing it the first three parameters.
|