You are here
Host Template: Application - Microsoft Exchange - Mailflow
Monitor the mailflow status of your Microsoft Exchange server with a variery of checks including message latency, SMTP connectivity status, message counts, failure rates and back pressure status.
This Host Template includes the following Service Checks:
Service Check Name | Description | Default Thresholds (Warning, Critical) | UOM |
---|---|---|---|
Exchange - Mailflow - Status | Check that mail can be successfully sent from and delivered to the system mailbox. | N/A | N/A |
Exchange - Mailflow - Message Latency | Check the mail message latency for a successfully sent and delivered message to the system mailbox. | N/A | s |
Exchange - Mailflow - SMTP Connectivity Status | Check whether an SMTP connection can successfully be established to the Receive connectors on a specific server. | N/A | N/A |
Exchange - Mailflow - SMTP Message Count | Shows the number of messages sent/received by the SMTP server each second. Determines current load. Compare values to historical baselines. | N/A | N/A |
Exchange - Mailflow - Mailbox Server Failure Rate | Shows the percentage of connectivity related failures between this Client Access Server and MBX servers over the last 200 samples. If not run with verbose mode, results will be truncated and summarised. | failure_rate=0,10 | % |
Exchange - Mailflow - Mailbox Queue | Shows the number of messages in the given mailbox queue. Supports mutliple Queue variables. | N/A | N/A |
Exchange - Mailflow - Back Pressure Status | Monitors the following resources: |
- DatabaseUsedSpace: Hard drive utilization for the drive that holds the message queue database.
- PrivateBytes: The memory that's used by the EdgeTransport.exe process.
- QueueLength: The number of messages in the Submission queue.
- SystemMemory: The memory that's used by all other processes.
- UsedDiskSpace: Hard drive utilization for the drive that holds the message queue database transaction logs.
- UsedDiskSpace: Hard drive utilization for the drive that's used for content conversion.
- UsedVersionBuckets: The number of uncommitted message queue database transactions that exist in memory.
| N/A | N/A |
Usage Instructions
Ensure you have set the Primary Hostname/IP field of your Opsview Host to the hostname or IP address of your exchange server.
Step 1: Add this Host Template
Add the Application - Microsoft Exchange - Mailflow Host Template to your Opsview Monitor host. If the resource you're monitoring has no hostname or public IP, then open the Advanced settings pane and change Host Check Command to Always assumed to be UP.
For more information, refer to Opsview Knowledge Center - Adding Host Templates to Hosts.
Step 2: Add and configure variables required for this Host Template
The Service Checks in this Host Template use the following variables, and they will be added to your Opsview Monitor instance when you import the Opspack:
KERBEROS_REALM
Only required if authenticating using Kerberos.
Parameter | Position in Variable | Name | Description |
---|---|---|---|
Opsview UI Only | Value | Kerberos Realm | Kerberos realm. This value is not used by the plugin, it is used to automatically configure your 'krb5.conf' configuration file |
WINRM_TRANSPORT
Parameter | Position in Variable | Name | Description |
---|---|---|---|
-Transport | Value | Authentication Type | Authentication type to use |
-Username | Arg1 | Username | Username for remote windows host |
-Password | Arg2 | Password | Password for remote windows host |
-Scheme | Arg3 | Scheme | Scheme for connecting to remote windows host |
Opsview UI Only | Arg4 | Extra Args | Extra args for check_by_winrm. The value is appended to the check_by_winrm call. |
MS_EXCHANGE_QUEUE_NAME
For Service Checks using the Queue parameter, giving this argument a value of '.
' (period character, no quotes) will run the check across all available queues.
Parameter | Position in Variable | Name | Description |
---|---|---|---|
-Queue | Value | MS Exchange Queue Name | Mailbox queue to monitor |
For more information, refer to Opsview Knowledge Center - Adding Variables to Hosts.
For mode-specific help, run the plugin with the -h -m <mode>
flags. This will list the required and optional Variable Arguments for that mode. The appropriate mode for each Service Check is listed here:
Service Check Name | Mode |
---|---|
Exchange - Mailflow - Status | MSExMailflow.Status |
Exchange - Mailflow - Message Latency | MSExMailflow.Message.Latency |
Exchange - Mailflow - SMTP Connectivity Status | MSExMailflow.SMTP.Connectivity |
Exchange - Mailflow - SMTP Message Count | MSExMailflow.SMTP.Message.Count |
Exchange - Mailflow - Mailbox Server Failure Rate | MSExMailflow.Mailbox.Failure.Rate |
Exchange - Mailflow - Mailbox Queue | MSExMailflow.Mailbox.Queue |
Exchange - Mailflow - Back Pressure Status | MSExMailflow.Back.Pressure.Status |