Platform SDK: Exchange Server |
The Windows NT Performance Monitor uses a set of counters to monitor gateway performance. The Microsoft Exchange Server SDK performance monitoring functions provide several counter types and counter periods. You can select the appropriate counters and periods for your gateway.
For more information on the performance monitor functions supplied in the Microsoft Exchange Server SDK, see HrInstallServicePerfMon, HrMonInit, HrRemoveServicePerfMon, HrMonLockCounters and COUNTERDEF.
Gateway counters are used for statistics that apply to the entire gateway. They are:
Folder counters are used for statistics that apply to a single MAPI folder. MAPI folders are frequently used as queues, such as MTS_OUT. You can set up counters for several different folders. The folder counters are:
The Microsoft Exchange Server performance monitor functions let you set up and directly manipulate counters used by the Windows NT Performance Monitor. The following table shows counters that are typically required for a gateway and which are not provided through STATS.LIB. You can also define additional counters.
Counter | Counter definition |
---|---|
Foreign Logical Connections | The number of logical connections this gateway currently has to foreign systems. |
Messages/Unit Time | The number of messages processed per unit time. |
Message Bytes/Unit Time | The number of message bytes processed per unit time. |
Nondelivery Reports/Unit Time | The number of nondelivery reports processed per unit time. |
Threads in Use | The number of threads in use by the gateway. |
Work Queue Size | The number of items in the gateway work queue, which is the total number of messages in the gateway’s MTS-IN and MTS-OUT folders. |
For many of the counters, you can use the period type to specify how data is displayed. The period types are show in the following table.
Period type | Data displayed |
---|---|
None | A current value (snapshot statistic) such as the number of associations or the number of messages in a folder. Also used for user-defined counters. |
Continuous | Total number of events during the past Performance Monitor sampling period. |
Last N Minutes | Total number of events during the last N one-minute intervals. |
Total | Total number of events since the gateway started running. |