MAPI - User Experience monitor
The MAPI - User Experience Monitor simulates a round-trip email and measures the time it takes for a series of transactions to occur. Using collaboration data objects (CDO) or the message application program interface (MAPI), a program can connect to a MAPI store and perform operations against that store.
Use this monitor to verify that:
- The SMTP mail server can accept and distribute email.
- The Exchange server can authenticate users.
- The Exchange server can respond correctly to MAPI commands.
- MAPI clients can receive their email.
- The Exchange server responds within a required number of seconds.
The monitor connects to the SMTP server on port 25 and sends an email message to the specified recipient address. Next, it logs in to Exchange server and uses the email account specified in the default Mail Profile to connect to an Exchange mailbox. It searches for the test email it sent and flags it for deletion. When finished, the MAPI User Experience monitor sends a LOGOUT command to Exchange Server.
The test is considered failed if:
- The SMTP server fails to respond or returns an error code.
- The Exchange Server fails to respond or returns an error code.
- The MAPI - User Experience monitor is unable to locate the sent email.
Create a MAPI - User Experience monitor
- Click Devices in the toolbar.
- Locate and click the targeted device you want to monitor.
-
In the toolbar, click Add > Add New Monitor.
- In the Select Monitor menu, click MAPI- User Experience.
-
Under Identification, enter information about the monitor.
-
Enter a name in the Monitor Name field using up to 64 characters. This name will appear in the monitor list, monitor status, log files, and your reports.
You can change this name later, if necessary. ipMonitor does not use this field to internally identify this monitor.
-
Select Enabled to enable the monitor.
When enabled, the monitor tests the specified resource using the settings you enter under Test Parameters. You can disable the monitor later if required.
- Select Store Monitor Statistics for Recent Activity and Historical Reports to enable this functionality.
-
-
Under Test Parameters, select a credential for monitoring. When selected, ipMonitor uses the credential account and password information to authenticate to the target machine and test the status of the drive or share.
-
Under Analysis of Test Results, set up your sending and receiving email addresses.
-
In the Email To field, enter the receiver email address for your test and distribution email.
SolarWinds recommends setting up a dedicated email account to receive test and distribution emails.
- In the Email From field, enter the sender email address for the test email.
- Click Verify to confirm that the email credentials are valid.
-
-
Under Timing, configure the fields for the monitor testing states.
- In the Maximum Test Duration field, enter the maximum test duration rate (in seconds) that the monitor times out before the test is considered a failure.
-
In the remaining fields, enter the number of second between each test while the monitor is in an OK state (Up), a failed state while alerts are processed (Down), and a failed state and the maximum number of alerts have been processed (Lost).
In the Lost state, no additional failure alerts are processed. However, a recovery notification is sent if the monitor recovers.
-
Under Notification Control, complete the fields to determine how many test failures must occur before an alert is sent.
- Enter the number of test failures that occur for each alert before ipMonitor generates an alert for the monitor. The default option is 3.
-
Enter the maximum number of alerts to send before the monitor enters a Lost state.
The monitor must be assigned to a notification alert to generate an action.
-
Under Recovery Parameters, complete the fields to indicate the corrective action used to automatically restore a resource using the External Process Recovery, Reboot Server Recovery, or Restart Service Recovery action.
- Enter the Fully Qualified Domain Name (FQDN), NetBIOS, or IP Address of the machine hosting the service that needs a restart or the machine that needs a restart. You can also click Browse to locate and select the machine.
- Select the set of credentials used by the recovery alert. You can select a specific credential to execute recovery alerts that require access to restricted resources, such as Reboot Server, Restart Service, or External Process.
- Select the list of services to restart on the target machine specified in the FQDN/NetBIOS/IP Address field. This field is only required for the Restart Service alert. If a service has dependencies, select all dependent services.
- Click OK.
Microsoft Outlook account requirements
To operate correctly, this monitor requires the following Microsoft Outlook environment:
- Outlook: SolarWinds recommends uninstalling Outlook from the host server and using a CDO to create a MAPI profile.
- Microsoft Outlook email account under the default Mail Profile of the Windows user account impersonated by the monitor
Use the Microsoft CDO
The following applies to Microsoft Outlook 2007 Users. After installing the client, you can then use the MFC MAPI tool to create a MAPI profile.
When using the MAPI Profile wizard, you need to set the default flag on creation. This is done by setting the flag to 0x00000003 on the wizard parameters page.
Set up a Windows Mail Profile
- Log in to the ipMonitor server using the Windows Domain Account that will be used by the MAPI - User Experience monitor.
- Install and launch Microsoft Outlook.
- Follow the steps outlined in the Outlook Startup wizard to configure the default Mail Profile for the domain account.
When you configure the MAPI User Experience monitor, the monitoring credential should reference the Windows account used to log in to the ipMonitor server.
Test email message
ipMonitor uses a message with a special subject line to test the send and receive ability of the IMAP4 mail server, similar to:
Subject: ipm8:imap4:guid:441991169