Error Log Test

This test reports general statistics pertaining to the log files in a host.

Target of the test : Any host

Agent deploying the test : An internal agent

Outputs of the test : One set of results for the server being monitored.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed.

Host

Host name/IP address of the server for which the test is to be configured.

PortNo

The port on which the specified server listens for HTTP requests.

LogFile

The name of the log file to be monitored.

LogDir

The full path to the specified log file.

EmptyFile

Enter either true or false. The entry true instructs the eG Enterprise suite to monitor even empty log files. The entry false instructs the eG Enterprise suite to ignore empty log files during monitoring. By default, this text box will hold the value false.

ErrPattern

In order to track the errors logged in a log file, you need to specify the pattern for the error logs in this text box. For eg., if the error logs contain the string "Error", then your pattern specification could be *Error*. A leading '*' signifies any number of leading characters, while a trailing '*' signifies any number of trailing characters.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Exceptions

Indicates the total number of errors logged in the log file

Number

A high value of this measure indicates an urgent need to identify the root-cause of the errors and take corrective action.

Note:

If a log file to be monitored is not found or is empty, then the errcount will be 0.