|
Configuration of
MsgLogTest
The default parameters associated with this test are as follows:
-
The TEST PERIOD list box helps the
user to decide how often this test needs to be executed.
-
In the
HOST
text box, the host name of the server for which the test is to be
configured has to be specified.
-
In
the PORTNO text box, enter the port at which the specified HOST
listens.
-
In
the LOGFILE text box, specify the name of the log file
to be monitored.
-
Enter
the full path to the specified log file in the LOGDIR text
box.
-
In the EMPTYFILE text
box, enter either true or false. The entry true instructs
the eG system to monitor even empty log files. The entry false instructs
the eG system to ignore empty log files. By default, the EMPTYFILE
text box will hold the value false.
Note: If a log
file to be monitored is not found or is empty, then the errcount will be
0.
-
In
order to track critical exceptions logged in the log file, you need
to specify the pattern of such exceptions in the HIGHPATTERN
text box. For eg., if critical exception 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.
-
To
monitor minor exceptions logged in the log file, the pattern of the
minor exceptions have to be specified in the LOWPATTERN text box. For
eg., if minor exception logs contain the string "Low", then the
pattern specification could be *Low*. A leading '*'
signifies any number of leading characters, while a trailing '*'
signifies any number of trailing characters.
-
For
monitoring the medium exceptions in the log file, the pattern of these
exceptions need to be defined in the MEDIUMPATTERN text box.
For eg., if medium exception logs contain the string "Warning",
then the pattern specification could be *Warning*. A leading '*'
signifies any number of leading characters, while a trailing '*'
signifies any number of trailing characters.
When changing the
configuration for specific servers, a “*” beside the text box
corresponding to the parameter signifies that these values have to
be manually configured by the user. The parameter values that
require to be configured will typically be prefixed with a “$”
or contain a series of “*”. A value of "none"
in the parameter value indicates that the corresponding parameter
value can be changed if required.
|