nt_template.cfg
上传用户:shbosideng
上传日期:2013-05-04
资源大小:1555k
文件大小:10k
源码类别:

SNMP编程

开发平台:

C/C++

  1. WorkDir: e:inetpubwwwrootmrtgpagesyour-machine-name-here
  2. #IconDir: /systap/images/
  3. Title[^]: CPU #1 Usage (%) on Servers:
  4. Target[your-machine-name-here_DSK_C]: 1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.6.48.58.48.58.67.58&1.3.6.1.4.1.311.1.1.3.1.1.5.1.4.6.48.58.48.58.67.58:public@your-machine-name-here
  5. MaxBytes[your-machine-name-here_DSK_C]: 8700000
  6. Title[your-machine-name-here_DSK_C]: your-machine-name-here
  7. PageTop[your-machine-name-here_DSK_C]: <H2>Disk Space Remaining (MB) on C: on "your-machine-name-here"</H2>
  8. Options[your-machine-name-here_DSK_C]: gauge, absolute, growright
  9. Unscaled[your-machine-name-here_DSK_C]: dwmy
  10. XSize[your-machine-name-here_DSK_C]: 320
  11. YSize[your-machine-name-here_DSK_C]: 100
  12. YLegend[your-machine-name-here_DSK_C]: DISK Free (MB)
  13. ShortLegend[your-machine-name-here_DSK_C] : MB
  14. Legend1[your-machine-name-here_DSK_C]: Disk Space Available Available in MBytes
  15. Legend2[your-machine-name-here_DSK_C]: Disk Space Available Available in MBytes
  16. LegendI[your-machine-name-here_DSK_C]: DiskFree: 
  17. LegendO[your-machine-name-here_DSK_C]: DiskFree: 
  18. Target[your-machine-name-here_IP_STATS]: 1.3.6.1.4.1.311.1.1.3.1.1.10.2.0&1.3.6.1.4.1.311.1.1.3.1.1.10.9.0:public@your-machine-name-here
  19. MaxBytes[your-machine-name-here_IP_STATS]: 20
  20. AbsMax[your-machine-name-here_IP_STATS]: 30
  21. Title[your-machine-name-here_IP_STATS]: your-machine-name-here
  22. PageTop[your-machine-name-here_IP_STATS]: <H2>IP Datagram Statistics on "your-machine-name-here"</H2>
  23. Options[your-machine-name-here_IP_STATS]: gauge, nopercent, growright
  24. Unscaled[your-machine-name-here_IP_STATS]: dwmy
  25. #Supress[your-machine-name-here_IP_STATS]:dwmy
  26. XSize[your-machine-name-here_IP_STATS]: 320
  27. YSize[your-machine-name-here_IP_STATS]: 100
  28. YLegend[your-machine-name-here_IP_STATS]: Datagrams/Sec
  29. ShortLegend[your-machine-name-here_IP_STATS]: Datagrams
  30. Legend1[your-machine-name-here_IP_STATS]: IP Datagrams Received/Second
  31. Legend2[your-machine-name-here_IP_STATS]: IP Datagrams Sent/Second
  32. #Legend3[your-machine-name-here_IP_STATS]:
  33. #Legend4[your-machine-name-here_IP_STATS]:
  34. LegendI[your-machine-name-here_IP_STATS]: Recv'd: 
  35. LegendO[your-machine-name-here_IP_STATS]: Sent: 
  36. Target[your-machine-name-here_MEM]: 1.3.6.1.4.1.311.1.1.3.1.1.1.1.0&1.3.6.1.4.1.311.1.1.3.1.1.1.2.0:public@your-machine-name-here
  37. MaxBytes[your-machine-name-here_MEM]: 256000000
  38. AbsMax[your-machine-name-here_MEM]: 1024000000
  39. Title[your-machine-name-here_MEM]: your-machine-name-here
  40. PageTop[your-machine-name-here_MEM]: <H2>Memory: Available Bytes vs. Committed Bytes on "your-machine-name-here"</H2>
  41.  <H3>Dotted red line indicates physical memory actually installed (256MB)</H3>
  42. Options[your-machine-name-here_MEM]: gauge, absolute, growright 
  43. Unscaled[your-machine-name-here_MEM]: dwmy
  44. #Supress[your-machine-name-here_MEM]:dwmy
  45. XSize[your-machine-name-here_MEM]: 320
  46. YSize[your-machine-name-here_MEM]: 100
  47. YLegend[your-machine-name-here_MEM]: Bytes (MB)
  48. ShortLegend[your-machine-name-here_MEM]: Bytes
  49. Legend1[your-machine-name-here_MEM]: Memory Available in MBytes
  50. Legend2[your-machine-name-here_MEM]: Memory Committed in MBytes
  51. #Legend3[your-machine-name-here_MEM]:
  52. #Legend4[your-machine-name-here_MEM]:
  53. LegendI[your-machine-name-here_MEM]: Available:&nbsp
  54. LegendO[your-machine-name-here_MEM]: Committed:&nbsp
  55. Target[your-machine-name-here_NIC]: 2:public@your-machine-name-here
  56. MaxBytes[your-machine-name-here_NIC]: 1250000
  57. Title[your-machine-name-here_NIC]: your-machine-name-here
  58. PageTop[your-machine-name-here_NIC]: <H2>NIC Statistics on "your-machine-name-here"</H2>
  59. Options[your-machine-name-here_NIC]: bits, growright
  60. XSize[your-machine-name-here_NIC]: 320
  61. YSize[your-machine-name-here_NIC]: 100
  62. LegendI[your-machine-name-here_NIC]: Bytes-In: 
  63. LegendO[your-machine-name-here_NIC]: Bytes-Out: 
  64. #, growright
  65. Target[your-machine-name-here_Q_THREADS]: 1.3.6.1.4.1.311.1.1.3.1.1.18.1.3.14.66.108.111.99.107.105.110.103.32.81.117.101.117.101&1.3.6.1.4.1.311.1.1.3.1.1.18.1.4.14.66.108.111.99.107.105.110.103.32.81.117.101.117.101:public@your-machine-name-here
  66. MaxBytes[your-machine-name-here_Q_THREADS]: 20
  67. AbsMax[your-machine-name-here_Q_THREADS]: 30
  68. Title[your-machine-name-here_Q_THREADS]: your-machine-name-here
  69. PageTop[your-machine-name-here_Q_THREADS]: <H2>your-machine-name-here: Queue Length vs. Active Threads on "your-machine-name-here"</H2>
  70. Options[your-machine-name-here_Q_THREADS]: gauge, nopercent, growright
  71. Unscaled[your-machine-name-here_Q_THREADS]: dwmy
  72. #Supress[your-machine-name-here_Q_THREADS]:dwmy
  73. XSize[your-machine-name-here_Q_THREADS]: 320
  74. YSize[your-machine-name-here_Q_THREADS]: 100
  75. YLegend[your-machine-name-here_Q_THREADS]: Value
  76. ShortLegend[your-machine-name-here_Q_THREADS]: &nbsp; 
  77. Legend1[your-machine-name-here_Q_THREADS]: Server Queue Length
  78. Legend2[your-machine-name-here_Q_THREADS]: Server Active Threads
  79. #Legend3[your-machine-name-here_Q_THREADS]:
  80. #Legend4[your-machine-name-here_Q_THREADS]:
  81. LegendI[your-machine-name-here_Q_THREADS]: &nbsp;QueueLength:&nbsp
  82. LegendO[your-machine-name-here_Q_THREADS]: &nbsp;Threads:&nbsp
  83. Target[your-machine-name-here_CPU]: 1.3.6.1.4.1.311.1.1.3.1.1.2.1.5.0&1.3.6.1.4.1.311.1.1.3.1.1.2.1.4.0:public@your-machine-name-here
  84. MaxBytes[your-machine-name-here_CPU]: 100
  85. Title[your-machine-name-here_CPU]: your-machine-name-here
  86. PageTop[your-machine-name-here_CPU]: <H2>CPU #1 Usage (%) on "your-machine-name-here"</H2>
  87. Options[your-machine-name-here_CPU]: gauge, nopercent, absolute, growright
  88. Unscaled[your-machine-name-here_CPU]: dwmy
  89. #Supress[your-machine-name-here_CPU]:dwmy
  90. XSize[your-machine-name-here_CPU]: 320
  91. YSize[your-machine-name-here_CPU]: 100
  92. YLegend[your-machine-name-here_CPU]: CPU Usage (%)
  93. ShortLegend[your-machine-name-here_CPU]: %
  94. Legend1[your-machine-name-here_CPU]: Privileged (NT system) CPU use in percent
  95. Legend2[your-machine-name-here_CPU]: User (application) CPU use in percent
  96. #Legend3[your-machine-name-here_CPU]:
  97. #Legend4[your-machine-name-here_CPU]:
  98. LegendI[your-machine-name-here_CPU]: PrivCPU: 
  99. LegendO[your-machine-name-here_CPU]: UserCPU:
  100. #--------------------------------------------------pageflts
  101. Target[your-machine-name-here_MSMPFS]: 1.3.6.1.4.1.311.1.1.3.1.1.1.4.0&1.3.6.1.4.1.311.1.1.3.1.1.1.4.0:public@your-machine-name-here
  102. MaxBytes[your-machine-name-here_MSMPFS]: 50
  103. Title[your-machine-name-here_MSMPFS]: your-machine-name-here
  104. PageTop[your-machine-name-here_MSMPFS]: <H2>Memory Page Faults per Second on "your-machine-name-here"</H2>
  105. Options[your-machine-name-here_MSMPFS]: gauge, nopercent, absolute, growright
  106. Unscaled[your-machine-name-here_MSMPFS]: dwmy
  107. #Supress[your-machine-name-here_MSMPFS]:dwmy
  108. XSize[your-machine-name-here_MSMPFS]: 320
  109. YSize[your-machine-name-here_MSMPFS]: 100
  110. YLegend[your-machine-name-here_MSMPFS]: Pages Faults per Second
  111. ShortLegend[your-machine-name-here_MSMPFS]: PFS
  112. Legend1[your-machine-name-here_MSMPFS]: Memory Pages Faults per Second
  113. #Legend2[your-machine-name-here_MSMPFS]:
  114. #Legend3[your-machine-name-here_MSMPFS]:
  115. #Legend4[your-machine-name-here_MSMPFS]:
  116. LegendI[your-machine-name-here_MSMPFS]: MemPageFaults:&nbsp
  117. LegendO[your-machine-name-here_MSMPFS]: MemPageFaults:&nbsp
  118. #---------------------------------------------------pagespersec
  119. Target[your-machine-name-here_MEMPPS]: 1.3.6.1.4.1.311.1.1.3.1.1.1.9.0&1.3.6.1.4.1.311.1.1.3.1.1.1.9.0:public@your-machine-name-here
  120. MaxBytes[your-machine-name-here_MEMPPS]: 50
  121. Title[your-machine-name-here_MEMPPS]: your-machine-name-here
  122. PageTop[your-machine-name-here_MEMPPS]: <H2>Memory: Pages per Second on "your-machine-name-here"</H2>
  123. Options[your-machine-name-here_MEMPPS]: gauge, nopercent, absolute, growright
  124. Unscaled[your-machine-name-here_MEMPPS]: dwmy
  125. #Supress[your-machine-name-here_MEMPPS]:dwmy
  126. XSize[your-machine-name-here_MEMPPS]: 320
  127. YSize[your-machine-name-here_MEMPPS]: 100
  128. YLegend[your-machine-name-here_MEMPPS]: Pages per Second
  129. ShortLegend[your-machine-name-here_MEMPPS]: PPS
  130. Legend1[your-machine-name-here_MEMPPS]: Memory Pages per Second
  131. #Legend2[your-machine-name-here_MEMPPS]:
  132. #Legend3[your-machine-name-here_MEMPPS]:
  133. #Legend4[your-machine-name-here_MEMPPS]:
  134. LegendI[your-machine-name-here_MEMPPS]: MemPages: 
  135. LegendO[your-machine-name-here_MEMPPS]: MemPages: 
  136. #---------------------------------------------------pagereadspersec
  137. Target[your-machine-name-here_MEMPRS]: 1.3.6.1.4.1.311.1.1.3.1.1.1.11.0&1.3.6.1.4.1.311.1.1.3.1.1.1.11.0:public@your-machine-name-here
  138. MaxBytes[your-machine-name-here_MEMPRS]: 5
  139. AbsMax[your-machine-name-here_MEMPRS]: 25
  140. Title[your-machine-name-here_MEMPRS]: your-machine-name-here
  141. PageTop[your-machine-name-here_MEMPRS]: <H2>Memory: Page Reads (hard faults) per Second on "your-machine-name-here"
  142.  (sustained rate of 5 or more per second indicates RAM shortage and performance hit!) </H2>
  143. Options[your-machine-name-here_MEMPRS]: gauge, nopercent, absolute, growright
  144. Unscaled[your-machine-name-here_MEMPRS]: dwmy
  145. #Supress[your-machine-name-here_MEMPRS]:dwmy
  146. XSize[your-machine-name-here_MEMPRS]: 320
  147. YSize[your-machine-name-here_MEMPRS]: 100
  148. YLegend[your-machine-name-here_MEMPRS]: Page Reads per Second
  149. ShortLegend[your-machine-name-here_MEMPRS]: PRS
  150. Legend1[your-machine-name-here_MEMPRS]: Memory Page Reads per Second
  151. Legend2[your-machine-name-here_MEMPRS]: Memory Page Reads per Second
  152. #Legend3[your-machine-name-here_MEMPRS]:
  153. #Legend4[your-machine-name-here_MEMPRS]:
  154. LegendI[your-machine-name-here_MEMPRS]: MemPages: 
  155. LegendO[your-machine-name-here_MEMPRS]: MemPages: 
  156. #-------NEW---------NEW---------
  157. # My additional OID's
  158. # tcpCurrEstab/tcpAttemptFails 
  159. Title[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: your-machine-name-here
  160. PageTop[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: <H2>tcpCurrEstab/tcpAttemptFails on "your-machine-name-here"</H2>
  161. Target[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: 1.3.6.1.2.1.6.9.0&1.3.6.1.2.1.6.7.0:public@your-machine-name-here
  162. MaxBytes[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: 1250000
  163. Options[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: gauge, nopercent, absolute, growright
  164. XSize[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: 320
  165. YSize[your-machine-name-here_tcpCurrEstab__tcpAttemptFails]: 100