home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / pelne / optionp / ims.cab / smtpctrs.h < prev    next >
C/C++ Source or Header  |  1997-10-12  |  4KB  |  124 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.  
  89. #define SMTP_MSG_SENT_TTL_COUNTER                        72
  90. #define SMTP_MSG_SENT_PER_SEC_COUNTER                    74
  91. #define SMTP_MSG_SEND_RETRIES_TTL_COUNTER                76
  92. #define SMTP_AVG_RETRIES_PER_MSG_SEND_COUNTER            78
  93. #define SMTP_BASE_AVG_RETRIES_PER_MSG_SEND_COUNTER        80
  94. #define SMTP_AVG_RCPTS_PER_MSG_SENT_COUNTER                82
  95. #define SMTP_BASE_AVG_RCPTS_PER_MSG_SENT_COUNTER        84
  96. #define SMTP_REMOTEQ_LENGTH_COUNTER                        86
  97.  
  98. #define SMTP_DNS_QUERIES_TTL_COUNTER                    88
  99. #define SMTP_DNS_QUERIES_PER_SEC_COUNTER                90
  100. #define SMTP_REMOTE_RETRY_QUEUE_LENGTH_COUNTER            92
  101. #define SMTP_PICKUP_QUEUE_LENGTH_COUNTER                94
  102.  
  103. #define SMTP_CONN_IN_TTL_COUNTER                        96
  104. #define SMTP_CONN_IN_CURR_COUNTER                        98
  105. #define SMTP_CONN_OUT_TTL_COUNTER                        100
  106. #define SMTP_CONN_OUT_CURR_COUNTER                        102
  107. #define SMTP_CONN_OUT_REFUSED_COUNTER                    104
  108.  
  109. #define SMTP_ERR_TTL_COUNTER                            106
  110. #define SMTP_ERR_PER_SEC_COUNTER                        108
  111.  
  112. #define SMTP_DIR_DROPS_TTL_COUNTER                        110
  113. #define SMTP_DIR_DROPS_PER_SEC_COUNTER                    112
  114. #define SMTP_RT_LOOKUPS_TTL_COUNTER                        114
  115. #define SMTP_RT_LOOKUPS_PER_SEC_COUNTER                    116
  116. #define SMTP_ETRN_MSGS_TTL_COUNTER                        118
  117. #define SMTP_ETRN_MSGS_PER_SEC_COUNTER                    120
  118.  
  119. // SERVICE_START
  120. // CONNECTION_START
  121. // LAST_CLEAR
  122.  
  123. #endif  // _SMTPCTRS_H_
  124.