Siebel Error Log Test

All the events and errors that relate to the web server are tracked by the log file, along with the date, time and event for each log entry. Periodic monitoring of these log files can provide administrators with useful pointers to critical errors that might have affected the web server performance in recent times. This test reports the errors that were newly added to the web server log since the last measurement period.

Target of the test : A Siebel web server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for every log file, log file directory, or LogFilePath:PatternName monitored on the Siebel web server .

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed.

Host

The hostname (or IP address) of the Siebel web server.

Port

The port number on which the Siebel web server is listening.

AlertFile

Specify the path to the log file to be monitored. For eg., C:/sea703/SWEBApp/LOG/Siebel_Web_log.txt. Multiple log file paths can be provided as a comma-separated list.

Also, instead of a specific log file path, the path to the directory containing log files can be provided - eg., C:/sea703/SWEBApp/LOG. This ensures that eG Enterprise monitors the most recent log files in the specified directory. Specific log file name patterns can also be specified. For example, to monitor the latest log files with names containing the strings 'siebel' and 'log', the parameter specification can be, C:/sea703/SWEBApp/LOG/*siebel*,C:/sea703/SWEBApp/LOG/*log*. Here, '*' indicates leading/trailing characters (as the case may be). In this case, the eG agent first enumerates all the log files in the specified path that match the given pattern, and then picks only the latest log file from the result set for monitoring.

You can also configure the path in the following format:Name@logfilepath. Here, Name represents the display name of the path being configured. Accordingly, the parameter specification for the 'siebel' and 'log' example discussed above can be: siebel@C:/sea703/SWEBApp/LOG/*siebel*,log@C:/sea703/SWEBApp/LOG/*log*. In this case, the display names 'siebel' and 'log' will alone be displayed as descriptors of this test.

Every time this test is executed, the eG agent verifies the following:

  • Whether any changes have occurred in the size and/or timestamp of the log files that were monitoring during the last measurement period;
  • Whether any new log files (that match the alertfile specification) have been newly added since the last measurement period;

If a few lines have been added to a log file that was monitored previously, then the eG agent monitors the additions to that log file, and then proceeds to monitor newer log files (if any). If an older log file has been overwritten, then, the eG agent monitors this log file completely, and then proceeds to monitor the newer log files (if any).

SearchPattern

Enter the specific patterns of alerts to be monitored. The pattern should be in the following format: <PatternName>:<Pattern>, where <PatternName> is the pattern name that will be displayed in the monitor interface and <Pattern> is an expression of the form - *expr* or expr or *expr or expr*, etc. A leading '*' signifies any number of leading characters, while a trailing '*' signifies any number of trailing characters.

For example, say you specify Gen_errors:Generic* in the SearchPattern text box. This indicates that "Gen_errors" is the pattern name to be displayed in the monitor interface. "Generic*" indicates that the test will monitor only those lines in the log which start with the term "Generic".  

A single pattern may also be of the form e1+e2, where + signifies an OR condition. That is, the <PatternName> is matched if either e1 is true or e2 is true.

Multiple search patterns can be specified as a comma-separated list. For example: Gen_errors:Generic*,Critical_errors:*Error*.

If the AlertFile specification is of the format Name@logfilepath, then the descriptor for this test in the eG monitor interface will be of the format: Name:PatternName. On the other hand, if the Alertfile specification consists only of a comma-separated list of log file paths, then the descriptors will be of the format: LogFilePath:PatternName.

Lines

Specify two numbers in the format x:y. This means that when a line in the log file matches a particular pattern, then x lines before the matched line and y lines after the matched line will be reported in the detail diagnosis output (in addition to the matched line). The default value here is 0:0. Multiple entries can be provided as a comma-separated list. 

If you give 1:1 as the value for LINES, then this value will be applied to all the patterns specified in the SearchPattern field. If you give 0:0, 1:1 as the value for Lines and if the corresponding value in the SearchPattern filed is like Gen_errors:Generic*,Critical_errors:*Error*, then:

0:0 will be applied to the Gen_errors:Generic*pattern

1:1 will be applied to the Critical_errors:*Error*pattern

ExcludePattern

Provide a comma-separated list of patterns to be excluded from monitoring in the ExcludePattern text box. For example *critical*,*exception*. By default, this parameter is set to 'none'

UniqueMatch

By default, the UniqueMatch parameter is set to False, indicating that, by default, the test checks every line in the log file for the existence of each of the configured SearchPatterns. By setting this parameter to True, you can instruct the test to ignore a line and move to the next as soon as a match for one of the configured patterns is found in that line. For example, assume that Pattern1:*Generic*,Pattern2:*Error* is the SearchPattern that has been configured. If UniqueMatch is set to False, then the test will read every line in the log file completely to check for the existence of messages embedding the strings 'Generic' and 'Error'. If both the patterns are detected in the same line, then the number of matches will be incremented by 2. On the other hand, if UniqueMatch is set to True, then the test will read a line only until a match for one of the configured patterns is found and not both. This means that even if the strings 'Generic' and 'Error' follow one another in the same line, the test will consider only the first match and not the next. The match count in this case will therefore be incremented by only 1.

RotatingFile

This flag governs the display of descriptors for this test in the eG monitoring console.

If this flag is set to true and the AlertFile text box contains the full path to a specific (log/text) file, then, the descriptors of this test will be displayed in the following format: Directory_containing_monitored_file:<SearchPattern>. For instance, if the AlertFile parameter is set to c:\eGurkha\logs\syslog.txt, and RotatingFile is set to True, then, your descriptor will be of the following format: c:\eGurkha\logs:<SearchPattern>. On the other hand, if the RotatingFile flag had been set to False, then the descriptors will be of the following format: <FileName>:<SearchPattern> - i.e., syslog.txt:<SearchPattern> in the case of the example above. 

If this flag is set to True and the AlertFile parameter is set to the directory containing log files, then, the descriptors of this test will be displayed in the format: Configured_directory_path:<SearchPattern>. For instance, if the AlertFile parameter is set to c:\eGurkha\logs, and rotatingfile is set to True, then, your descriptor will be: c:\eGurkha\logs:<SearchPattern>. On the other hand, if the RotatingFile parameter had been set to False, then the descriptors will be of the following format: Configured_directory:<SearchPattern> - i.e., logs:<SearchPattern> in the case of the example above.

If this flag is set to True and the AlertFile parameter is set to a specific file pattern, then, the descriptors of this test will be of the following format: <FilePattern>:<SearchPattern>. For instance, if the AlertFile parameter is set to c:\eGurkha\logs\*sys*, and RotatingFile is set to True, then, your descriptor will be: *sys*:<SearchPattern>. In this case, the descriptor format will not change even if the RotatingFile flag status is changed.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise suite embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Recent errors

Indicates the number of errors that were newly added to the log file when the test was last executed.

Number

The value of this measure is a clear indicator of the number of “new” errors that have occurred on the monitored Siebel web server. The detailed diagnosis of this measure provides the details of these new errors.