Newer
Older
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>App MSSQL 2008-2016 WSFC</title>
<link rel="stylesheet" href="/assets/css/styles.css">
<script src="/assets/js/jquery.min.js"></script>
<a href="https://github.com/zabbix/community-templates/tree/main/Server_Hardware/template_mssql_2008-2016_multi_instance_with_wsfc_(autodiscovery)">
<div class="w container conference-header" id="training_overview" style="padding-top: 60px; min-height: 150px;">
<div class="banner-content" style="padding-left: 0; padding-bottom: 16px;">
<h1 class="h1 center">App MSSQL 2008-2016 WSFC</h1>
</div>
<!-- <div class="w container">
<div class="content text">
<div class="grid grid-space-category center">
<div class="span">
<a class="card center category-button" href="" style="color: #25282F">category:databases </a>
</div>
<div class="span">
<a class="card center category-button" href="" style="color: #25282F">title:Microsoft SQL </a>
</div>
</div>
</div>
</div> -->
</div>
</section>
</a>
<div class="w container">
<h2 class="h2">Available versions</h2>
<br>
<div class="tabs-section">
<div id="integrations_tabs" class="tabs">
<ul>
<li>
<li>
<a class="js_tab" id="ver_6_0" href="#body">ver. 6.0
</a>
</li>
<div id="content_ver_5_0" class="readme">
<div class="banner-buttons " style="padding-top: 20px; ">
<a class="button button-gray" style="color: #ffff;" href="/#server-hardware-template-mssql-2008-2016-multi-instance-with-wsfc-autodiscovery">Back to index</a>
<a class="button button-green" style="color: #ffff;" href="https://raw.githubusercontent.com/zabbix/community-templates/main/Server_Hardware/template_mssql_2008-2016_multi_instance_with_wsfc_(autodiscovery)/5.0/template_mssql_2008-2016_multi_instance_with_wsfc_(autodiscovery).xml">Download</a>
</div>
<h1 id="app-mssql-2008-2016-wsfc">App MSSQL 2008-2016 WSFC</h1>
<h2 id="overview">Overview</h2>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Requirements:
</code></pre></div></div>
<ol>
<li>Zabbix 3+</li>
</ol>
<p>Install instrucitons:</p>
<p>https://github.com/hermanekt/MSSQL-2008-2016-Multi-instance-with-WSFC</p>
<h2 id="macros-used">Macros used</h2>
<p>There are no macros links in this template.</p>
<h2 id="template-links">Template links</h2>
<p>There are no template links in this template.</p>
<h2 id="discovery-rules">Discovery rules</h2>
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Type</th>
<th>Key and additional info</th>
</tr>
</thead>
<tbody>
<tr>
<td>Database Discovery</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.db.discovery<p>Update: 1h</p></td>
</tr>
<tr>
<td>SQL Error Log</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.errorlog<p>Update: 1h</p></td>
</tr>
<tr>
<td>Instance Discovery</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.instance.discovery<p>Update: 1h</p></td>
</tr>
<tr>
<td>Services Discovery</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.service.discovery<p>Update: 1h</p></td>
</tr>
</tbody>
</table>
<h2 id="items-collected">Items collected</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Type</th>
<th>Key and additional info</th>
<td>SQL Server Default Service State - MSSQLSERVER</td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[MSSQLSERVER]<p>Update: 30s</p></td>
<td> </td>
<td>SQL Agent Default Instance: Service State - SQL Agent (MSSQLSERVER)</td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[SQLServerAgent]<p>Update: 60s</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>agent.hostname<p>Update: 60s</p></td>
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Active Transactions</td>
<td><p>Number of active transactions for the database.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Active Transactions”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Data File Size</td>
<td><p>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.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Data File(s) Size (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Bytes Flushed/sec</td>
<td><p>Total number of log bytes flushed per second. Useful for determining trends and utilization of the transaction log.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Bytes Flushed/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log File Size</td>
<td><p>Cumulative size (in kilobytes) of all the transaction log files in the database.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log File(s) Size (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log File Used Size</td>
<td><p>The cumulative used size of all the log files in the database.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log File(s) Used Size (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Flushes/sec</td>
<td><p>Number of log flushes per second.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Flushes/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Flush Waits/sec</td>
<td><p>Number of commits per second waiting for the log flush.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Flush Waits/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Flush Wait Time</td>
<td><p>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.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Flush Wait Time”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Growths</td>
<td><p>Total number of times the transaction log for the database has been expanded.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Growths”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Shrinks</td>
<td><p>Total number of times the transaction log for the database has been shrunk.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Shrinks”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Truncations</td>
<td><p>The number of times the transaction log has been shrunk.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Truncations”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Percent Log Used</td>
<td><p>Percentage of space in the log that is in use.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Percent Log Used”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Transactions per second</td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Transactions/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
<td>SQL Server, Instance {#INST}: Error Log File (LOGCount)</td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent (active)</code></td>
<td>log.count[{#ERRORLOG},Error</td>
<td>Failed,”UTF-16”]<p>Update: 1m</p><p>LLD</p></td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Error Log File (LOG)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent (active)</code></td>
<td>log[{#ERRORLOG},Error</td>
<td>Failed,”UTF-16”]<p>Update: 1m</p><p>LLD</p></td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Access Methods\Page Splits/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Access Methods\Page Splits/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td>SQL Server, Instance {#INST}:SQL Statistics\Batch Requests/sec</td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:SQL Statistics\Batch Requests/sec”]<p>Update: 1m</p><p>LLD</p></td>
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
<tr>
<td>SQL Server, Instance {#INST}: Redone Bytes/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Redone Bytes/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Redones/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Redones/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Total Log requiring undo</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Total Log requiring undo”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Transaction Delay</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Transaction Delay”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Databases(_Total)\Percent Log Used</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases(_Total)\Percent Log Used”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:General Statistics\User Connections</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:General Statistics\User Connections”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Locks(_Total)\Lock Timeouts/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Locks(_Total)\Lock Timeouts/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Locks(_Total)\Number of Deadlocks/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Locks(_Total)\Number of Deadlocks/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory Manager\Memory Grants Pending</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Memory Manager\Memory Grants Pending”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory Manager\Target Server Memory (KB)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Memory Manager\Target Server Memory (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory Manager\Total Server Memory (KB)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Memory Manager\Total Server Memory (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:SQL Statistics\SQL Compilations/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:SQL Statistics\SQL Compilations/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Redo blocked/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Redo blocked/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:SQL Statistics\SQL Re-Compilations/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:SQL Statistics\SQL Re-Compilations/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory grant queue waits/Average wait time (ms)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Average wait time (ms))\Memory grant queue waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Network IO waits/Average wait time (ms)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Average wait time (ms))\Network IO waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Page IO latch waits/Average wait time (ms)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Average wait time (ms))\Page IO latch waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory grant queue waits/Cumulative wait time (ms) per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Cumulative wait time (ms) per second)\Memory grant queue waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Network IO waits/Cumulative wait time (ms) per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Cumulative wait time (ms) per second)\Network IO waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Page IO latch waits/Cumulative wait time (ms) per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Cumulative wait time (ms) per second)\Page IO latch waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory grant queue waits/Waits in progress</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Waits in progress)\Memory grant queue waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Network IO waits/Waits in progress</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Waits in progress)\Network IO waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Page IO latch waits/Waits in progress</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Waits in progress)\Page IO latch waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Memory grant queue waits/Waits started per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Waits started per second)\Memory grant queue waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Network IO waits/Waits started per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Waits started per second)\Network IO waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Redo Bytes Remaining</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Redo Bytes Remaining”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Recovery Queue</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Recovery Queue”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Bytes Received from Replica/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Bytes Received from Replica/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Database Flow Control Delay</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Database Flow Control Delay”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Bytes Sent to Replica/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Bytes Sent to Replica/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Bytes Sent to Transport/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Bytes Sent to Transport/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Flow Control/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Flow Control/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Flow Control Time (ms/sec)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Flow Control Time (ms/sec)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Receives from Replica/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Receives from Replica/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Resent Messages/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Resent Messages/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Sends to Replica/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Sends to Replica/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Sends to Transport/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Availability Replica(_Total)\Sends to Transport/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Buffer Manager\Page life expectancy</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Buffer Manager\Page life expectancy”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Buffer Manager\Page reads/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Buffer Manager\Page reads/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Buffer Manager\Page writes/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Buffer Manager\Page writes/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Database Flow Controls/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Database Flow Controls/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Mirrored Write Transactions/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Mirrored Write Transactions/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: File Bytes Received/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\File Bytes Received/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Group Commits/Sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Group Commits/Sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Group Commit Time</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Group Commit Time”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Bytes Compressed/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Bytes Compressed/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Bytes Decompressed/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Bytes Decompressed/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Bytes Received/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Bytes Received/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Compression Cache hits/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Compression Cache hits/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Compression Cache misses/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Compression Cache misses/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Compressions/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Compressions/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Decompressions/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Decompressions/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log remaining for undo</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log remaining for undo”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Log Send Queue</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Log Send Queue”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:Page IO latch waits/Waits started per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Wait Statistics(Waits started per second)\Page IO latch waits”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server {#INST} Service State - {#INST}</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[MSSQL${#INST}]<p>Update: 10s</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Agent {#INST} Service State - {#INST}</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[SQLAgent${#INST}]<p>Update: 10s</p><p>LLD</p></td>
<td> </td>
</tr>
</tbody>
</table>
<h2 id="triggers">Triggers</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Expression</th>
<th>Priority</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr>
<td>Errors in {#INST} ERRORLOG</td>
<td><p>-</p></td>
<td><p><strong>Expression</strong>: {App MSSQL 2008-2016 WSFC:log.count[{#ERRORLOG},Error</td>
<td>Failed,”UTF-16”].sum(5m)}>0</p><p><strong>Recovery expression</strong>: </p></td>
<td>warning</td>
</tr>
<tr>
<td>SQL Agent {#INST} Service state is not running</td>
<td><p>-</p></td>
<td><p><strong>Expression</strong>: {App MSSQL 2008-2016 WSFC:service_state[SQLAgent${#INST}].last(0)}>0 and {App MSSQL 2008-2016 WSFC:service_state[SQLAgent${#INST}].last(0)}<255</p><p><strong>Recovery expression</strong>: </p></td>
<td>high</td>
<td> </td>
</tr>
<tr>
<td>SQL Server {#INST} Service state is not running</td>
<td><p>-</p></td>
<td><p><strong>Expression</strong>: {App MSSQL 2008-2016 WSFC:service_state[MSSQL${#INST}].last(0)}>0 and {App MSSQL 2008-2016 WSFC:service_state[MSSQL${#INST}].last(0)}<255</p><p><strong>Recovery expression</strong>: </p></td>
<td>high</td>
<td> </td>
</tr>
<tr>
<td>Errors in {#INST} ERRORLOG (LLD)</td>
<td><p>-</p></td>
<td><p><strong>Expression</strong>: {App MSSQL 2008-2016 WSFC:log.count[{#ERRORLOG},Error</td>
<td>Failed,”UTF-16”].sum(5m)}>0</p><p><strong>Recovery expression</strong>: </p></td>
<td>warning</td>
</tr>
<tr>
<td>SQL Agent {#INST} Service state is not running (LLD)</td>
<td><p>-</p></td>
<td><p><strong>Expression</strong>: {App MSSQL 2008-2016 WSFC:service_state[SQLAgent${#INST}].last(0)}>0 and {App MSSQL 2008-2016 WSFC:service_state[SQLAgent${#INST}].last(0)}<255</p><p><strong>Recovery expression</strong>: </p></td>
<td>high</td>
<td> </td>
</tr>
<tr>
<td>SQL Server {#INST} Service state is not running (LLD)</td>
<td><p>-</p></td>
<td><p><strong>Expression</strong>: {App MSSQL 2008-2016 WSFC:service_state[MSSQL${#INST}].last(0)}>0 and {App MSSQL 2008-2016 WSFC:service_state[MSSQL${#INST}].last(0)}<255</p><p><strong>Recovery expression</strong>: </p></td>
<td>high</td>
<td> </td>
</tr>
</tbody>
</table>
<div id="content_ver_5_4" class="readme">
<div class="banner-buttons " style="padding-top: 20px; ">
<a class="button button-gray" style="color: #ffff;" href="/#server-hardware-template-mssql-2008-2016-multi-instance-with-wsfc-autodiscovery">Back to index</a>
<a class="button button-green" style="color: #ffff;" href="https://raw.githubusercontent.com/zabbix/community-templates/main/Server_Hardware/template_mssql_2008-2016_multi_instance_with_wsfc_(autodiscovery)/5.4/template_mssql_2008-2016_multi_instance_with_wsfc_(autodiscovery).yaml">Download</a>
</div>
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<h1 id="app-mssql-2008-2016-wsfc">App MSSQL 2008-2016 WSFC</h1>
<h2 id="overview">Overview</h2>
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Requirements:
</code></pre></div></div>
<ol>
<li>Zabbix 3+</li>
</ol>
<p>Install instrucitons:</p>
<p>https://github.com/hermanekt/MSSQL-2008-2016-Multi-instance-with-WSFC</p>
<h2 id="macros-used">Macros used</h2>
<p>There are no macros links in this template.</p>
<h2 id="template-links">Template links</h2>
<p>There are no template links in this template.</p>
<h2 id="discovery-rules">Discovery rules</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Type</th>
<th>Key and additional info</th>
</tr>
</thead>
<tbody>
<tr>
<td>Database Discovery</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.db.discovery<p>Update: 1h</p></td>
</tr>
<tr>
<td>Services Discovery</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.service.discovery<p>Update: 1h</p></td>
</tr>
<tr>
<td>Instance Discovery</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.instance.discovery<p>Update: 1h</p></td>
</tr>
<tr>
<td>SQL Error Log</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>mssql.errorlog<p>Update: 1h</p></td>
</tr>
</tbody>
</table>
<h2 id="items-collected">Items collected</h2>
<table>
<thead>
<tr>
<th>Name</th>
<th>Description</th>
<th>Type</th>
<th>Key and additional info</th>
<th> </th>
</tr>
</thead>
<tbody>
<tr>
<td>SQL Server Default Service State - MSSQLSERVER</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[MSSQLSERVER]<p>Update: 30s</p></td>
<td> </td>
</tr>
<tr>
<td>Host name of SQL Node</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>agent.hostname<p>Update: 60s</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Agent Default Instance: Service State - SQL Agent (MSSQLSERVER)</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[SQLServerAgent]<p>Update: 60s</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Active Transactions</td>
<td><p>Number of active transactions for the database.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Active Transactions”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Data File Size</td>
<td><p>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.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Data File(s) Size (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Bytes Flushed/sec</td>
<td><p>Total number of log bytes flushed per second. Useful for determining trends and utilization of the transaction log.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Bytes Flushed/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log File Size</td>
<td><p>Cumulative size (in kilobytes) of all the transaction log files in the database.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log File(s) Size (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log File Used Size</td>
<td><p>The cumulative used size of all the log files in the database.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log File(s) Used Size (KB)”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Flushes/sec</td>
<td><p>Number of log flushes per second.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Flushes/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Flush Waits/sec</td>
<td><p>Number of commits per second waiting for the log flush.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Flush Waits/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Flush Wait Time</td>
<td><p>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.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Flush Wait Time”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Growths</td>
<td><p>Total number of times the transaction log for the database has been expanded.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Growths”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Shrinks</td>
<td><p>Total number of times the transaction log for the database has been shrunk.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Shrinks”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Log Truncations</td>
<td><p>The number of times the transaction log has been shrunk.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Log Truncations”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Percent Log Used</td>
<td><p>Percentage of space in the log that is in use.</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Percent Log Used”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}, DB {#DBNAME}: Transactions per second</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Databases({#DBNAME})\Transactions/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server {#INST} Service State - {#INST}</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[MSSQL${#INST}]<p>Update: 10s</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Agent {#INST} Service State - {#INST}</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>service_state[SQLAgent${#INST}]<p>Update: 10s</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Access Methods\Page Splits/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Access Methods\Page Splits/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}:SQL Statistics\Batch Requests/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:SQL Statistics\Batch Requests/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Redone Bytes/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Redone Bytes/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Redones/sec</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>
<td>perf_counter[”{#PERFCOUNTERNAME}:Database Replica(_Total)\Redones/sec”]<p>Update: 1m</p><p>LLD</p></td>
<td> </td>
</tr>
<tr>
<td>SQL Server, Instance {#INST}: Total Log requiring undo</td>
<td><p>-</p></td>
<td><code class="language-plaintext highlighter-rouge">Zabbix agent</code></td>