4.2 SendAndReceiveMessage

Use this Knowledge Script to send an email from the user account that is configured in the AppManager Security Manager and receive the email back to the same user account. It reports the operation time.

For information on configuring a user account in Security Manager, see Section 2.8, Configuring Security Manager to run ExchangeOnline-RT Discovery.

The incoming message header contains a unique identifier that tracks and identifies the message. If the message is received that matches the sent message within the timeout time, the message is then deleted. If the timeout occurs before the message is received, the message is displayed in the Inbox.

4.2.1 Resource Objects

Exchange Online response time clients (ExchangeOnline-RT)

4.2.2 Default Schedule

The default interval for this script is Every 15 minutes.

4.2.3 Setting Parameter Values

Set the following parameters as needed:

Description

How to Set It

General Settings

Message size

Specify the size of the message in bytes. The default is 100 bytes.

Event detail format

Select the format in which you want to display the event detail. You can select from HTML Table or Plain Text. The default is HTML Table.

Job timeout

Set the timeout value, from 60 to 1200 seconds, to determine the maximum time allowed to process a job before it is aborted.

When an ExchangeOnline-RT Knowledge Script job runs, a job timer is started. If the transaction takes longer than the Job timeout, the transaction is stopped and a “Job Timeout” event is raised.

The default is 120 seconds.

Availability

Collect data for availability?

Select Yes to collect availability data for graphs and reports. By default, data is collected.

Data stream format

Select the data stream format for the Availability data stream. You can select either “0-1” or “0-100” format. The default is 0-100.

“0” indicates that the data stream is not available and “100” indicates that the data stream is available.

Raise event if transaction fails?

Select Yes to raise an event when the server cannot be contacted. By default, an event is raised.

Event severity when transaction fails

If events are enabled, set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 5.

Response Time

Collect data for response time?

Select Yes to collect response-time data for graphs and reports. By default, data is collected.

Include time to initialize Exchange Web Services?

Select Yes to include the time taken to initialize the connection to the Exchange Web Service in calculating the total response time. The default is No.

Threshold-Maximum response time

Specify the maximum response time in seconds. When response time exceeds this value, an event is raised. The event message contains a breakdown of the total response time. The default is 15 seconds.

Raise event if threshold is exceeded?

Select Yes to raise an event when the response-time threshold is exceeded. By default, events are raised.

Event severity when threshold is exceeded

Set the event severity level, from 1 to 40, to indicate the importance of the event. The default is 15.

Reponse Time Break down

Collect data for initializing Exchange?

Select Yes to collect a separate response-time data stream for the time taken to initialize the connection to the Exchange Web Service. By default, separate response-time data streams are not collected.

Collect data for creating message?

Select Yes to collect a separate response-time data stream for the time taken to create the test email message. By default, separate response-time data streams are not collected.

Collect data for sending message?

Select Yes to collect a separate response-time data stream for the time taken to actually send the test email message. By default, separate response-time data streams are not collected.

Collect data for waiting until message shows up in inbox?

Select Yes to collect a separate response-time data stream for the time taken for the test message to show up in the sender’s mailbox. By default, separate response-time data streams are not collected.