home *** CD-ROM | disk | FTP | other *** search
/ PC World 2001 July / PCWorld_2001-07_cd.bin / Software / Topware / w2ksp2en / w2ksp2.exe / i386 / ims.cab / smtp_smtpctrs.h < prev    next >
Encoding:
C/C++ Source or Header  |  1999-12-29  |  7.8 KB  |  188 lines

  1. //#---------------------------------------------------------------
  2. //  File:        smtpctrs.h
  3. //
  4. //  Synopsis:    Offset definitions for the MSN Server's
  5. //                counter objects & counters.
  6. //
  7. //                These offsets *must* start at 0 and be
  8. //                multiples of 2.  In the MsnOpenPerformanceData
  9. //                procecedure, they will be added to the MSN
  10. //                Server's "First Counter" and "First Help"
  11. //                values in order to determine the absolute
  12. //                location of the counter & object names
  13. //                and corresponding help text in the registry.
  14. //
  15. //                This file is used by the MSNCTRS.DLL DLL
  16. //                code as well as the MSNCTRS.INI definition
  17. //                file.  MSNCTRS.INI is parsed by the LODCTR
  18. //                utility to load the object & counter names
  19. //                into the registry.
  20. //
  21. //    Copyright (C) 1995 Microsoft Corporation
  22. //    All rights reserved.
  23. //
  24. //  Authors:    toddch - based on msn sources by rkamicar, keithmo
  25. //----------------------------------------------------------------
  26.  
  27. #ifndef _SMTPCTRS_H_
  28. #define _SMTPCTRS_H_
  29.  
  30.  
  31. //
  32. // disabled tracing by default for the perfmon client code
  33. //
  34. #ifndef    NOTRACE
  35. #define    NOTRACE
  36. #endif
  37.  
  38. //
  39. //  The SMTP Server counter object.
  40. //
  41.  
  42. #define SMTP_COUNTER_OBJECT                    0
  43.  
  44.  
  45. //
  46. //  The individual counters.
  47. //
  48.  
  49. #define SMTP_BYTES_SENT_TTL_COUNTER                        2
  50. #define SMTP_BYTES_SENT_PER_SEC_COUNTER                    4
  51. #define SMTP_BYTES_RCVD_TTL_COUNTER                        6
  52. #define    SMTP_BYTES_RCVD_PER_SEC_COUNTER                    8
  53. #define SMTP_BYTES_TTL_COUNTER                            10
  54. #define SMTP_BYTES_TTL_PER_SEC_COUNTER                    12
  55.  
  56. #define SMTP_BYTES_SENT_MSG_COUNTER                        14
  57. #define SMTP_BYTES_SENT_MSG_PER_SEC_COUNTER                16
  58. #define SMTP_BYTES_RCVD_MSG_COUNTER                        18
  59. #define    SMTP_BYTES_RCVD_MSG_PER_SEC_COUNTER                20
  60. #define SMTP_BYTES_MSG_COUNTER                            22
  61. #define SMTP_BYTES_MSG_PER_SEC_COUNTER                    24
  62.  
  63. #define SMTP_MSG_RCVD_TTL_COUNTER                        26
  64. #define SMTP_MSG_RCVD_PER_SEC_COUNTER                    28
  65. #define SMTP_AVG_RCPTS_PER_MSG_RCVD_COUNTER                30
  66. #define SMTP_BASE_AVG_RCPTS_PER_MSG_RCVD_COUNTER        32
  67. #define SMTP_PCT_LCL_RCPTS_PER_MSG_RCVD_COUNTER            34
  68. #define SMTP_BASE_PCT_LCL_RCPTS_PER_MSG_RCVD_COUNTER    36
  69. #define SMTP_PCT_RMT_RCPTS_PER_MSG_RCVD_COUNTER            38
  70. #define SMTP_BASE_PCT_RMT_RCPTS_PER_MSG_RCVD_COUNTER    40
  71. #define SMTP_MSG_RCVD_REFUSED_SIZE_COUNTER                42
  72. #define SMTP_MSG_RCVD_REFUSED_CADDR_COUNTER                44
  73. #define SMTP_MSG_RCVD_REFUSED_MAIL_COUNTER                46
  74.  
  75.  
  76. #define SMTP_MSG_DLVR_TTL_COUNTER                        48
  77. #define SMTP_MSG_DLVR_PER_SEC_COUNTER                    50
  78. #define SMTP_MSG_DLVR_RETRIES_TTL_COUNTER                52
  79. #define SMTP_AVG_RETRIES_PER_MSG_DLVR_COUNTER            54
  80. #define SMTP_BASE_AVG_RETRIES_PER_MSG_DLVR_COUNTER        56
  81. #define SMTP_MSG_FWD_TTL_COUNTER                        58
  82. #define SMTP_MSG_FWD_PER_SEC_COUNTER                    60
  83. #define SMTP_NDR_GENERATED_COUNTER                        62
  84. #define SMTP_LOCALQ_LENGTH_COUNTER                        64
  85. #define SMTP_RETRYQ_LENGTH_COUNTER                        66
  86. #define SMTP_NUM_MAILFILE_HANDLES_COUNTER                68
  87. #define SMTP_NUM_QUEUEFILE_HANDLES_COUNTER                70
  88. #define SMTP_CATQ_LENGTH_COUNTER                        72
  89.  
  90. #define SMTP_MSG_SENT_TTL_COUNTER                        74
  91. #define SMTP_MSG_SENT_PER_SEC_COUNTER                    76
  92. #define SMTP_MSG_SEND_RETRIES_TTL_COUNTER                78
  93. #define SMTP_AVG_RETRIES_PER_MSG_SEND_COUNTER            80
  94. #define SMTP_BASE_AVG_RETRIES_PER_MSG_SEND_COUNTER        82
  95. #define SMTP_AVG_RCPTS_PER_MSG_SENT_COUNTER                84
  96. #define SMTP_BASE_AVG_RCPTS_PER_MSG_SENT_COUNTER        86
  97. #define SMTP_REMOTEQ_LENGTH_COUNTER                        88
  98.  
  99. #define SMTP_DNS_QUERIES_TTL_COUNTER                    90
  100. #define SMTP_DNS_QUERIES_PER_SEC_COUNTER                92
  101. #define SMTP_REMOTE_RETRY_QUEUE_LENGTH_COUNTER            94
  102. #define SMTP_PICKUP_QUEUE_LENGTH_COUNTER                96
  103.  
  104. #define SMTP_CONN_IN_TTL_COUNTER                        98
  105. #define SMTP_CONN_IN_CURR_COUNTER                        100
  106. #define SMTP_CONN_OUT_TTL_COUNTER                        102
  107. #define SMTP_CONN_OUT_CURR_COUNTER                        104
  108. #define SMTP_CONN_OUT_REFUSED_COUNTER                    106
  109.  
  110. #define SMTP_ERR_TTL_COUNTER                            108
  111. #define SMTP_ERR_PER_SEC_COUNTER                        110
  112.  
  113. #define SMTP_DIR_DROPS_TTL_COUNTER                        112
  114. #define SMTP_DIR_DROPS_PER_SEC_COUNTER                    114
  115. #define SMTP_RT_LOOKUPS_TTL_COUNTER                        116
  116. #define SMTP_RT_LOOKUPS_PER_SEC_COUNTER                    118
  117. #define SMTP_ETRN_MSGS_TTL_COUNTER                        120
  118. #define SMTP_ETRN_MSGS_PER_SEC_COUNTER                    122
  119.  
  120. #define SMTP_MSG_BADMAIL_NO_RECIPIENTS_COUNTER          124
  121. #define SMTP_MSG_BADMAIL_HOP_COUNT_EXCEEDED_COUNTER     126
  122. #define SMTP_MSG_BADMAIL_FAILURE_GENERAL_COUNTER        128
  123. #define SMTP_MSG_BADMAIL_BAD_PICKUP_FILE_COUNTER        130
  124. #define SMTP_MSG_BADMAIL_EVENT_COUNTER                  132
  125. #define SMTP_MSG_BADMAIL_NDR_OF_DSN_COUNTER             134
  126. #define SMTP_MSG_PENDING_ROUTING_COUNTER                136
  127. #define SMTP_MSG_PENDING_UNREACHABLE_LINK_COUNTER       138
  128. #define SMTP_SUBMITTED_MESSAGES_COUNTER                 140
  129. #define SMTP_DSN_FAILURES_COUNTER                       142
  130. #define SMTP_MSG_IN_LOCAL_DELIVERY_COUNTER              144
  131.  
  132. #define SMTP_CAT_SUBMISSIONS_COUNTER                    146
  133. #define SMTP_CAT_SUBMISSIONS_PER_SEC_COUNTER            148
  134. #define SMTP_CAT_COMPLETIONS_COUNTER                    150
  135. #define SMTP_CAT_COMPLETIONS_PER_SEC_COUNTER            152
  136. #define SMTP_CAT_CURRENT_CATEGORIZATIONS_COUNTER        154
  137. #define SMTP_CAT_SUCCEEDED_CATEGORIZATIONS_COUNTER      156
  138. #define SMTP_CAT_HARD_FAILURES_COUNTER                  158
  139. #define SMTP_CAT_RETRY_FAILURES_COUNTER                 160
  140. #define SMTP_CAT_RETRY_OUTOFMEMORY_COUNTER              162
  141. #define SMTP_CAT_RETRY_DSLOGON_COUNTER                  164
  142. #define SMTP_CAT_RETRY_DSCONNECTION_COUNTER             166
  143. #define SMTP_CAT_RETRY_GENERIC_COUNTER                  168
  144. #define SMTP_CAT_MSGS_OUT_COUNTER                       170
  145. #define SMTP_CAT_MSGS_CREATED_COUNTER                   172
  146. #define SMTP_CAT_MSGS_ABORTED_COUNTER                   174
  147. #define SMTP_CAT_RECIPS_PRECAT_COUNTER                  176
  148. #define SMTP_CAT_RECIPS_POSTCAT_COUNTER                 178
  149. #define SMTP_CAT_RECIPS_NDRD_COUNTER                    180
  150. #define SMTP_CAT_RECIPS_UNRESOLVED_COUNTER              182
  151. #define SMTP_CAT_RECIPS_AMBIGUOUS_COUNTER               184
  152. #define SMTP_CAT_RECIPS_ILLEGAL_COUNTER                 186
  153. #define SMTP_CAT_RECIPS_LOOP_COUNTER                    188
  154. #define SMTP_CAT_RECIPS_GENERICFAILURE_COUNTER          190
  155. #define SMTP_CAT_RECIPS_INMEMORY_COUNTER                192
  156. #define SMTP_CAT_SENDERS_UNRESOLVED_COUNTER             194
  157. #define SMTP_CAT_SENDERS_AMBIGUOUS_COUNTER              196
  158. #define SMTP_CAT_ADDRESS_LOOKUPS_COUNTER                198
  159. #define SMTP_CAT_ADDRESS_LOOKUPS_PER_SEC_COUNTER        200
  160. #define SMTP_CAT_ADDRESS_LOOKUP_COMPLETIONS_COUNTER     202
  161. #define SMTP_CAT_ADDRESS_LOOKUP_COMPLETIONS_PER_SEC_COUNTER 204
  162. #define SMTP_CAT_ADDRESS_LOOKUPS_NOT_FOUND_COUNTER      206
  163. #define SMTP_CAT_MAILMSG_DUPLICATE_COLLISIONS_COUNTER   208
  164. #define SMTP_CAT_LDAP_CONNECTIONS_COUNTER               210
  165. #define SMTP_CAT_LDAP_CONNECTION_FAILURES_COUNTER       212
  166. #define SMTP_CAT_LDAP_OPEN_CONNECTIONS_COUNTER          214
  167. #define SMTP_CAT_LDAP_BINDS_COUNTER                     216
  168. #define SMTP_CAT_LDAP_BIND_FAILURES_COUNTER             218
  169. #define SMTP_CAT_LDAP_SEARCHES_COUNTER                  220
  170. #define SMTP_CAT_LDAP_SEARCHES_PER_SEC_COUNTER          222
  171. #define SMTP_CAT_LDAP_PAGED_SEARCHES_COUNTER            224
  172. #define SMTP_CAT_LDAP_SEARCH_FAILURES_COUNTER           226
  173. #define SMTP_CAT_LDAP_PAGED_SEARCH_FAILURES_COUNTER     228
  174. #define SMTP_CAT_LDAP_SEARCHES_COMPLETED_COUNTER        230
  175. #define SMTP_CAT_LDAP_SEARCHES_COMPLETED_PER_SEC_COUNTER 232
  176. #define SMTP_CAT_LDAP_PAGED_SEARCHES_COMPLETED_COUNTER  234
  177. #define SMTP_CAT_LDAP_SEARCHES_COMPLETED_FAILURE_COUNTER 236
  178. #define SMTP_CAT_LDAP_PAGED_SEARCHES_COMPLETED_FAILURE_COUNTER 238
  179. #define SMTP_CAT_LDAP_GENERAL_COMPLETION_FAILURES_COUNTER 240
  180. #define SMTP_CAT_LDAP_ABANDONED_SEARCHES_COUNTER        242
  181. #define SMTP_CAT_LDAP_PENDING_SEARCHES_COUNTER          244
  182.  
  183. // SERVICE_START
  184. // CONNECTION_START
  185. // LAST_CLEAR
  186.  
  187. #endif  // _SMTPCTRS_H_
  188.