Guest User

Zabbix 5 template for MSSQL 2012 + with perf_counter_en

a guest
Jun 2nd, 2020
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 111.49 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <zabbix_export>
  3.     <version>5.0</version>
  4.     <date>2020-06-02T06:32:55Z</date>
  5.     <groups>
  6.         <group>
  7.             <name>Templates</name>
  8.         </group>
  9.     </groups>
  10.     <templates>
  11.         <template>
  12.             <template>Template DB MS SQL 2012</template>
  13.             <name>Template DB MS SQL 2012</name>
  14.             <groups>
  15.                 <group>
  16.                     <name>Templates</name>
  17.                 </group>
  18.             </groups>
  19.             <applications>
  20.                 <application>
  21.                     <name>MS SQL</name>
  22.                 </application>
  23.                 <application>
  24.                     <name>MS SQL Memory</name>
  25.                 </application>
  26.                 <application>
  27.                     <name>MS SQL Physical Disk</name>
  28.                 </application>
  29.                 <application>
  30.                     <name>MS SQL Processor</name>
  31.                 </application>
  32.                 <application>
  33.                     <name>MS SQL Server</name>
  34.                 </application>
  35.                 <application>
  36.                     <name>MS SQL Services</name>
  37.                 </application>
  38.                 <application>
  39.                     <name>MS SQL Statistics</name>
  40.                 </application>
  41.             </applications>
  42.             <items>
  43.                 <item>
  44.                     <name>MS SQL Server Version</name>
  45.                     <key>mssql.version</key>
  46.                     <delay>12h</delay>
  47.                     <trends>0</trends>
  48.                     <value_type>TEXT</value_type>
  49.                     <inventory_link>SOFTWARE_APP_D</inventory_link>
  50.                     <applications>
  51.                         <application>
  52.                             <name>MS SQL Server</name>
  53.                         </application>
  54.                     </applications>
  55.                     <triggers>
  56.                         <trigger>
  57.                             <expression>{diff(0)}&lt;&gt;0</expression>
  58.                             <name>SQL Server general information was changed on {HOST.NAME}</name>
  59.                             <priority>INFO</priority>
  60.                         </trigger>
  61.                     </triggers>
  62.                 </item>
  63.                 <item>
  64.                     <name>SQL Server: Port Availability</name>
  65.                     <type>SIMPLE</type>
  66.                     <key>net.tcp.service[tcp,,1433]</key>
  67.                     <description>Test the availability of MS SQL Server on TCP port 1433.</description>
  68.                     <applications>
  69.                         <application>
  70.                             <name>MS SQL Server</name>
  71.                         </application>
  72.                     </applications>
  73.                     <valuemap>
  74.                         <name>Service state</name>
  75.                     </valuemap>
  76.                     <triggers>
  77.                         <trigger>
  78.                             <expression>{last()}=0</expression>
  79.                             <name>SQL Server port is Down on {HOST.NAME}</name>
  80.                             <priority>DISASTER</priority>
  81.                             <dependencies>
  82.                                 <dependency>
  83.                                     <name>SQL: Service State - SQL Server</name>
  84.                                     <expression>{Template DB MS SQL 2012:service_state[MSSQLSERVER].last()}&lt;&gt;0</expression>
  85.                                 </dependency>
  86.                             </dependencies>
  87.                         </trigger>
  88.                     </triggers>
  89.                 </item>
  90.                 <item>
  91.                     <name>SQL Server: % Processor Time</name>
  92.                     <key>perf_counter_en[&quot;\Process(sqlservr)\% Processor Time&quot;]</key>
  93.                     <delay>60s</delay>
  94.                     <value_type>FLOAT</value_type>
  95.                     <units>%</units>
  96.                     <description>% Processor Time is the percentage of elapsed time that all of the threads of this process used the processor to execute instructions.</description>
  97.                     <applications>
  98.                         <application>
  99.                             <name>MS SQL Processor</name>
  100.                         </application>
  101.                     </applications>
  102.                 </item>
  103.                 <item>
  104.                     <name>SQL Server: Number of Failed Jobs</name>
  105.                     <key>perf_counter_en[&quot;\SQLAgent:Jobs(_Total)\Failed jobs&quot;]</key>
  106.                     <delay>1h</delay>
  107.                     <description>The number of jobs with a last run status of Failed.</description>
  108.                     <applications>
  109.                         <application>
  110.                             <name>MS SQL Statistics</name>
  111.                         </application>
  112.                     </applications>
  113.                 </item>
  114.                 <item>
  115.                     <name>SQL Server, Access Methods: Forwarded Records per second</name>
  116.                     <key>perf_counter_en[&quot;\SQLServer:Access Methods\Forwarded Records/sec&quot;]</key>
  117.                     <delay>60s</delay>
  118.                     <value_type>FLOAT</value_type>
  119.                     <description>Number of records per second fetched through forwarded record pointers.&#13;
  120. &#13;
  121. Количество записей, выбранных с помощью перенаправленных указателей записей.</description>
  122.                     <applications>
  123.                         <application>
  124.                             <name>MS SQL Statistics</name>
  125.                         </application>
  126.                     </applications>
  127.                 </item>
  128.                 <item>
  129.                     <name>SQL Server, Access Methods: Full Scans/sec</name>
  130.                     <key>perf_counter_en[&quot;\SQLServer:Access Methods\Full Scans/sec&quot;]</key>
  131.                     <delay>60s</delay>
  132.                     <value_type>FLOAT</value_type>
  133.                     <description>Number of unrestricted full scans per second. These can be either base-table or full-index scans.&#13;
  134. &#13;
  135. Количество полных просмотров без ограничений. Это могут быть как просмотры базовой таблицы, так и полные просмотры индекса.</description>
  136.                     <applications>
  137.                         <application>
  138.                             <name>MS SQL Statistics</name>
  139.                         </application>
  140.                     </applications>
  141.                 </item>
  142.                 <item>
  143.                     <name>SQL Server, Access Methods: Index Searches/sec</name>
  144.                     <key>perf_counter_en[&quot;\SQLServer:Access Methods\Index Searches/sec&quot;]</key>
  145.                     <delay>60s</delay>
  146.                     <value_type>FLOAT</value_type>
  147.                     <description>Number of index searches per second. These are used to start a range scan, reposition a range scan, revalidate a scan point, fetch a single index record, and search down the index to locate where to insert a new row.&#13;
  148. &#13;
  149. Количество поисков по индексу. Поиски по индексу используются для запуска просмотров диапазона, выборки отдельных записей индекса, а также для перестановок внутри индекса.</description>
  150.                     <applications>
  151.                         <application>
  152.                             <name>MS SQL Statistics</name>
  153.                         </application>
  154.                     </applications>
  155.                 </item>
  156.                 <item>
  157.                     <name>SQL Server, Access Methods: Page Splits/sec</name>
  158.                     <key>perf_counter_en[&quot;\SQLServer:Access Methods\Page Splits/sec&quot;]</key>
  159.                     <delay>60s</delay>
  160.                     <value_type>FLOAT</value_type>
  161.                     <description>Number of page splits per second that occur as the result of overflowing index pages.&#13;
  162. &#13;
  163. Количество разбиений страниц в секунду как результат переполнения страниц индекса.</description>
  164.                     <applications>
  165.                         <application>
  166.                             <name>MS SQL Statistics</name>
  167.                         </application>
  168.                     </applications>
  169.                 </item>
  170.                 <item>
  171.                     <name>SQL Server, Access Methods: Work files created/sec</name>
  172.                     <key>perf_counter_en[&quot;\SQLServer:Access Methods\Workfiles Created/sec&quot;]</key>
  173.                     <delay>60s</delay>
  174.                     <value_type>FLOAT</value_type>
  175.                     <description>Number of work files created per second. For example, work files could be used to store temporary results for hash joins and hash aggregates.&#13;
  176. &#13;
  177. Количество рабочих файлов, создаваемых в секунду. Рабочие файлы могут использоваться, например, для хранения временных результатов хэш-соединений и статистических хэш-выражений.</description>
  178.                     <applications>
  179.                         <application>
  180.                             <name>MS SQL Statistics</name>
  181.                         </application>
  182.                     </applications>
  183.                     <triggers>
  184.                         <trigger>
  185.                             <expression>{last()}&gt;300</expression>
  186.                             <name>SQL Server, Access Methods: Work files created/sec</name>
  187.                             <priority>AVERAGE</priority>
  188.                         </trigger>
  189.                     </triggers>
  190.                 </item>
  191.                 <item>
  192.                     <name>SQL Server, Access Methods: Work tables created/sec</name>
  193.                     <key>perf_counter_en[&quot;\SQLServer:Access Methods\Worktables Created/sec&quot;]</key>
  194.                     <delay>60s</delay>
  195.                     <value_type>FLOAT</value_type>
  196.                     <description>Number of work tables created per second. For example, work tables could be used to store temporary results for query spool, lob variables, XML variables, and cursors.&#13;
  197. &#13;
  198. Количество рабочих таблиц, создаваемых в секунду. Рабочие таблицы могут использоваться, например, для хранения временных результатов поиска по запросу, переменных больших объемов, переменных XML и курсоров.</description>
  199.                     <applications>
  200.                         <application>
  201.                             <name>MS SQL Statistics</name>
  202.                         </application>
  203.                     </applications>
  204.                     <triggers>
  205.                         <trigger>
  206.                             <expression>{last()}&gt;50</expression>
  207.                             <name>SQL Server, Access Methods: Work tables created/sec</name>
  208.                             <priority>AVERAGE</priority>
  209.                         </trigger>
  210.                     </triggers>
  211.                 </item>
  212.                 <item>
  213.                     <name>SQL Server, Buffer Manager: % Buffer cache hit ratio</name>
  214.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Buffer cache hit ratio&quot;]</key>
  215.                     <delay>60s</delay>
  216.                     <value_type>FLOAT</value_type>
  217.                     <units>%</units>
  218.                     <description>Indicates the percentage of pages found in the buffer cache without having to read from disk. The ratio is the total number of cache hits divided by the total number of cache lookups over the last few thousand page accesses. After a long period of time, the ratio moves very little. Because reading from the cache is much less expensive than reading from disk, you want this ratio to be high. Generally, you can increase the buffer cache hit ratio by increasing the amount of memory available to SQL Server or by using the buffer pool extension feature.</description>
  219.                     <applications>
  220.                         <application>
  221.                             <name>MS SQL Memory</name>
  222.                         </application>
  223.                     </applications>
  224.                     <triggers>
  225.                         <trigger>
  226.                             <expression>{last()}&lt;30</expression>
  227.                             <name>SQL Server, Buffer Manager: Buffer cache hit ratio</name>
  228.                             <priority>HIGH</priority>
  229.                         </trigger>
  230.                         <trigger>
  231.                             <expression>{last()}&lt;50</expression>
  232.                             <name>SQL Server, Buffer Manager: Buffer cache hit ratio</name>
  233.                             <priority>WARNING</priority>
  234.                         </trigger>
  235.                     </triggers>
  236.                 </item>
  237.                 <item>
  238.                     <name>SQL Server, Buffer Manager: Checkpoint pages/sec</name>
  239.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Checkpoint pages/sec&quot;]</key>
  240.                     <delay>60s</delay>
  241.                     <value_type>FLOAT</value_type>
  242.                     <description>Indicates the number of pages flushed to disk per second by a checkpoint or other operation that require all dirty pages to be flushed.&#13;
  243. &#13;
  244. Количество страниц, записанных на диск контрольными точками или другими операциями, для которых необходимо, чтобы все &quot;грязные&quot; страницы были записаны на диск.</description>
  245.                     <applications>
  246.                         <application>
  247.                             <name>MS SQL Memory</name>
  248.                         </application>
  249.                     </applications>
  250.                 </item>
  251.                 <item>
  252.                     <name>SQL Server, Buffer Manager: Database pages</name>
  253.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Database pages&quot;]</key>
  254.                     <delay>60s</delay>
  255.                     <value_type>FLOAT</value_type>
  256.                     <description>Indicates the number of pages in the buffer pool with database content.&#13;
  257. &#13;
  258. Количество страниц в буферном пуле, занятых содержимым базы данных.</description>
  259.                     <applications>
  260.                         <application>
  261.                             <name>MS SQL Memory</name>
  262.                         </application>
  263.                     </applications>
  264.                 </item>
  265.                 <item>
  266.                     <name>SQL Server, Buffer Manager: Free list stalls/sec</name>
  267.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Free list stalls/sec&quot;]</key>
  268.                     <delay>60s</delay>
  269.                     <value_type>FLOAT</value_type>
  270.                     <description>Indicates the number of requests per second that had to wait for a free page.&#13;
  271. &#13;
  272. Количество запросов, ожидающих свободную страницу.</description>
  273.                     <applications>
  274.                         <application>
  275.                             <name>MS SQL Memory</name>
  276.                         </application>
  277.                     </applications>
  278.                     <triggers>
  279.                         <trigger>
  280.                             <expression>{last()}&gt;2</expression>
  281.                             <name>SQL Server, Buffer Manager: Free list stalls/sec</name>
  282.                             <priority>WARNING</priority>
  283.                         </trigger>
  284.                     </triggers>
  285.                 </item>
  286.                 <item>
  287.                     <name>SQL Server, Buffer Manager: Lazy writes/sec</name>
  288.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Lazy writes/sec&quot;]</key>
  289.                     <delay>60s</delay>
  290.                     <value_type>FLOAT</value_type>
  291.                     <description>Indicates the number of buffers written per second by the buffer manager's lazy writer. The lazy writer is a system process that flushes out batches of dirty, aged buffers (buffers that contain changes that must be written back to disk before the buffer can be reused for a different page) and makes them available to user processes. The lazy writer eliminates the need to perform frequent checkpoints in order to create available buffers.&#13;
  292. &#13;
  293. Количество буферов, записанных модулем отложенной записи диспетчера буферов.</description>
  294.                     <applications>
  295.                         <application>
  296.                             <name>MS SQL Memory</name>
  297.                         </application>
  298.                     </applications>
  299.                     <triggers>
  300.                         <trigger>
  301.                             <expression>{last()}&gt;20</expression>
  302.                             <name>SQL Server, Buffer Manager: Lazy writes/sec</name>
  303.                             <priority>WARNING</priority>
  304.                         </trigger>
  305.                     </triggers>
  306.                 </item>
  307.                 <item>
  308.                     <name>SQL Server, Buffer Manager: Page life expectancy</name>
  309.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page life expectancy&quot;]</key>
  310.                     <delay>60s</delay>
  311.                     <value_type>FLOAT</value_type>
  312.                     <units>min</units>
  313.                     <description>Indicates the number of seconds a page will stay in the buffer pool without references.&#13;
  314. &#13;
  315. Количество секунд, в течение которых страница остается в буферном пуле без ссылок на нее.</description>
  316.                     <applications>
  317.                         <application>
  318.                             <name>MS SQL Memory</name>
  319.                         </application>
  320.                     </applications>
  321.                     <preprocessing>
  322.                         <step>
  323.                             <type>MULTIPLIER</type>
  324.                             <params>0.01667</params>
  325.                         </step>
  326.                     </preprocessing>
  327.                     <triggers>
  328.                         <trigger>
  329.                             <expression>{last()}&lt;5</expression>
  330.                             <name>SQL Server, Buffer Manager: Page life expectancy</name>
  331.                             <priority>HIGH</priority>
  332.                         </trigger>
  333.                     </triggers>
  334.                 </item>
  335.                 <item>
  336.                     <name>SQL Server, Buffer Manager: Page lookups/sec</name>
  337.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page lookups/sec&quot;]</key>
  338.                     <delay>60s</delay>
  339.                     <value_type>FLOAT</value_type>
  340.                     <description>Indicates the number of requests per second to find a page in the buffer pool.&#13;
  341. &#13;
  342. Количество запросов на поиск страницы в буферном пуле.</description>
  343.                     <applications>
  344.                         <application>
  345.                             <name>MS SQL Memory</name>
  346.                         </application>
  347.                     </applications>
  348.                 </item>
  349.                 <item>
  350.                     <name>SQL Server, Buffer Manager: Page reads/sec</name>
  351.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page reads/sec&quot;]</key>
  352.                     <delay>60s</delay>
  353.                     <value_type>FLOAT</value_type>
  354.                     <description>Indicates the number of physical database page reads that are issued per second. This statistic displays the total number of physical page reads across all databases. Because physical I/O is expensive, you may be able to minimize the cost, either by using a larger data cache, intelligent indexes, and more efficient queries, or by changing the database design.&#13;
  355. &#13;
  356. Количество физических операций чтения страниц базы данных.</description>
  357.                     <applications>
  358.                         <application>
  359.                             <name>MS SQL Memory</name>
  360.                         </application>
  361.                     </applications>
  362.                     <triggers>
  363.                         <trigger>
  364.                             <expression>{last()}&gt;90</expression>
  365.                             <name>SQL Server, Buffer Manager: Page reads/sec</name>
  366.                             <priority>WARNING</priority>
  367.                         </trigger>
  368.                     </triggers>
  369.                 </item>
  370.                 <item>
  371.                     <name>SQL Server, Buffer Manager: Page writes/sec</name>
  372.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page writes/sec&quot;]</key>
  373.                     <delay>60s</delay>
  374.                     <value_type>FLOAT</value_type>
  375.                     <description>Indicates the number of physical database page writes that are issued per second.&#13;
  376. &#13;
  377. Количество физических операций записи страниц базы данных.</description>
  378.                     <applications>
  379.                         <application>
  380.                             <name>MS SQL Memory</name>
  381.                         </application>
  382.                     </applications>
  383.                     <triggers>
  384.                         <trigger>
  385.                             <expression>{last()}&gt;90</expression>
  386.                             <name>SQL Server, Buffer Manager: Page writes/sec</name>
  387.                             <priority>WARNING</priority>
  388.                         </trigger>
  389.                     </triggers>
  390.                 </item>
  391.                 <item>
  392.                     <name>SQL Server, Buffer Manager: Read-ahead pages/sec</name>
  393.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Readahead pages/sec&quot;]</key>
  394.                     <delay>60s</delay>
  395.                     <value_type>FLOAT</value_type>
  396.                     <description>Indicates the number of pages read per second in anticipation of use.&#13;
  397. &#13;
  398. Количество страниц, считанных для упреждения использования.</description>
  399.                     <applications>
  400.                         <application>
  401.                             <name>MS SQL Memory</name>
  402.                         </application>
  403.                     </applications>
  404.                 </item>
  405.                 <item>
  406.                     <name>SQL Server, Buffer Manager: Target pages</name>
  407.                     <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Target pages&quot;]</key>
  408.                     <delay>60s</delay>
  409.                     <value_type>FLOAT</value_type>
  410.                     <description>The optimum number of pages in the buffer pool.&#13;
  411. &#13;
  412. Оптимальное количество страниц в буферном пуле.</description>
  413.                     <applications>
  414.                         <application>
  415.                             <name>MS SQL Memory</name>
  416.                         </application>
  417.                     </applications>
  418.                 </item>
  419.                 <item>
  420.                     <name>SQL Server: Data File Size (Total)</name>
  421.                     <key>perf_counter_en[&quot;\SQLServer:Databases(_Total)\Data File(s) Size (KB)&quot;]</key>
  422.                     <delay>5m</delay>
  423.                     <value_type>FLOAT</value_type>
  424.                     <units>B</units>
  425.                     <description>Total size (in kilobytes) of all the data files.</description>
  426.                     <applications>
  427.                         <application>
  428.                             <name>MS SQL Physical Disk</name>
  429.                         </application>
  430.                     </applications>
  431.                 </item>
  432.                 <item>
  433.                     <name>SQL Server: Log File Size (Total)</name>
  434.                     <key>perf_counter_en[&quot;\SQLServer:Databases(_Total)\Log File(s) Size (KB)&quot;]</key>
  435.                     <delay>5m</delay>
  436.                     <value_type>FLOAT</value_type>
  437.                     <units>B</units>
  438.                     <description>Total size (in kilobytes) of all the transaction log files.</description>
  439.                     <applications>
  440.                         <application>
  441.                             <name>MS SQL Physical Disk</name>
  442.                         </application>
  443.                     </applications>
  444.                 </item>
  445.                 <item>
  446.                     <name>SQL Server: Log File Used Size (Total)</name>
  447.                     <key>perf_counter_en[&quot;\SQLServer:Databases(_Total)\Log File(s) Used Size (KB)&quot;]</key>
  448.                     <delay>5m</delay>
  449.                     <value_type>FLOAT</value_type>
  450.                     <units>B</units>
  451.                     <description>The cumulative used size of all the log files in the database.</description>
  452.                     <applications>
  453.                         <application>
  454.                             <name>MS SQL Physical Disk</name>
  455.                         </application>
  456.                     </applications>
  457.                 </item>
  458.                 <item>
  459.                     <name>SQL Server: Transactions per second (Total)</name>
  460.                     <key>perf_counter_en[&quot;\SQLServer:Databases(_Total)\Transactions/sec&quot;]</key>
  461.                     <delay>60s</delay>
  462.                     <value_type>FLOAT</value_type>
  463.                     <description>Total number of transactions started for all databases per second.</description>
  464.                     <applications>
  465.                         <application>
  466.                             <name>MS SQL Statistics</name>
  467.                         </application>
  468.                     </applications>
  469.                 </item>
  470.                 <item>
  471.                     <name>SQL Server: Logins/sec</name>
  472.                     <key>perf_counter_en[&quot;\SQLServer:General Statistics\Logins/sec&quot;]</key>
  473.                     <delay>60s</delay>
  474.                     <value_type>FLOAT</value_type>
  475.                     <description>Total number of logins started per second. This does not include pooled connections.&#13;
  476. &#13;
  477. Общее количество входов в систему, произведенных за секунду.</description>
  478.                     <applications>
  479.                         <application>
  480.                             <name>MS SQL Server</name>
  481.                         </application>
  482.                     </applications>
  483.                 </item>
  484.                 <item>
  485.                     <name>SQL Server: Logouts/sec</name>
  486.                     <key>perf_counter_en[&quot;\SQLServer:General Statistics\Logouts/sec&quot;]</key>
  487.                     <delay>60s</delay>
  488.                     <value_type>FLOAT</value_type>
  489.                     <description>Total number of logout operations started per second.&#13;
  490. &#13;
  491. Общее количество выходов из системы, произведенных за секунду.</description>
  492.                     <applications>
  493.                         <application>
  494.                             <name>MS SQL Server</name>
  495.                         </application>
  496.                     </applications>
  497.                 </item>
  498.                 <item>
  499.                     <name>SQL Server: Number of Blocked Processes</name>
  500.                     <key>perf_counter_en[&quot;\SQLServer:General Statistics\Processes blocked&quot;]</key>
  501.                     <delay>60s</delay>
  502.                     <value_type>FLOAT</value_type>
  503.                     <description>Number of currently blocked processes.&#13;
  504. &#13;
  505. Количество процессов, заблокированных в текущий момент.</description>
  506.                     <applications>
  507.                         <application>
  508.                             <name>MS SQL Server</name>
  509.                         </application>
  510.                     </applications>
  511.                 </item>
  512.                 <item>
  513.                     <name>SQL Server: Number Users Connected</name>
  514.                     <key>perf_counter_en[&quot;\SQLServer:General Statistics\User Connections&quot;]</key>
  515.                     <description>Number of users connected to MS SQL Server.</description>
  516.                     <applications>
  517.                         <application>
  518.                             <name>MS SQL Server</name>
  519.                         </application>
  520.                     </applications>
  521.                 </item>
  522.                 <item>
  523.                     <name>SQL Server, Latches: Average Latch Wait Time</name>
  524.                     <key>perf_counter_en[&quot;\SQLServer:Latches\Average Latch Wait Time (ms)&quot;]</key>
  525.                     <delay>60s</delay>
  526.                     <value_type>FLOAT</value_type>
  527.                     <units>ms</units>
  528.                     <description>Average latch wait time (in milliseconds) for latch requests that had to wait.&#13;
  529. &#13;
  530. Среднее время ожидания (мс) для запросов кратковременной блокировки.</description>
  531.                     <applications>
  532.                         <application>
  533.                             <name>MS SQL Statistics</name>
  534.                         </application>
  535.                     </applications>
  536.                 </item>
  537.                 <item>
  538.                     <name>SQL Server, Latches: Latch Waits/sec</name>
  539.                     <key>perf_counter_en[&quot;\SQLServer:Latches\Latch Waits/sec&quot;]</key>
  540.                     <delay>60s</delay>
  541.                     <value_type>FLOAT</value_type>
  542.                     <description>Number of latch requests that could not be granted immediately.&#13;
  543. &#13;
  544. Количество запросов кратковременной блокировки, которые не удалось выполнить немедленно и которые ожидали перед предоставлением кратковременной блокировки.</description>
  545.                     <applications>
  546.                         <application>
  547.                             <name>MS SQL Statistics</name>
  548.                         </application>
  549.                     </applications>
  550.                 </item>
  551.                 <item>
  552.                     <name>SQL Server, Latches: Total Latch Wait Time</name>
  553.                     <key>perf_counter_en[&quot;\SQLServer:Latches\Total Latch Wait Time (ms)&quot;]</key>
  554.                     <delay>60s</delay>
  555.                     <value_type>FLOAT</value_type>
  556.                     <units>ms</units>
  557.                     <description>Total latch wait time (in milliseconds) for latch requests in the last second.&#13;
  558. &#13;
  559. Общее время ожидания (мс) для запросов кратковременной блокировки в течение последней секунды.</description>
  560.                     <applications>
  561.                         <application>
  562.                             <name>MS SQL Statistics</name>
  563.                         </application>
  564.                     </applications>
  565.                 </item>
  566.                 <item>
  567.                     <name>SQL Server, Locks: Average Wait Time (Total)</name>
  568.                     <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Average Wait Time (ms)&quot;]</key>
  569.                     <delay>60s</delay>
  570.                     <value_type>FLOAT</value_type>
  571.                     <units>ms</units>
  572.                     <description>Total wait time (in milliseconds) for locks in the last second.&#13;
  573. &#13;
  574. Среднее время ожидания (в миллисекундах) для всех ждавших запросов блокировки.</description>
  575.                     <applications>
  576.                         <application>
  577.                             <name>MS SQL Statistics</name>
  578.                         </application>
  579.                     </applications>
  580.                     <triggers>
  581.                         <trigger>
  582.                             <expression>{last()}&gt;500</expression>
  583.                             <name>SQL Server, Locks: Average Wait Time (Total)</name>
  584.                             <priority>WARNING</priority>
  585.                         </trigger>
  586.                     </triggers>
  587.                 </item>
  588.                 <item>
  589.                     <name>SQL Server, Locks: Lock Requests/sec (Total)</name>
  590.                     <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Requests/sec&quot;]</key>
  591.                     <delay>60s</delay>
  592.                     <value_type>FLOAT</value_type>
  593.                     <description>Number of new locks and lock conversions per second requested from the lock manager.&#13;
  594. &#13;
  595. Количество новых блокировок и преобразований блокировок, запрошенных у диспетчера блокировок.</description>
  596.                     <applications>
  597.                         <application>
  598.                             <name>MS SQL Statistics</name>
  599.                         </application>
  600.                     </applications>
  601.                     <triggers>
  602.                         <trigger>
  603.                             <expression>{last()}&gt;3000</expression>
  604.                             <name>SQL Server, Locks: Lock Requests/sec (Total)</name>
  605.                             <priority>WARNING</priority>
  606.                         </trigger>
  607.                     </triggers>
  608.                 </item>
  609.                 <item>
  610.                     <name>SQL Server, Locks: Lock Timeouts/sec (Total)</name>
  611.                     <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Timeouts/sec&quot;]</key>
  612.                     <delay>60s</delay>
  613.                     <value_type>FLOAT</value_type>
  614.                     <description>Number of lock requests per second that timed out, including requests for NOWAIT locks.&#13;
  615. &#13;
  616. Количество запросов блокировки, время ожидания которых истекло, включая запросы блокировок NOWAIT.</description>
  617.                     <applications>
  618.                         <application>
  619.                             <name>MS SQL Statistics</name>
  620.                         </application>
  621.                     </applications>
  622.                     <triggers>
  623.                         <trigger>
  624.                             <expression>{last()}&gt;1</expression>
  625.                             <name>SQL Server, Locks: Lock Timeouts/sec (Total)</name>
  626.                             <priority>WARNING</priority>
  627.                         </trigger>
  628.                     </triggers>
  629.                 </item>
  630.                 <item>
  631.                     <name>SQL Server, Locks: Lock Waits per second (Total)</name>
  632.                     <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Waits/sec&quot;]</key>
  633.                     <delay>60s</delay>
  634.                     <value_type>FLOAT</value_type>
  635.                     <description>Number of lock requests per second that required the caller to wait.&#13;
  636. &#13;
  637. Количество запросов блокировки, которые не были выполнены немедленно и ожидали предоставления блокировки.</description>
  638.                     <applications>
  639.                         <application>
  640.                             <name>MS SQL Statistics</name>
  641.                         </application>
  642.                     </applications>
  643.                 </item>
  644.                 <item>
  645.                     <name>SQL Server, Locks: Lock Wait Time (Total)</name>
  646.                     <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Wait Time (ms)&quot;]</key>
  647.                     <delay>60s</delay>
  648.                     <value_type>FLOAT</value_type>
  649.                     <units>ms</units>
  650.                     <description>Average amount of wait time (in milliseconds) for each lock request that resulted in a wait.&#13;
  651. &#13;
  652. Общее время ожидания (мс) блокировок за последнюю секунду.</description>
  653.                     <applications>
  654.                         <application>
  655.                             <name>MS SQL Statistics</name>
  656.                         </application>
  657.                     </applications>
  658.                 </item>
  659.                 <item>
  660.                     <name>SQL Server, Locks: Number of Deadlocks/sec (Total)</name>
  661.                     <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Number of Deadlocks/sec&quot;]</key>
  662.                     <delay>60s</delay>
  663.                     <value_type>FLOAT</value_type>
  664.                     <description>Number of lock requests per second that resulted in a deadlock.&#13;
  665. &#13;
  666. Количество запросов блокировки, приведших к взаимоблокировкам.</description>
  667.                     <applications>
  668.                         <application>
  669.                             <name>MS SQL Statistics</name>
  670.                         </application>
  671.                     </applications>
  672.                     <triggers>
  673.                         <trigger>
  674.                             <expression>{last()}&lt;&gt;0</expression>
  675.                             <name>SQL Server: Deadlocks exists on the {HOST.NAME}</name>
  676.                             <priority>AVERAGE</priority>
  677.                         </trigger>
  678.                     </triggers>
  679.                 </item>
  680.                 <item>
  681.                     <name>SQL Server, Memory Manager: Granted Workspace Memory</name>
  682.                     <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Granted Workspace Memory (KB)&quot;]</key>
  683.                     <delay>60s</delay>
  684.                     <value_type>FLOAT</value_type>
  685.                     <units>B</units>
  686.                     <description>Specifies the total amount of memory currently granted to executing processes, such as hash, sort, bulk copy, and index creation operations.&#13;
  687. &#13;
  688. Общий объем памяти, выделенной выполняющимся процессам. Эта память используется для операций хэширования, сортировки и создания курсоров.</description>
  689.                     <applications>
  690.                         <application>
  691.                             <name>MS SQL Memory</name>
  692.                         </application>
  693.                     </applications>
  694.                     <preprocessing>
  695.                         <step>
  696.                             <type>MULTIPLIER</type>
  697.                             <params>1024</params>
  698.                         </step>
  699.                     </preprocessing>
  700.                 </item>
  701.                 <item>
  702.                     <name>SQL Server, Memory Manager: Maximum Workspace Memory</name>
  703.                     <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Maximum Workspace Memory (KB)&quot;]</key>
  704.                     <delay>60s</delay>
  705.                     <value_type>FLOAT</value_type>
  706.                     <units>B</units>
  707.                     <description>Indicates the maximum amount of memory available for executing processes, such as hash, sort, bulk copy, and index creation operations.&#13;
  708. &#13;
  709. Общий объем памяти, доступный для выделения выполняющимся процессам. Эта память используется главным образом для хэширования, сортировки и создания операций с индексами.</description>
  710.                     <applications>
  711.                         <application>
  712.                             <name>MS SQL Memory</name>
  713.                         </application>
  714.                     </applications>
  715.                     <preprocessing>
  716.                         <step>
  717.                             <type>MULTIPLIER</type>
  718.                             <params>1024</params>
  719.                         </step>
  720.                     </preprocessing>
  721.                 </item>
  722.                 <item>
  723.                     <name>SQL Server, Memory Manager: Memory Grants Outstanding</name>
  724.                     <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Memory Grants Outstanding&quot;]</key>
  725.                     <delay>60s</delay>
  726.                     <value_type>FLOAT</value_type>
  727.                     <description>Specifies the total number of processes that have successfully acquired a workspace memory grant.&#13;
  728. &#13;
  729. Текущее количество процессов, успешно получивших память для рабочего пространства</description>
  730.                     <applications>
  731.                         <application>
  732.                             <name>MS SQL Memory</name>
  733.                         </application>
  734.                     </applications>
  735.                 </item>
  736.                 <item>
  737.                     <name>SQL Server, Memory Manager: Memory Grants Pending</name>
  738.                     <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Memory Grants Pending&quot;]</key>
  739.                     <delay>60s</delay>
  740.                     <value_type>FLOAT</value_type>
  741.                     <description>Specifies the total number of processes waiting for a workspace memory grant.&#13;
  742. &#13;
  743. Текущее количество процессов, ожидающих выделения памяти под рабочее пространство</description>
  744.                     <applications>
  745.                         <application>
  746.                             <name>MS SQL Memory</name>
  747.                         </application>
  748.                     </applications>
  749.                 </item>
  750.                 <item>
  751.                     <name>SQL Server, Memory Manager: Target Server Memory</name>
  752.                     <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Target Server Memory (KB)&quot;]</key>
  753.                     <delay>60s</delay>
  754.                     <value_type>FLOAT</value_type>
  755.                     <units>B</units>
  756.                     <description>Indicates the ideal amount of memory the server can consume.&#13;
  757. &#13;
  758. Объем памяти, необходимой серверу в идеальном случае</description>
  759.                     <applications>
  760.                         <application>
  761.                             <name>MS SQL Memory</name>
  762.                         </application>
  763.                     </applications>
  764.                     <preprocessing>
  765.                         <step>
  766.                             <type>MULTIPLIER</type>
  767.                             <params>1024</params>
  768.                         </step>
  769.                     </preprocessing>
  770.                 </item>
  771.                 <item>
  772.                     <name>SQL Server, Memory Manager: Total Server Memory</name>
  773.                     <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Total Server Memory (KB)&quot;]</key>
  774.                     <delay>60s</delay>
  775.                     <value_type>FLOAT</value_type>
  776.                     <units>B</units>
  777.                     <description>Specifies the amount of memory the server has committed using the memory manager.&#13;
  778. &#13;
  779. Общий объем динамической памяти, используемой сервером в данный момент.</description>
  780.                     <applications>
  781.                         <application>
  782.                             <name>MS SQL Memory</name>
  783.                         </application>
  784.                     </applications>
  785.                     <preprocessing>
  786.                         <step>
  787.                             <type>MULTIPLIER</type>
  788.                             <params>1024</params>
  789.                         </step>
  790.                     </preprocessing>
  791.                 </item>
  792.                 <item>
  793.                     <name>SQL Server, Cache: Cache Hit Ratio</name>
  794.                     <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Hit Ratio&quot;]</key>
  795.                     <delay>60s</delay>
  796.                     <value_type>FLOAT</value_type>
  797.                     <description>Ratio between cache hits and lookups.&#13;
  798. &#13;
  799. Соотношение между попаданиями в кэш и обращениями к кэшу.</description>
  800.                     <applications>
  801.                         <application>
  802.                             <name>MS SQL Memory</name>
  803.                         </application>
  804.                     </applications>
  805.                 </item>
  806.                 <item>
  807.                     <name>SQL Server, Cache: Cache Object Counts</name>
  808.                     <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Object Counts&quot;]</key>
  809.                     <delay>60s</delay>
  810.                     <value_type>FLOAT</value_type>
  811.                     <description>Number of cache objects in the cache.&#13;
  812. &#13;
  813. Количество объектов в кэше.</description>
  814.                     <applications>
  815.                         <application>
  816.                             <name>MS SQL Memory</name>
  817.                         </application>
  818.                     </applications>
  819.                 </item>
  820.                 <item>
  821.                     <name>SQL Server, Cache: Cache Objects in use</name>
  822.                     <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Objects in use&quot;]</key>
  823.                     <delay>60s</delay>
  824.                     <value_type>FLOAT</value_type>
  825.                     <description>Number of cache objects in use.&#13;
  826. &#13;
  827. Количество используемых объектов кэша.</description>
  828.                     <applications>
  829.                         <application>
  830.                             <name>MS SQL Memory</name>
  831.                         </application>
  832.                     </applications>
  833.                 </item>
  834.                 <item>
  835.                     <name>SQL Server, Cache: Cache Pages</name>
  836.                     <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Pages&quot;]</key>
  837.                     <delay>60s</delay>
  838.                     <value_type>FLOAT</value_type>
  839.                     <description>Number of 8-kilobyte (KB) pages used by cache objects.&#13;
  840. &#13;
  841. Количество страниц объемом 8 КБ, используемых объектами кэша</description>
  842.                     <applications>
  843.                         <application>
  844.                             <name>MS SQL Memory</name>
  845.                         </application>
  846.                     </applications>
  847.                 </item>
  848.                 <item>
  849.                     <name>SQL Server, Errors: Errors/sec (DB Offline Errors)</name>
  850.                     <key>perf_counter_en[&quot;\SQLServer:SQL Errors(DB Offline Errors)\Errors/sec&quot;]</key>
  851.                     <delay>60s</delay>
  852.                     <value_type>FLOAT</value_type>
  853.                     <description>Number of errors/sec.&#13;
  854. &#13;
  855. Количество ошибок/с</description>
  856.                     <applications>
  857.                         <application>
  858.                             <name>MS SQL Statistics</name>
  859.                         </application>
  860.                     </applications>
  861.                 </item>
  862.                 <item>
  863.                     <name>SQL Server, Errors: Errors/sec (Info Errors)</name>
  864.                     <key>perf_counter_en[&quot;\SQLServer:SQL Errors(Info Errors)\Errors/sec&quot;]</key>
  865.                     <delay>60s</delay>
  866.                     <value_type>FLOAT</value_type>
  867.                     <description>Number of errors/sec.&#13;
  868. &#13;
  869. Количество ошибок/с</description>
  870.                     <applications>
  871.                         <application>
  872.                             <name>MS SQL Statistics</name>
  873.                         </application>
  874.                     </applications>
  875.                 </item>
  876.                 <item>
  877.                     <name>SQL Server, Errors: Errors/sec (Kill Connection Errors)</name>
  878.                     <key>perf_counter_en[&quot;\SQLServer:SQL Errors(Kill Connection Errors)\Errors/sec&quot;]</key>
  879.                     <delay>60s</delay>
  880.                     <value_type>FLOAT</value_type>
  881.                     <description>Number of errors/sec.&#13;
  882. &#13;
  883. Количество ошибок/с</description>
  884.                     <applications>
  885.                         <application>
  886.                             <name>MS SQL Statistics</name>
  887.                         </application>
  888.                     </applications>
  889.                 </item>
  890.                 <item>
  891.                     <name>SQL Server, Errors: Errors/sec (User Errors)</name>
  892.                     <key>perf_counter_en[&quot;\SQLServer:SQL Errors(User Errors)\Errors/sec&quot;]</key>
  893.                     <delay>60s</delay>
  894.                     <value_type>FLOAT</value_type>
  895.                     <description>Number of errors/sec.&#13;
  896. &#13;
  897. Количество ошибок/с</description>
  898.                     <applications>
  899.                         <application>
  900.                             <name>MS SQL Statistics</name>
  901.                         </application>
  902.                     </applications>
  903.                 </item>
  904.                 <item>
  905.                     <name>SQL Server, Errors: Errors/sec (Total)</name>
  906.                     <key>perf_counter_en[&quot;\SQLServer:SQL Errors(_Total)\Errors/sec&quot;]</key>
  907.                     <delay>60s</delay>
  908.                     <value_type>FLOAT</value_type>
  909.                     <description>Number of errors/sec.&#13;
  910. &#13;
  911. Количество ошибок/с</description>
  912.                     <applications>
  913.                         <application>
  914.                             <name>MS SQL Statistics</name>
  915.                         </application>
  916.                     </applications>
  917.                 </item>
  918.                 <item>
  919.                     <name>SQL Server, Statistics: Auto-Param Attempts/sec</name>
  920.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Auto-Param Attempts/sec&quot;]</key>
  921.                     <delay>60s</delay>
  922.                     <value_type>FLOAT</value_type>
  923.                     <description>Number of auto-parameterization attempts per second. Total should be the sum of the failed, safe, and unsafe auto-parameterizations. Auto-parameterization occurs when an instance of SQL Server tries to parameterize a Transact-SQL request by replacing some literals with parameters so that reuse of the resulting cached execution plan across multiple similar-looking requests is possible. Note that auto-parameterizations are also known as simple parameterizations in newer versions of SQL Server. This counter does not include forced parameterizations.&#13;
  924. &#13;
  925. Количество попыток автоматической параметризации.</description>
  926.                     <applications>
  927.                         <application>
  928.                             <name>MS SQL Statistics</name>
  929.                         </application>
  930.                     </applications>
  931.                 </item>
  932.                 <item>
  933.                     <name>SQL Server, Statistics: Batch Requests/Sec</name>
  934.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Batch Requests/sec&quot;]</key>
  935.                     <delay>60s</delay>
  936.                     <value_type>FLOAT</value_type>
  937.                     <description>Number of Transact-SQL command batches received per second. This statistic is affected by all constraints (such as I/O, number of users, cache size, complexity of requests, and so on). High batch requests mean good throughput.&#13;
  938. &#13;
  939. Количество пакетных запросов SQL, полученных сервером.</description>
  940.                     <applications>
  941.                         <application>
  942.                             <name>MS SQL Statistics</name>
  943.                         </application>
  944.                     </applications>
  945.                 </item>
  946.                 <item>
  947.                     <name>SQL Server, Statistics: Failed Auto-Params/sec</name>
  948.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Failed Auto-Params/sec&quot;]</key>
  949.                     <delay>60s</delay>
  950.                     <value_type>FLOAT</value_type>
  951.                     <description>Number of failed auto-parameterization attempts per second. This should be small. Note that auto-parameterizations are also known as simple parameterizations in later versions of SQL Server.&#13;
  952. &#13;
  953. Количество сбоев, произошедших при автоматической параметризации.</description>
  954.                     <applications>
  955.                         <application>
  956.                             <name>MS SQL Statistics</name>
  957.                         </application>
  958.                     </applications>
  959.                 </item>
  960.                 <item>
  961.                     <name>SQL Server, Statistics: Safe Auto-Params/sec</name>
  962.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Safe Auto-Params/sec&quot;]</key>
  963.                     <delay>60s</delay>
  964.                     <value_type>FLOAT</value_type>
  965.                     <description>Number of safe auto-parameterization attempts per second. Safe refers to a determination that a cached execution plan can be shared between different similar-looking Transact-SQL statements. SQL Server makes many auto-parameterization attempts some of which turn out to be safe and others fail. Note that auto-parameterizations are also known as simple parameterizations in later versions of SQL Server. This does not include forced parameterizations.&#13;
  966. &#13;
  967. Количество безопасных попыток автоматической параметризации.</description>
  968.                     <applications>
  969.                         <application>
  970.                             <name>MS SQL Statistics</name>
  971.                         </application>
  972.                     </applications>
  973.                 </item>
  974.                 <item>
  975.                     <name>SQL Server, Statistics: SQL Compilations/Sec</name>
  976.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\SQL Compilations/sec&quot;]</key>
  977.                     <delay>60s</delay>
  978.                     <value_type>FLOAT</value_type>
  979.                     <description>Number of SQL compilations per second. Indicates the number of times the compile code path is entered. Includes compiles caused by statement-level recompilations in SQL Server. After SQL Server user activity is stable, this value reaches a steady state.&#13;
  980. &#13;
  981. Количество компиляций SQL.</description>
  982.                     <applications>
  983.                         <application>
  984.                             <name>MS SQL Statistics</name>
  985.                         </application>
  986.                     </applications>
  987.                 </item>
  988.                 <item>
  989.                     <name>SQL Server, Statistics: SQL Re-Compilations/sec</name>
  990.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\SQL Re-Compilations/sec&quot;]</key>
  991.                     <delay>60s</delay>
  992.                     <value_type>FLOAT</value_type>
  993.                     <description>Number of statement recompiles per second. Counts the number of times statement recompiles are triggered. Generally, you want the recompiles to be low.&#13;
  994. &#13;
  995. Количество повторных компиляций SQL.</description>
  996.                     <applications>
  997.                         <application>
  998.                             <name>MS SQL Statistics</name>
  999.                         </application>
  1000.                     </applications>
  1001.                 </item>
  1002.                 <item>
  1003.                     <name>SQL Server, Statistics: Unsafe Auto-Params/sec</name>
  1004.                     <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Unsafe Auto-Params/sec&quot;]</key>
  1005.                     <delay>60s</delay>
  1006.                     <value_type>FLOAT</value_type>
  1007.                     <description>Number of unsafe auto-parameterization attempts per second. For example, the query has some characteristics that prevent the cached plan from being shared. These are designated as unsafe. This does not count the number of forced parameterizations.&#13;
  1008. &#13;
  1009. Количество небезопасных попыток автоматической параметризации.</description>
  1010.                     <applications>
  1011.                         <application>
  1012.                             <name>MS SQL Statistics</name>
  1013.                         </application>
  1014.                     </applications>
  1015.                 </item>
  1016.                 <item>
  1017.                     <name>SQL Server: Transactions Number (Total)</name>
  1018.                     <key>perf_counter_en[&quot;\SQLServer:Transactions\Transactions&quot;]</key>
  1019.                     <delay>60s</delay>
  1020.                     <description>The number of currently active transactions of all types.</description>
  1021.                     <applications>
  1022.                         <application>
  1023.                             <name>MS SQL Statistics</name>
  1024.                         </application>
  1025.                     </applications>
  1026.                 </item>
  1027.                 <item>
  1028.                     <name>SQL Server pf</name>
  1029.                     <key>proc_info[sqlservr.exe,pf,sum]</key>
  1030.                     <delay>60s</delay>
  1031.                     <value_type>FLOAT</value_type>
  1032.                     <applications>
  1033.                         <application>
  1034.                             <name>MS SQL Server</name>
  1035.                         </application>
  1036.                     </applications>
  1037.                 </item>
  1038.                 <item>
  1039.                     <name>SQL Server vmsize</name>
  1040.                     <key>proc_info[sqlservr.exe,vmsize,sum]</key>
  1041.                     <delay>60s</delay>
  1042.                     <value_type>FLOAT</value_type>
  1043.                     <units>Bytes</units>
  1044.                     <applications>
  1045.                         <application>
  1046.                             <name>MS SQL Server</name>
  1047.                         </application>
  1048.                     </applications>
  1049.                     <preprocessing>
  1050.                         <step>
  1051.                             <type>MULTIPLIER</type>
  1052.                             <params>1000</params>
  1053.                         </step>
  1054.                     </preprocessing>
  1055.                 </item>
  1056.                 <item>
  1057.                     <name>SQL Server working set</name>
  1058.                     <key>proc_info[sqlservr.exe,wkset,sum]</key>
  1059.                     <delay>60s</delay>
  1060.                     <value_type>FLOAT</value_type>
  1061.                     <units>Bytes</units>
  1062.                     <applications>
  1063.                         <application>
  1064.                             <name>MS SQL Server</name>
  1065.                         </application>
  1066.                     </applications>
  1067.                     <preprocessing>
  1068.                         <step>
  1069.                             <type>MULTIPLIER</type>
  1070.                             <params>1000</params>
  1071.                         </step>
  1072.                     </preprocessing>
  1073.                 </item>
  1074.                 <item>
  1075.                     <name>SQL: Service State - Integration Services</name>
  1076.                     <key>service_state[MsDtsServer110]</key>
  1077.                     <delay>60s</delay>
  1078.                     <status>DISABLED</status>
  1079.                     <applications>
  1080.                         <application>
  1081.                             <name>MS SQL Services</name>
  1082.                         </application>
  1083.                     </applications>
  1084.                     <valuemap>
  1085.                         <name>Windows service state</name>
  1086.                     </valuemap>
  1087.                     <triggers>
  1088.                         <trigger>
  1089.                             <expression>{last()}&lt;&gt;0</expression>
  1090.                             <name>SQL: Service State - Integration Services</name>
  1091.                             <priority>HIGH</priority>
  1092.                         </trigger>
  1093.                     </triggers>
  1094.                 </item>
  1095.                 <item>
  1096.                     <name>SQL: Service State - Analysis Services</name>
  1097.                     <key>service_state[MSSQLServerOLAPService]</key>
  1098.                     <delay>60s</delay>
  1099.                     <status>DISABLED</status>
  1100.                     <applications>
  1101.                         <application>
  1102.                             <name>MS SQL Services</name>
  1103.                         </application>
  1104.                     </applications>
  1105.                     <valuemap>
  1106.                         <name>Windows service state</name>
  1107.                     </valuemap>
  1108.                     <triggers>
  1109.                         <trigger>
  1110.                             <expression>{last()}&lt;&gt;0</expression>
  1111.                             <name>SQL: Service State - Analysis Services</name>
  1112.                             <priority>HIGH</priority>
  1113.                         </trigger>
  1114.                     </triggers>
  1115.                 </item>
  1116.                 <item>
  1117.                     <name>SQL: Service State - MS SQL Server</name>
  1118.                     <key>service_state[MSSQLSERVER]</key>
  1119.                     <delay>60s</delay>
  1120.                     <applications>
  1121.                         <application>
  1122.                             <name>MS SQL Services</name>
  1123.                         </application>
  1124.                     </applications>
  1125.                     <valuemap>
  1126.                         <name>Windows service state</name>
  1127.                     </valuemap>
  1128.                     <triggers>
  1129.                         <trigger>
  1130.                             <expression>{last()}&lt;&gt;0</expression>
  1131.                             <name>SQL: Service State - SQL Server</name>
  1132.                             <priority>DISASTER</priority>
  1133.                         </trigger>
  1134.                     </triggers>
  1135.                 </item>
  1136.                 <item>
  1137.                     <name>SQL: Service State - Reporting Services</name>
  1138.                     <key>service_state[ReportServer]</key>
  1139.                     <delay>60s</delay>
  1140.                     <applications>
  1141.                         <application>
  1142.                             <name>MS SQL Services</name>
  1143.                         </application>
  1144.                     </applications>
  1145.                     <valuemap>
  1146.                         <name>Windows service state</name>
  1147.                     </valuemap>
  1148.                     <triggers>
  1149.                         <trigger>
  1150.                             <expression>{last()}&lt;&gt;0</expression>
  1151.                             <name>SQL: Service State - Reporting Services</name>
  1152.                             <priority>HIGH</priority>
  1153.                         </trigger>
  1154.                     </triggers>
  1155.                 </item>
  1156.                 <item>
  1157.                     <name>SQL: Service State - SQL Browser</name>
  1158.                     <key>service_state[SQLBrowser]</key>
  1159.                     <delay>60s</delay>
  1160.                     <status>DISABLED</status>
  1161.                     <applications>
  1162.                         <application>
  1163.                             <name>MS SQL Services</name>
  1164.                         </application>
  1165.                     </applications>
  1166.                     <valuemap>
  1167.                         <name>Windows service state</name>
  1168.                     </valuemap>
  1169.                     <triggers>
  1170.                         <trigger>
  1171.                             <expression>{last()}&lt;&gt;0</expression>
  1172.                             <name>SQL: Service State - SQL Browser</name>
  1173.                             <priority>HIGH</priority>
  1174.                         </trigger>
  1175.                     </triggers>
  1176.                 </item>
  1177.                 <item>
  1178.                     <name>SQL: Service State - SQL Agent</name>
  1179.                     <key>service_state[SQLSERVERAGENT]</key>
  1180.                     <delay>60s</delay>
  1181.                     <applications>
  1182.                         <application>
  1183.                             <name>MS SQL Services</name>
  1184.                         </application>
  1185.                     </applications>
  1186.                     <valuemap>
  1187.                         <name>Windows service state</name>
  1188.                     </valuemap>
  1189.                     <triggers>
  1190.                         <trigger>
  1191.                             <expression>{last()}&lt;&gt;0</expression>
  1192.                             <name>SQL: Service State - SQL Agent</name>
  1193.                             <priority>HIGH</priority>
  1194.                         </trigger>
  1195.                     </triggers>
  1196.                 </item>
  1197.             </items>
  1198.             <discovery_rules>
  1199.                 <discovery_rule>
  1200.                     <name>Database Discovery (ODBC)</name>
  1201.                     <type>ODBC</type>
  1202.                     <key>db.odbc.select[dbname,{$ODBC}]</key>
  1203.                     <delay>12h</delay>
  1204.                     <status>DISABLED</status>
  1205.                     <params>select '{&quot;data&quot;:[', (SELECT STUFF((SELECT ',' + '{&quot;{#DBNAME}&quot;:&quot;' + [Name] + '&quot;}' FROM master..sysdatabases ORDER BY [Name] FOR XML PATH('')), 1, 1, '')) ,']}' FOR XML PATH('')</params>
  1206.                     <username>{$MSSQL_USER}</username>
  1207.                     <password>{$MSSQL_PASSWORD}</password>
  1208.                     <filter>
  1209.                         <conditions>
  1210.                             <condition>
  1211.                                 <macro>{#DBNAME}</macro>
  1212.                                 <value>@MS SQL Databases for discovery</value>
  1213.                                 <formulaid>A</formulaid>
  1214.                             </condition>
  1215.                         </conditions>
  1216.                     </filter>
  1217.                     <lifetime>10d</lifetime>
  1218.                     <description>Discovery of Databases as defined in global regular expression &quot;Databases for discovery&quot;.</description>
  1219.                 </discovery_rule>
  1220.                 <discovery_rule>
  1221.                     <name>Database Discovery (PowerShell)</name>
  1222.                     <key>mssql.db.discovery</key>
  1223.                     <delay>12h</delay>
  1224.                     <filter>
  1225.                         <conditions>
  1226.                             <condition>
  1227.                                 <macro>{#DBNAME}</macro>
  1228.                                 <value>@MS SQL Databases for discovery</value>
  1229.                                 <formulaid>A</formulaid>
  1230.                             </condition>
  1231.                         </conditions>
  1232.                     </filter>
  1233.                     <lifetime>10d</lifetime>
  1234.                     <item_prototypes>
  1235.                         <item_prototype>
  1236.                             <name>SQL Server: Instance {#DBNAME}: State</name>
  1237.                             <type>ODBC</type>
  1238.                             <key>db.odbc.select[{#DBNAME}_state,{$ODBC}]</key>
  1239.                             <params>select coalesce(max(state),7) from sys.databases where name = '{#DBNAME}'</params>
  1240.                             <username>{$MSSQL_USER}</username>
  1241.                             <password>{$MSSQL_PASSWORD}</password>
  1242.                             <description>State of a specific database. The values: 0 = ONLINE, 1 = RESTORING, 2 = RECOVERING, 3 = RECOVERY_PENDING, 4 = SUSPECT, 5 = EMERGENCY, 6 = OFFLINE, 7 = Database Does Not Exist on Server.</description>
  1243.                             <applications>
  1244.                                 <application>
  1245.                                     <name>MS SQL Server</name>
  1246.                                 </application>
  1247.                             </applications>
  1248.                             <valuemap>
  1249.                                 <name>MS SQL Server database state</name>
  1250.                             </valuemap>
  1251.                             <trigger_prototypes>
  1252.                                 <trigger_prototype>
  1253.                                     <expression>{last()}&lt;&gt;0</expression>
  1254.                                     <name>The database '{#DBNAME}' state is no longer online.</name>
  1255.                                     <priority>HIGH</priority>
  1256.                                 </trigger_prototype>
  1257.                             </trigger_prototypes>
  1258.                         </item_prototype>
  1259.                         <item_prototype>
  1260.                             <name>SQL Server, Instance {#DBNAME}: Active Transactions</name>
  1261.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Active Transactions&quot;]</key>
  1262.                             <delay>60s</delay>
  1263.                             <value_type>FLOAT</value_type>
  1264.                             <description>Number of active transactions for the database.&#13;
  1265. &#13;
  1266. Количество активных транзакций обновления в базе данных.</description>
  1267.                             <applications>
  1268.                                 <application>
  1269.                                     <name>MS SQL Statistics</name>
  1270.                                 </application>
  1271.                             </applications>
  1272.                         </item_prototype>
  1273.                         <item_prototype>
  1274.                             <name>SQL Server, Instance {#DBNAME}: Data File Size</name>
  1275.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Data File(s) Size (KB)&quot;]</key>
  1276.                             <value_type>FLOAT</value_type>
  1277.                             <units>B</units>
  1278.                             <description>Cumulative size (in kilobytes) of all the data files in the database including any automatic growth. Monitoring this counter is useful, for example, for determining the correct size of tempdb.&#13;
  1279. &#13;
  1280. Совокупный размер всех файлов данных в базе данных.</description>
  1281.                             <applications>
  1282.                                 <application>
  1283.                                     <name>MS SQL Physical Disk</name>
  1284.                                 </application>
  1285.                             </applications>
  1286.                             <preprocessing>
  1287.                                 <step>
  1288.                                     <type>MULTIPLIER</type>
  1289.                                     <params>1024</params>
  1290.                                 </step>
  1291.                             </preprocessing>
  1292.                         </item_prototype>
  1293.                         <item_prototype>
  1294.                             <name>SQL Server, Instance {#DBNAME}: Log Bytes Flushed/sec</name>
  1295.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Bytes Flushed/sec&quot;]</key>
  1296.                             <delay>60s</delay>
  1297.                             <value_type>FLOAT</value_type>
  1298.                             <units>B</units>
  1299.                             <description>Total number of log bytes flushed per second. Useful for determining trends and utilization of the transaction log&#13;
  1300. &#13;
  1301. Общее количество байтов журнала, сброшенных на диск.</description>
  1302.                             <applications>
  1303.                                 <application>
  1304.                                     <name>MS SQL Statistics</name>
  1305.                                 </application>
  1306.                             </applications>
  1307.                         </item_prototype>
  1308.                         <item_prototype>
  1309.                             <name>SQL Server, Instance {#DBNAME}: Log File Size</name>
  1310.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log File(s) Size (KB)&quot;]</key>
  1311.                             <value_type>FLOAT</value_type>
  1312.                             <units>B</units>
  1313.                             <description>Cumulative size (in kilobytes) of all the transaction log files in the database.&#13;
  1314. &#13;
  1315. Совокупный размер файлов всех журналов в базе данных.</description>
  1316.                             <applications>
  1317.                                 <application>
  1318.                                     <name>MS SQL Physical Disk</name>
  1319.                                 </application>
  1320.                             </applications>
  1321.                             <preprocessing>
  1322.                                 <step>
  1323.                                     <type>MULTIPLIER</type>
  1324.                                     <params>1024</params>
  1325.                                 </step>
  1326.                             </preprocessing>
  1327.                         </item_prototype>
  1328.                         <item_prototype>
  1329.                             <name>SQL Server, Instance {#DBNAME}: Log File Used Size</name>
  1330.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log File(s) Used Size (KB)&quot;]</key>
  1331.                             <delay>60s</delay>
  1332.                             <value_type>FLOAT</value_type>
  1333.                             <units>B</units>
  1334.                             <description>The cumulative used size of all the log files in the database.&#13;
  1335. &#13;
  1336. Совокупный используемый размер файлов всех журналов в базе данных.</description>
  1337.                             <applications>
  1338.                                 <application>
  1339.                                     <name>MS SQL Physical Disk</name>
  1340.                                 </application>
  1341.                             </applications>
  1342.                             <preprocessing>
  1343.                                 <step>
  1344.                                     <type>MULTIPLIER</type>
  1345.                                     <params>1024</params>
  1346.                                 </step>
  1347.                             </preprocessing>
  1348.                         </item_prototype>
  1349.                         <item_prototype>
  1350.                             <name>SQL Server, Instance {#DBNAME}: Log Flushes/sec</name>
  1351.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Flushes/sec&quot;]</key>
  1352.                             <delay>60s</delay>
  1353.                             <value_type>FLOAT</value_type>
  1354.                             <description>Number of log flushes per second.&#13;
  1355. &#13;
  1356. Количество сбрасываний журнала на диск.</description>
  1357.                             <applications>
  1358.                                 <application>
  1359.                                     <name>MS SQL Statistics</name>
  1360.                                 </application>
  1361.                             </applications>
  1362.                         </item_prototype>
  1363.                         <item_prototype>
  1364.                             <name>SQL Server, Instance {#DBNAME}: Log Flush Waits/sec</name>
  1365.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Flush Waits/sec&quot;]</key>
  1366.                             <delay>60s</delay>
  1367.                             <value_type>FLOAT</value_type>
  1368.                             <description>Number of commits per second waiting for the log flush.&#13;
  1369. &#13;
  1370. Количество точек фиксации, ожидающих сброса журнала на диск.</description>
  1371.                             <applications>
  1372.                                 <application>
  1373.                                     <name>MS SQL Statistics</name>
  1374.                                 </application>
  1375.                             </applications>
  1376.                             <trigger_prototypes>
  1377.                                 <trigger_prototype>
  1378.                                     <expression>{last()}&gt;1</expression>
  1379.                                     <name>SQLServer:Databases: Log Flush Waits/sec {#DBNAME}</name>
  1380.                                     <priority>WARNING</priority>
  1381.                                 </trigger_prototype>
  1382.                             </trigger_prototypes>
  1383.                         </item_prototype>
  1384.                         <item_prototype>
  1385.                             <name>SQL Server, Instance {#DBNAME}: Log Flush Wait Time</name>
  1386.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Flush Wait Time&quot;]</key>
  1387.                             <delay>60s</delay>
  1388.                             <value_type>FLOAT</value_type>
  1389.                             <units>ms</units>
  1390.                             <description>Total wait time (in milliseconds) to flush the log. On an AlwaysOn secondary database, this value indicates the wait time for log records to be hardened to disk. &#13;
  1391. &#13;
  1392. Общее время ожидания (в миллисекундах).</description>
  1393.                             <applications>
  1394.                                 <application>
  1395.                                     <name>MS SQL Statistics</name>
  1396.                                 </application>
  1397.                             </applications>
  1398.                             <trigger_prototypes>
  1399.                                 <trigger_prototype>
  1400.                                     <expression>{last()}&gt;5</expression>
  1401.                                     <name>SQLServer:Databases: Log Flush Wait Time {#DBNAME}</name>
  1402.                                     <priority>WARNING</priority>
  1403.                                 </trigger_prototype>
  1404.                             </trigger_prototypes>
  1405.                         </item_prototype>
  1406.                         <item_prototype>
  1407.                             <name>SQL Server, Instance {#DBNAME}: Log Growths</name>
  1408.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Growths&quot;]</key>
  1409.                             <delay>60s</delay>
  1410.                             <value_type>FLOAT</value_type>
  1411.                             <description>Total number of times the transaction log for the database has been expanded.&#13;
  1412. &#13;
  1413. Общее количество увеличений журнала для этой базы данных.</description>
  1414.                             <applications>
  1415.                                 <application>
  1416.                                     <name>MS SQL Statistics</name>
  1417.                                 </application>
  1418.                             </applications>
  1419.                             <trigger_prototypes>
  1420.                                 <trigger_prototype>
  1421.                                     <expression>{last()}&gt;1</expression>
  1422.                                     <name>SQLServer:Databases: Log Growths {#DBNAME}</name>
  1423.                                     <priority>WARNING</priority>
  1424.                                 </trigger_prototype>
  1425.                             </trigger_prototypes>
  1426.                         </item_prototype>
  1427.                         <item_prototype>
  1428.                             <name>SQL Server, Instance {#DBNAME}: Log Shrinks</name>
  1429.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Shrinks&quot;]</key>
  1430.                             <delay>60s</delay>
  1431.                             <value_type>FLOAT</value_type>
  1432.                             <description>Total number of times the transaction log for the database has been shrunk.&#13;
  1433. &#13;
  1434. Общее количество сжатий журнала для этой базы данных.</description>
  1435.                             <applications>
  1436.                                 <application>
  1437.                                     <name>MS SQL Statistics</name>
  1438.                                 </application>
  1439.                             </applications>
  1440.                             <trigger_prototypes>
  1441.                                 <trigger_prototype>
  1442.                                     <expression>{last()}&gt;15</expression>
  1443.                                     <name>SQLServer:Databases: Log Shrinks {#DBNAME}</name>
  1444.                                     <priority>WARNING</priority>
  1445.                                 </trigger_prototype>
  1446.                             </trigger_prototypes>
  1447.                         </item_prototype>
  1448.                         <item_prototype>
  1449.                             <name>SQL Server, Instance {#DBNAME}: Log Truncations</name>
  1450.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Log Truncations&quot;]</key>
  1451.                             <value_type>FLOAT</value_type>
  1452.                             <description>The number of times the transaction log has been shrunk.&#13;
  1453. &#13;
  1454. Общее количество усечений журнала для этой базы данных.</description>
  1455.                             <applications>
  1456.                                 <application>
  1457.                                     <name>MS SQL Statistics</name>
  1458.                                 </application>
  1459.                             </applications>
  1460.                         </item_prototype>
  1461.                         <item_prototype>
  1462.                             <name>SQL Server, Instance {#DBNAME}: Percent Log Used</name>
  1463.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Percent Log Used&quot;]</key>
  1464.                             <delay>60s</delay>
  1465.                             <value_type>FLOAT</value_type>
  1466.                             <units>%</units>
  1467.                             <description>Percentage of space in the log that is in use.&#13;
  1468. &#13;
  1469. Процентная доля используемого пространства журнала.</description>
  1470.                             <applications>
  1471.                                 <application>
  1472.                                     <name>MS SQL Physical Disk</name>
  1473.                                 </application>
  1474.                             </applications>
  1475.                             <trigger_prototypes>
  1476.                                 <trigger_prototype>
  1477.                                     <expression>{last()}&gt;80</expression>
  1478.                                     <name>SQLServer:Databases: Percent Log Used {#DBNAME}</name>
  1479.                                     <priority>WARNING</priority>
  1480.                                 </trigger_prototype>
  1481.                             </trigger_prototypes>
  1482.                         </item_prototype>
  1483.                         <item_prototype>
  1484.                             <name>SQL Server: Instance {#DBNAME}: Transactions per second</name>
  1485.                             <key>perf_counter_en[&quot;\SQLServer:Databases({#DBNAME})\Transactions/sec&quot;]</key>
  1486.                             <delay>60s</delay>
  1487.                             <value_type>FLOAT</value_type>
  1488.                             <applications>
  1489.                                 <application>
  1490.                                     <name>MS SQL Statistics</name>
  1491.                                 </application>
  1492.                             </applications>
  1493.                         </item_prototype>
  1494.                     </item_prototypes>
  1495.                 </discovery_rule>
  1496.             </discovery_rules>
  1497.         </template>
  1498.     </templates>
  1499.     <triggers>
  1500.         <trigger>
  1501.             <expression>{Template DB MS SQL 2012:perf_counter_en[&quot;\SQLServer:Access Methods\Forwarded Records/sec&quot;].last()}&gt;{Template DB MS SQL 2012:perf_counter_en[&quot;\SQLServer:SQL Statistics\Batch Requests/sec&quot;].last()}/10</expression>
  1502.             <name>SQL Server, Access Methods: Forwarded Records/sec</name>
  1503.             <status>DISABLED</status>
  1504.             <priority>AVERAGE</priority>
  1505.         </trigger>
  1506.         <trigger>
  1507.             <expression>{Template DB MS SQL 2012:perf_counter_en[&quot;\SQLServer:Access Methods\Page Splits/sec&quot;].last()}&gt;{Template DB MS SQL 2012:perf_counter_en[&quot;\SQLServer:SQL Statistics\Batch Requests/sec&quot;].last()}/5</expression>
  1508.             <name>SQL Server, Access Methods: Page Splits/Sec</name>
  1509.             <status>DISABLED</status>
  1510.             <priority>AVERAGE</priority>
  1511.         </trigger>
  1512.     </triggers>
  1513.     <graphs>
  1514.         <graph>
  1515.             <name>MS SQL, Buffer Manager: Database pages</name>
  1516.             <ymin_type_1>FIXED</ymin_type_1>
  1517.             <graph_items>
  1518.                 <graph_item>
  1519.                     <drawtype>GRADIENT_LINE</drawtype>
  1520.                     <color>00C800</color>
  1521.                     <item>
  1522.                         <host>Template DB MS SQL 2012</host>
  1523.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Database pages&quot;]</key>
  1524.                     </item>
  1525.                 </graph_item>
  1526.                 <graph_item>
  1527.                     <sortorder>1</sortorder>
  1528.                     <color>C80000</color>
  1529.                     <item>
  1530.                         <host>Template DB MS SQL 2012</host>
  1531.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Target pages&quot;]</key>
  1532.                     </item>
  1533.                 </graph_item>
  1534.             </graph_items>
  1535.         </graph>
  1536.         <graph>
  1537.             <name>MS SQL, Buffer Manager: Page life expectancy</name>
  1538.             <ymin_type_1>FIXED</ymin_type_1>
  1539.             <graph_items>
  1540.                 <graph_item>
  1541.                     <drawtype>GRADIENT_LINE</drawtype>
  1542.                     <color>00C800</color>
  1543.                     <item>
  1544.                         <host>Template DB MS SQL 2012</host>
  1545.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page life expectancy&quot;]</key>
  1546.                     </item>
  1547.                 </graph_item>
  1548.             </graph_items>
  1549.         </graph>
  1550.         <graph>
  1551.             <name>MS SQL, Buffer Manager: Pages</name>
  1552.             <ymin_type_1>FIXED</ymin_type_1>
  1553.             <graph_items>
  1554.                 <graph_item>
  1555.                     <drawtype>GRADIENT_LINE</drawtype>
  1556.                     <color>00C800</color>
  1557.                     <item>
  1558.                         <host>Template DB MS SQL 2012</host>
  1559.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page lookups/sec&quot;]</key>
  1560.                     </item>
  1561.                 </graph_item>
  1562.                 <graph_item>
  1563.                     <sortorder>1</sortorder>
  1564.                     <color>C80000</color>
  1565.                     <item>
  1566.                         <host>Template DB MS SQL 2012</host>
  1567.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page reads/sec&quot;]</key>
  1568.                     </item>
  1569.                 </graph_item>
  1570.                 <graph_item>
  1571.                     <sortorder>2</sortorder>
  1572.                     <color>0000C8</color>
  1573.                     <item>
  1574.                         <host>Template DB MS SQL 2012</host>
  1575.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Page writes/sec&quot;]</key>
  1576.                     </item>
  1577.                 </graph_item>
  1578.                 <graph_item>
  1579.                     <sortorder>3</sortorder>
  1580.                     <color>C800C8</color>
  1581.                     <item>
  1582.                         <host>Template DB MS SQL 2012</host>
  1583.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Readahead pages/sec&quot;]</key>
  1584.                     </item>
  1585.                 </graph_item>
  1586.                 <graph_item>
  1587.                     <sortorder>4</sortorder>
  1588.                     <color>FC6EA3</color>
  1589.                     <item>
  1590.                         <host>Template DB MS SQL 2012</host>
  1591.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Checkpoint pages/sec&quot;]</key>
  1592.                     </item>
  1593.                 </graph_item>
  1594.                 <graph_item>
  1595.                     <sortorder>5</sortorder>
  1596.                     <color>6C59DC</color>
  1597.                     <item>
  1598.                         <host>Template DB MS SQL 2012</host>
  1599.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Free list stalls/sec&quot;]</key>
  1600.                     </item>
  1601.                 </graph_item>
  1602.                 <graph_item>
  1603.                     <sortorder>6</sortorder>
  1604.                     <color>AC8C14</color>
  1605.                     <item>
  1606.                         <host>Template DB MS SQL 2012</host>
  1607.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Lazy writes/sec&quot;]</key>
  1608.                     </item>
  1609.                 </graph_item>
  1610.             </graph_items>
  1611.         </graph>
  1612.         <graph>
  1613.             <name>MS SQL, Statistics: Auto-Params</name>
  1614.             <ymin_type_1>FIXED</ymin_type_1>
  1615.             <graph_items>
  1616.                 <graph_item>
  1617.                     <drawtype>GRADIENT_LINE</drawtype>
  1618.                     <color>00C800</color>
  1619.                     <item>
  1620.                         <host>Template DB MS SQL 2012</host>
  1621.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Auto-Param Attempts/sec&quot;]</key>
  1622.                     </item>
  1623.                 </graph_item>
  1624.                 <graph_item>
  1625.                     <sortorder>1</sortorder>
  1626.                     <color>C80000</color>
  1627.                     <item>
  1628.                         <host>Template DB MS SQL 2012</host>
  1629.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Failed Auto-Params/sec&quot;]</key>
  1630.                     </item>
  1631.                 </graph_item>
  1632.                 <graph_item>
  1633.                     <sortorder>2</sortorder>
  1634.                     <color>0000C8</color>
  1635.                     <item>
  1636.                         <host>Template DB MS SQL 2012</host>
  1637.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Safe Auto-Params/sec&quot;]</key>
  1638.                     </item>
  1639.                 </graph_item>
  1640.                 <graph_item>
  1641.                     <sortorder>3</sortorder>
  1642.                     <color>C800C8</color>
  1643.                     <item>
  1644.                         <host>Template DB MS SQL 2012</host>
  1645.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Unsafe Auto-Params/sec&quot;]</key>
  1646.                     </item>
  1647.                 </graph_item>
  1648.             </graph_items>
  1649.         </graph>
  1650.         <graph>
  1651.             <name>MS SQL: Access Methods</name>
  1652.             <ymin_type_1>FIXED</ymin_type_1>
  1653.             <graph_items>
  1654.                 <graph_item>
  1655.                     <drawtype>GRADIENT_LINE</drawtype>
  1656.                     <color>00C800</color>
  1657.                     <item>
  1658.                         <host>Template DB MS SQL 2012</host>
  1659.                         <key>perf_counter_en[&quot;\SQLServer:Access Methods\Forwarded Records/sec&quot;]</key>
  1660.                     </item>
  1661.                 </graph_item>
  1662.                 <graph_item>
  1663.                     <sortorder>1</sortorder>
  1664.                     <color>F63100</color>
  1665.                     <item>
  1666.                         <host>Template DB MS SQL 2012</host>
  1667.                         <key>perf_counter_en[&quot;\SQLServer:Access Methods\Full Scans/sec&quot;]</key>
  1668.                     </item>
  1669.                 </graph_item>
  1670.                 <graph_item>
  1671.                     <sortorder>2</sortorder>
  1672.                     <color>2774A4</color>
  1673.                     <item>
  1674.                         <host>Template DB MS SQL 2012</host>
  1675.                         <key>perf_counter_en[&quot;\SQLServer:Access Methods\Index Searches/sec&quot;]</key>
  1676.                     </item>
  1677.                 </graph_item>
  1678.                 <graph_item>
  1679.                     <sortorder>3</sortorder>
  1680.                     <color>A54F10</color>
  1681.                     <item>
  1682.                         <host>Template DB MS SQL 2012</host>
  1683.                         <key>perf_counter_en[&quot;\SQLServer:Access Methods\Page Splits/sec&quot;]</key>
  1684.                     </item>
  1685.                 </graph_item>
  1686.                 <graph_item>
  1687.                     <sortorder>4</sortorder>
  1688.                     <color>FC6EA3</color>
  1689.                     <item>
  1690.                         <host>Template DB MS SQL 2012</host>
  1691.                         <key>perf_counter_en[&quot;\SQLServer:Access Methods\Workfiles Created/sec&quot;]</key>
  1692.                     </item>
  1693.                 </graph_item>
  1694.                 <graph_item>
  1695.                     <sortorder>5</sortorder>
  1696.                     <color>6C59DC</color>
  1697.                     <item>
  1698.                         <host>Template DB MS SQL 2012</host>
  1699.                         <key>perf_counter_en[&quot;\SQLServer:Access Methods\Worktables Created/sec&quot;]</key>
  1700.                     </item>
  1701.                 </graph_item>
  1702.             </graph_items>
  1703.         </graph>
  1704.         <graph>
  1705.             <name>MS SQL: Cache Objects</name>
  1706.             <ymin_type_1>FIXED</ymin_type_1>
  1707.             <graph_items>
  1708.                 <graph_item>
  1709.                     <drawtype>GRADIENT_LINE</drawtype>
  1710.                     <color>00C800</color>
  1711.                     <item>
  1712.                         <host>Template DB MS SQL 2012</host>
  1713.                         <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Object Counts&quot;]</key>
  1714.                     </item>
  1715.                 </graph_item>
  1716.                 <graph_item>
  1717.                     <sortorder>1</sortorder>
  1718.                     <color>C80000</color>
  1719.                     <item>
  1720.                         <host>Template DB MS SQL 2012</host>
  1721.                         <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Objects in use&quot;]</key>
  1722.                     </item>
  1723.                 </graph_item>
  1724.                 <graph_item>
  1725.                     <sortorder>2</sortorder>
  1726.                     <color>2774A4</color>
  1727.                     <item>
  1728.                         <host>Template DB MS SQL 2012</host>
  1729.                         <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Pages&quot;]</key>
  1730.                     </item>
  1731.                 </graph_item>
  1732.             </graph_items>
  1733.         </graph>
  1734.         <graph>
  1735.             <name>MS SQL: Compilations</name>
  1736.             <ymin_type_1>FIXED</ymin_type_1>
  1737.             <graph_items>
  1738.                 <graph_item>
  1739.                     <drawtype>GRADIENT_LINE</drawtype>
  1740.                     <color>00C800</color>
  1741.                     <item>
  1742.                         <host>Template DB MS SQL 2012</host>
  1743.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\SQL Compilations/sec&quot;]</key>
  1744.                     </item>
  1745.                 </graph_item>
  1746.                 <graph_item>
  1747.                     <sortorder>1</sortorder>
  1748.                     <color>C80000</color>
  1749.                     <item>
  1750.                         <host>Template DB MS SQL 2012</host>
  1751.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\SQL Re-Compilations/sec&quot;]</key>
  1752.                     </item>
  1753.                 </graph_item>
  1754.             </graph_items>
  1755.         </graph>
  1756.         <graph>
  1757.             <name>MS SQL: CPU/Memory/Cache load</name>
  1758.             <ymin_type_1>FIXED</ymin_type_1>
  1759.             <graph_items>
  1760.                 <graph_item>
  1761.                     <drawtype>GRADIENT_LINE</drawtype>
  1762.                     <color>00C800</color>
  1763.                     <item>
  1764.                         <host>Template DB MS SQL 2012</host>
  1765.                         <key>perf_counter_en[&quot;\SQLServer:Buffer Manager\Buffer cache hit ratio&quot;]</key>
  1766.                     </item>
  1767.                 </graph_item>
  1768.                 <graph_item>
  1769.                     <sortorder>1</sortorder>
  1770.                     <color>C80000</color>
  1771.                     <item>
  1772.                         <host>Template DB MS SQL 2012</host>
  1773.                         <key>perf_counter_en[&quot;\Process(sqlservr)\% Processor Time&quot;]</key>
  1774.                     </item>
  1775.                 </graph_item>
  1776.                 <graph_item>
  1777.                     <sortorder>2</sortorder>
  1778.                     <color>0000C8</color>
  1779.                     <item>
  1780.                         <host>Template DB MS SQL 2012</host>
  1781.                         <key>perf_counter_en[&quot;\SQLServer:Plan Cache(_Total)\Cache Hit Ratio&quot;]</key>
  1782.                     </item>
  1783.                 </graph_item>
  1784.             </graph_items>
  1785.         </graph>
  1786.         <graph>
  1787.             <name>MS SQL: Errors</name>
  1788.             <ymin_type_1>FIXED</ymin_type_1>
  1789.             <graph_items>
  1790.                 <graph_item>
  1791.                     <drawtype>GRADIENT_LINE</drawtype>
  1792.                     <color>00C800</color>
  1793.                     <item>
  1794.                         <host>Template DB MS SQL 2012</host>
  1795.                         <key>perf_counter_en[&quot;\SQLServer:SQL Errors(_Total)\Errors/sec&quot;]</key>
  1796.                     </item>
  1797.                 </graph_item>
  1798.                 <graph_item>
  1799.                     <sortorder>1</sortorder>
  1800.                     <color>C80000</color>
  1801.                     <item>
  1802.                         <host>Template DB MS SQL 2012</host>
  1803.                         <key>perf_counter_en[&quot;\SQLServer:SQL Errors(DB Offline Errors)\Errors/sec&quot;]</key>
  1804.                     </item>
  1805.                 </graph_item>
  1806.                 <graph_item>
  1807.                     <sortorder>2</sortorder>
  1808.                     <color>0000C8</color>
  1809.                     <item>
  1810.                         <host>Template DB MS SQL 2012</host>
  1811.                         <key>perf_counter_en[&quot;\SQLServer:SQL Errors(Info Errors)\Errors/sec&quot;]</key>
  1812.                     </item>
  1813.                 </graph_item>
  1814.                 <graph_item>
  1815.                     <sortorder>3</sortorder>
  1816.                     <color>C800C8</color>
  1817.                     <item>
  1818.                         <host>Template DB MS SQL 2012</host>
  1819.                         <key>perf_counter_en[&quot;\SQLServer:SQL Errors(Kill Connection Errors)\Errors/sec&quot;]</key>
  1820.                     </item>
  1821.                 </graph_item>
  1822.                 <graph_item>
  1823.                     <sortorder>4</sortorder>
  1824.                     <color>00C8C8</color>
  1825.                     <item>
  1826.                         <host>Template DB MS SQL 2012</host>
  1827.                         <key>perf_counter_en[&quot;\SQLServer:SQL Errors(User Errors)\Errors/sec&quot;]</key>
  1828.                     </item>
  1829.                 </graph_item>
  1830.             </graph_items>
  1831.         </graph>
  1832.         <graph>
  1833.             <name>MS SQL: Locks</name>
  1834.             <ymin_type_1>FIXED</ymin_type_1>
  1835.             <graph_items>
  1836.                 <graph_item>
  1837.                     <drawtype>GRADIENT_LINE</drawtype>
  1838.                     <color>00C800</color>
  1839.                     <item>
  1840.                         <host>Template DB MS SQL 2012</host>
  1841.                         <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Requests/sec&quot;]</key>
  1842.                     </item>
  1843.                 </graph_item>
  1844.                 <graph_item>
  1845.                     <sortorder>1</sortorder>
  1846.                     <color>C80000</color>
  1847.                     <item>
  1848.                         <host>Template DB MS SQL 2012</host>
  1849.                         <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Timeouts/sec&quot;]</key>
  1850.                     </item>
  1851.                 </graph_item>
  1852.                 <graph_item>
  1853.                     <sortorder>2</sortorder>
  1854.                     <color>0000C8</color>
  1855.                     <item>
  1856.                         <host>Template DB MS SQL 2012</host>
  1857.                         <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Number of Deadlocks/sec&quot;]</key>
  1858.                     </item>
  1859.                 </graph_item>
  1860.             </graph_items>
  1861.         </graph>
  1862.         <graph>
  1863.             <name>MS SQL: Logins/sec and Logouts/sec</name>
  1864.             <ymin_type_1>FIXED</ymin_type_1>
  1865.             <graph_items>
  1866.                 <graph_item>
  1867.                     <drawtype>GRADIENT_LINE</drawtype>
  1868.                     <color>00C800</color>
  1869.                     <item>
  1870.                         <host>Template DB MS SQL 2012</host>
  1871.                         <key>perf_counter_en[&quot;\SQLServer:General Statistics\Logins/sec&quot;]</key>
  1872.                     </item>
  1873.                 </graph_item>
  1874.                 <graph_item>
  1875.                     <sortorder>1</sortorder>
  1876.                     <color>C80000</color>
  1877.                     <item>
  1878.                         <host>Template DB MS SQL 2012</host>
  1879.                         <key>perf_counter_en[&quot;\SQLServer:General Statistics\Logouts/sec&quot;]</key>
  1880.                     </item>
  1881.                 </graph_item>
  1882.             </graph_items>
  1883.         </graph>
  1884.         <graph>
  1885.             <name>MS SQL: Memory Grants Outstanding and Pending</name>
  1886.             <ymin_type_1>FIXED</ymin_type_1>
  1887.             <graph_items>
  1888.                 <graph_item>
  1889.                     <color>00C800</color>
  1890.                     <item>
  1891.                         <host>Template DB MS SQL 2012</host>
  1892.                         <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Memory Grants Outstanding&quot;]</key>
  1893.                     </item>
  1894.                 </graph_item>
  1895.                 <graph_item>
  1896.                     <sortorder>1</sortorder>
  1897.                     <color>C80000</color>
  1898.                     <item>
  1899.                         <host>Template DB MS SQL 2012</host>
  1900.                         <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Memory Grants Pending&quot;]</key>
  1901.                     </item>
  1902.                 </graph_item>
  1903.             </graph_items>
  1904.         </graph>
  1905.         <graph>
  1906.             <name>MS SQL: pf (Number of errors on pages)</name>
  1907.             <ymin_type_1>FIXED</ymin_type_1>
  1908.             <graph_items>
  1909.                 <graph_item>
  1910.                     <drawtype>GRADIENT_LINE</drawtype>
  1911.                     <color>00C800</color>
  1912.                     <item>
  1913.                         <host>Template DB MS SQL 2012</host>
  1914.                         <key>proc_info[sqlservr.exe,pf,sum]</key>
  1915.                     </item>
  1916.                 </graph_item>
  1917.             </graph_items>
  1918.         </graph>
  1919.         <graph>
  1920.             <name>MS SQL: Processes blocked</name>
  1921.             <ymin_type_1>FIXED</ymin_type_1>
  1922.             <graph_items>
  1923.                 <graph_item>
  1924.                     <drawtype>GRADIENT_LINE</drawtype>
  1925.                     <color>00C800</color>
  1926.                     <item>
  1927.                         <host>Template DB MS SQL 2012</host>
  1928.                         <key>perf_counter_en[&quot;\SQLServer:General Statistics\Processes blocked&quot;]</key>
  1929.                     </item>
  1930.                 </graph_item>
  1931.             </graph_items>
  1932.         </graph>
  1933.         <graph>
  1934.             <name>MS SQL: Server Memory</name>
  1935.             <ymin_type_1>FIXED</ymin_type_1>
  1936.             <graph_items>
  1937.                 <graph_item>
  1938.                     <drawtype>GRADIENT_LINE</drawtype>
  1939.                     <color>00C800</color>
  1940.                     <item>
  1941.                         <host>Template DB MS SQL 2012</host>
  1942.                         <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Target Server Memory (KB)&quot;]</key>
  1943.                     </item>
  1944.                 </graph_item>
  1945.                 <graph_item>
  1946.                     <sortorder>1</sortorder>
  1947.                     <color>C80000</color>
  1948.                     <item>
  1949.                         <host>Template DB MS SQL 2012</host>
  1950.                         <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Total Server Memory (KB)&quot;]</key>
  1951.                     </item>
  1952.                 </graph_item>
  1953.                 <graph_item>
  1954.                     <sortorder>2</sortorder>
  1955.                     <color>0000C8</color>
  1956.                     <item>
  1957.                         <host>Template DB MS SQL 2012</host>
  1958.                         <key>proc_info[sqlservr.exe,vmsize,sum]</key>
  1959.                     </item>
  1960.                 </graph_item>
  1961.                 <graph_item>
  1962.                     <sortorder>3</sortorder>
  1963.                     <color>A54F10</color>
  1964.                     <item>
  1965.                         <host>Template DB MS SQL 2012</host>
  1966.                         <key>proc_info[sqlservr.exe,wkset,sum]</key>
  1967.                     </item>
  1968.                 </graph_item>
  1969.                 <graph_item>
  1970.                     <sortorder>4</sortorder>
  1971.                     <color>FC6EA3</color>
  1972.                     <item>
  1973.                         <host>Template DB MS SQL 2012</host>
  1974.                         <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Granted Workspace Memory (KB)&quot;]</key>
  1975.                     </item>
  1976.                 </graph_item>
  1977.                 <graph_item>
  1978.                     <sortorder>5</sortorder>
  1979.                     <color>6C59DC</color>
  1980.                     <item>
  1981.                         <host>Template DB MS SQL 2012</host>
  1982.                         <key>perf_counter_en[&quot;\SQLServer:Memory Manager\Maximum Workspace Memory (KB)&quot;]</key>
  1983.                     </item>
  1984.                 </graph_item>
  1985.             </graph_items>
  1986.         </graph>
  1987.         <graph>
  1988.             <name>MS SQL: Transactions</name>
  1989.             <ymin_type_1>FIXED</ymin_type_1>
  1990.             <graph_items>
  1991.                 <graph_item>
  1992.                     <drawtype>GRADIENT_LINE</drawtype>
  1993.                     <color>00C800</color>
  1994.                     <item>
  1995.                         <host>Template DB MS SQL 2012</host>
  1996.                         <key>perf_counter_en[&quot;\SQLServer:SQL Statistics\Batch Requests/sec&quot;]</key>
  1997.                     </item>
  1998.                 </graph_item>
  1999.                 <graph_item>
  2000.                     <sortorder>1</sortorder>
  2001.                     <color>C80000</color>
  2002.                     <item>
  2003.                         <host>Template DB MS SQL 2012</host>
  2004.                         <key>perf_counter_en[&quot;\SQLServer:Databases(_Total)\Transactions/sec&quot;]</key>
  2005.                     </item>
  2006.                 </graph_item>
  2007.             </graph_items>
  2008.         </graph>
  2009.         <graph>
  2010.             <name>MS SQL: Waits per second</name>
  2011.             <ymin_type_1>FIXED</ymin_type_1>
  2012.             <graph_items>
  2013.                 <graph_item>
  2014.                     <drawtype>GRADIENT_LINE</drawtype>
  2015.                     <color>00C800</color>
  2016.                     <item>
  2017.                         <host>Template DB MS SQL 2012</host>
  2018.                         <key>perf_counter_en[&quot;\SQLServer:Latches\Latch Waits/sec&quot;]</key>
  2019.                     </item>
  2020.                 </graph_item>
  2021.                 <graph_item>
  2022.                     <sortorder>1</sortorder>
  2023.                     <color>C80000</color>
  2024.                     <item>
  2025.                         <host>Template DB MS SQL 2012</host>
  2026.                         <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Waits/sec&quot;]</key>
  2027.                     </item>
  2028.                 </graph_item>
  2029.             </graph_items>
  2030.         </graph>
  2031.         <graph>
  2032.             <name>MS SQL: Wait Times</name>
  2033.             <ymin_type_1>FIXED</ymin_type_1>
  2034.             <graph_items>
  2035.                 <graph_item>
  2036.                     <drawtype>GRADIENT_LINE</drawtype>
  2037.                     <color>00C800</color>
  2038.                     <item>
  2039.                         <host>Template DB MS SQL 2012</host>
  2040.                         <key>perf_counter_en[&quot;\SQLServer:Latches\Average Latch Wait Time (ms)&quot;]</key>
  2041.                     </item>
  2042.                 </graph_item>
  2043.                 <graph_item>
  2044.                     <sortorder>1</sortorder>
  2045.                     <color>C80000</color>
  2046.                     <item>
  2047.                         <host>Template DB MS SQL 2012</host>
  2048.                         <key>perf_counter_en[&quot;\SQLServer:Latches\Total Latch Wait Time (ms)&quot;]</key>
  2049.                     </item>
  2050.                 </graph_item>
  2051.                 <graph_item>
  2052.                     <sortorder>2</sortorder>
  2053.                     <color>2774A4</color>
  2054.                     <item>
  2055.                         <host>Template DB MS SQL 2012</host>
  2056.                         <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Average Wait Time (ms)&quot;]</key>
  2057.                     </item>
  2058.                 </graph_item>
  2059.                 <graph_item>
  2060.                     <sortorder>3</sortorder>
  2061.                     <color>A54F10</color>
  2062.                     <item>
  2063.                         <host>Template DB MS SQL 2012</host>
  2064.                         <key>perf_counter_en[&quot;\SQLServer:Locks(_Total)\Lock Wait Time (ms)&quot;]</key>
  2065.                     </item>
  2066.                 </graph_item>
  2067.             </graph_items>
  2068.         </graph>
  2069.     </graphs>
  2070.     <value_maps>
  2071.         <value_map>
  2072.             <name>MS SQL Server database state</name>
  2073.             <mappings>
  2074.                 <mapping>
  2075.                     <value>0</value>
  2076.                     <newvalue>ONLINE</newvalue>
  2077.                 </mapping>
  2078.                 <mapping>
  2079.                     <value>1</value>
  2080.                     <newvalue>RESTORING</newvalue>
  2081.                 </mapping>
  2082.                 <mapping>
  2083.                     <value>2</value>
  2084.                     <newvalue>RECOVERING</newvalue>
  2085.                 </mapping>
  2086.                 <mapping>
  2087.                     <value>3</value>
  2088.                     <newvalue>RECOVERY PENDING</newvalue>
  2089.                 </mapping>
  2090.                 <mapping>
  2091.                     <value>4</value>
  2092.                     <newvalue>SUSPECT</newvalue>
  2093.                 </mapping>
  2094.                 <mapping>
  2095.                     <value>5</value>
  2096.                     <newvalue>EMERGENCY</newvalue>
  2097.                 </mapping>
  2098.                 <mapping>
  2099.                     <value>6</value>
  2100.                     <newvalue>OFFLINE</newvalue>
  2101.                 </mapping>
  2102.                 <mapping>
  2103.                     <value>7</value>
  2104.                     <newvalue>Database Does Not Exist on Server</newvalue>
  2105.                 </mapping>
  2106.             </mappings>
  2107.         </value_map>
  2108.         <value_map>
  2109.             <name>Service state</name>
  2110.             <mappings>
  2111.                 <mapping>
  2112.                     <value>0</value>
  2113.                     <newvalue>Down</newvalue>
  2114.                 </mapping>
  2115.                 <mapping>
  2116.                     <value>1</value>
  2117.                     <newvalue>Up</newvalue>
  2118.                 </mapping>
  2119.             </mappings>
  2120.         </value_map>
  2121.         <value_map>
  2122.             <name>Windows service state</name>
  2123.             <mappings>
  2124.                 <mapping>
  2125.                     <value>0</value>
  2126.                     <newvalue>Running</newvalue>
  2127.                 </mapping>
  2128.                 <mapping>
  2129.                     <value>1</value>
  2130.                     <newvalue>Paused</newvalue>
  2131.                 </mapping>
  2132.                 <mapping>
  2133.                     <value>2</value>
  2134.                     <newvalue>Start pending</newvalue>
  2135.                 </mapping>
  2136.                 <mapping>
  2137.                     <value>3</value>
  2138.                     <newvalue>Pause pending</newvalue>
  2139.                 </mapping>
  2140.                 <mapping>
  2141.                     <value>4</value>
  2142.                     <newvalue>Continue pending</newvalue>
  2143.                 </mapping>
  2144.                 <mapping>
  2145.                     <value>5</value>
  2146.                     <newvalue>Stop pending</newvalue>
  2147.                 </mapping>
  2148.                 <mapping>
  2149.                     <value>6</value>
  2150.                     <newvalue>Stopped</newvalue>
  2151.                 </mapping>
  2152.                 <mapping>
  2153.                     <value>7</value>
  2154.                     <newvalue>Unknown</newvalue>
  2155.                 </mapping>
  2156.                 <mapping>
  2157.                     <value>255</value>
  2158.                     <newvalue>No such service</newvalue>
  2159.                 </mapping>
  2160.             </mappings>
  2161.         </value_map>
  2162.     </value_maps>
  2163. </zabbix_export>
Add Comment
Please, Sign In to add comment