Monitoring Gateway Performance

The Microsoft Exchange Server SDK provides a performance monitoring interface layer between the gateway and the Windows NT Performance Monitor functions. This interface provides an easy way to publish statistics that are commonly needed for a gateway. Gateways can use the MONITOR.LIB library to:

A performance monitor DLL is responsible for taking data from the memory mapped files and presenting it to the Windows NT Performance Monitor. The Performance Monitor uses the DLL to poll the memory-mapped files at periodic intervals to retrieve performance data.

Note A gateway must be run at least once before its object becomes visible in the Performance Monitor.

The following figure shows the complete performance monitoring process. The shaded areas are the components you need to build.

Performance monitoring process