Mail Alerts Test

This test monitors the target email ids, searches for a specific subject pattern that is pre-configured and reports the number of alerts received on the email ids containing that particular subject pattern.

Target of the test : A Mail Alert Receiver

Agent deploying the test : An external agent

Outputs of the test : One set of results for each Subject Pattern configured.

Configurable parameters for the test
Parameters Description

Test Period

How often should the test be executed.

Host

The host for which the test is to be configured.

ReceiveHost

Indicates the domain/IP address from which the test receives mails. Typically, this would be the domain/IP address of a POP3 or IMAP server.

ReceivePort

Indicates the port number of the host, which receives the mails. The default port for POP3 is 110 and that of IMAP is 143.

ReceiveProtocol

The protocol to be used for receiving the mails (could be POP3 or IMAP).

SSL

Set this flag to Yes, if the target Mail Alert Receiver is SSL-enabled. Set this flag to No, if he target Mail Alert Receiver is not SSL-enabled.

ReceiveUser

Indicates the email account/user name available within the domain specified in the ReceiveHost from which the test receives mails. 

Password

Indicates the password corresponding to the above user.

Confirm Password

Confirm the Password by retyping it in this text box.

Folder

Specify a folder within the email account that is to be monitored. By default, inbox is specified against this text box.

Timeout

Specify the time duration beyond which the POP3/IMAP server connection should timeout. The default value is 60000 ms.

Content Type

Indicates the type of email content that is to be read from the mail. The default value for this parameter is plain/text. Alternately, you can provide text/html.

Subject Pattern

Enter a comma-separated list of specific patterns of mail subjects that need to be downloaded. The pattern should be in the 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, specifying Critical_Alerts:*Critical* in this text box indicates that the test would download emails with the subject containing the word "Critical". By default, All is specified in this text box.

Multiple search patterns can be specified as a comma-separated list. For example, in case of alerts from SCOM, to categorize alerts separately for different alert priorities, configure the value as shown below:

Critical:*Severity*2*New*,Warning:*Severity*1*New*

The default value for this parameter is “All:*” which enables the test to download all mails.

Delete Mails

Specify whether the test should delete mails after downloading from the server. By default, this value is set to false since the emails are downloaded from the same host. If you set this flag to true, then this test reads the emails based on the Subject Pattern specified and deletes the emails from the mailbox thereafter. Note that if this flag is set to true, you need to specify a dedicated email id in the ReceiveUser text box. Also, the test will attempt to download all the emails during every test execution for the specified email id.

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.
Measures made by the test:
Measurement Description Measurement Unit Interpretation

Alerts received

Indicates the number of alerts received during the last measurement period.

Number

The detailed diagnosis of this measure provides the actual content of the alert messages and the time at which the alert message was received.