Welcome to mirror list, hosted at ThFree Co, Russian Federation.

template_db_mongodb.yaml « mongodb « db « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 163dbe1b2a42fcf8b9f697a980436948ea66fc0f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
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
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
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
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
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
755
756
757
758
759
760
761
762
763
764
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
zabbix_export:
  version: '6.2'
  date: '2022-05-06T14:09:10Z'
  groups:
    -
      uuid: 748ad4d098d447d492bb935c907f652f
      name: Templates/Databases
  templates:
    -
      uuid: 81aa8c5ab5594f77a2b26fb7f5094048
      template: 'MongoDB node by Zabbix agent 2'
      name: 'MongoDB node by Zabbix agent 2'
      description: |
        Get MongoDB metrics from plugin for the zabbix-agent2.
          1. Setup and configure zabbix-agent2 compiled with the MongoDB monitoring plugin.
          2. Set the {$MONGODB.CONNSTRING} such as <protocol(host:port)> or named session.
          3. Set the user name and password in host macros ({$MONGODB.USER}, {$MONGODB.PASSWORD}) if you want to override parameters from the Zabbix agent configuration file.
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/420659-discussion-thread-for-official-zabbix-template-db-mongodb
        
        Template tooling version used: 0.41
      groups:
        -
          name: Templates/Databases
      items:
        -
          uuid: bfd58d9efaf54e038f96458f68fd48af
          name: 'MongoDB: Document: deleted, rate'
          type: DEPENDENT
          key: mongod.document.deleted.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of documents deleted per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.document.deleted
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: documents
        -
          uuid: 5ecc078aeda04e3ca34ed42d966cdf40
          name: 'MongoDB: Document: inserted, rate'
          type: DEPENDENT
          key: mongod.document.inserted.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of documents inserted per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.document.inserted
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: documents
        -
          uuid: 56fc9870503645069a9d937ac21ab7c2
          name: 'MongoDB: Document: returned, rate'
          type: DEPENDENT
          key: mongod.document.returned.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of documents returned by queries per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.document.returned
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: documents
        -
          uuid: d21a95f1862b4c17b5a4ed83a67ffb1b
          name: 'MongoDB: Document: updated, rate'
          type: DEPENDENT
          key: mongod.document.updated.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of documents updated per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.document.updated
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: documents
        -
          uuid: d5ec0427c5ca49119f6e94211b0297bf
          name: 'MongoDB: Active clients: readers'
          type: DEPENDENT
          key: mongodb.active_clients.readers
          delay: '0'
          history: 7d
          description: 'The number of the active client connections performing read operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.globalLock.activeClients.readers
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: clients
        -
          uuid: 1c2dc0b60eb44d259e02accf2531b389
          name: 'MongoDB: Active clients: total'
          type: DEPENDENT
          key: mongodb.active_clients.total
          delay: '0'
          history: 7d
          description: 'The total number of internal client connections to the database including system threads as well as queued readers and writers.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.globalLock.activeClients.total
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: clients
        -
          uuid: 9c5512c83e1844c5b4fdb675336edbf6
          name: 'MongoDB: Active clients: writers'
          type: DEPENDENT
          key: mongodb.active_clients.writers
          delay: '0'
          history: 7d
          description: 'The number of active client connections performing write operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.globalLock.activeClients.writers
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: clients
        -
          uuid: 5e6fa5d1c9fc48ada6c0bc5c8d1d3ec4
          name: 'MongoDB: Asserts: message, rate'
          type: DEPENDENT
          key: mongodb.asserts.msg.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            The number of message assertions raised per second.
            Check the log file for more information about these messages.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.asserts.msg
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: asserts
        -
          uuid: 32d5177badac49eda8ce1f47c851ebf2
          name: 'MongoDB: Asserts: regular, rate'
          type: DEPENDENT
          key: mongodb.asserts.regular.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            The number of regular assertions raised per second.
            Check the log file for more information about these messages.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.asserts.regular
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: asserts
        -
          uuid: 67f2ef15386a47b6b88fc95dd7fe1be6
          name: 'MongoDB: Asserts: rollovers, rate'
          type: DEPENDENT
          key: mongodb.asserts.rollovers.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            Number of times that the rollover counters roll over per second.
            The counters rollover to zero every 2^30 assertions.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.asserts.rollovers
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: asserts
        -
          uuid: a7dfd56310d44d7dac1f3c02fa5fbc79
          name: 'MongoDB: Asserts: user, rate'
          type: DEPENDENT
          key: mongodb.asserts.user.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            The number of “user asserts” that have occurred per second.
            These are errors that user may generate, such as out of disk space or duplicate key.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.asserts.user
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: asserts
        -
          uuid: 41638aa2b3374e56ad00ef9113e1ea61
          name: 'MongoDB: Asserts: warning, rate'
          type: DEPENDENT
          key: mongodb.asserts.warning.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of warnings raised per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.asserts.warning
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: asserts
        -
          uuid: 46f0a53612de4448ab8e98098375656b
          name: 'MongoDB: Get collections usage stats'
          key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          history: '0'
          trends: '0'
          value_type: TEXT
          description: 'Returns usage statistics for each collection.'
          tags:
            -
              tag: component
              value: collections
            -
              tag: component
              value: raw
        -
          uuid: 6ce4b63c962646ef91e4a705a42f36de
          name: 'MongoDB: Connections, active'
          type: DEPENDENT
          key: mongodb.connections.active
          delay: '0'
          history: 7d
          description: |
            The number of active client connections to the server.
            Active client connections refers to client connections that currently have operations in progress.
            Available starting in  4.0.7, 0 for older versions.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.connections.active
              error_handler: DISCARD_VALUE
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 3b53fa8cf9cb4d1a9ff364cd5d8ae724
          name: 'MongoDB: Connections, available'
          type: DEPENDENT
          key: mongodb.connections.available
          delay: '0'
          history: 7d
          description: 'The number of unused incoming connections available.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.connections.available
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: c4d86707cd124d9db195ca6afd636e71
          name: 'MongoDB: Connections, current'
          type: DEPENDENT
          key: mongodb.connections.current
          delay: '0'
          history: 7d
          description: |
            The number of incoming connections from clients to the database server.
            This number includes the current shell session
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.connections.current
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 37fd836b53fa4db88aeb0faeeccc2856
          name: 'MongoDB: New connections, rate'
          type: DEPENDENT
          key: mongodb.connections.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Rps
          description: 'Rate of all incoming connections created to the server.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.connections.totalCreated
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 0f04a5b3b0e5415185e01ecf75f426ec
          name: 'MongoDB: Current queue: readers'
          type: DEPENDENT
          key: mongodb.current_queue.readers
          delay: '0'
          history: 7d
          description: |
            The number of operations that are currently queued and waiting for the read lock.
            A consistently small read-queue, particularly of shorter operations, should cause no concern.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.globalLock.currentQueue.readers
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: global-lock
        -
          uuid: 47ecaffb9638429eb308572b7d7beb5a
          name: 'MongoDB: Current queue: total'
          type: DEPENDENT
          key: mongodb.current_queue.total
          delay: '0'
          history: 7d
          description: 'The total number of operations queued waiting for the lock.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.globalLock.currentQueue.total
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: global-lock
        -
          uuid: e68ff1592a5648fc8b5475054c327ac6
          name: 'MongoDB: Current queue: writers'
          type: DEPENDENT
          key: mongodb.current_queue.writers
          delay: '0'
          history: 7d
          description: |
            The number of operations that are currently queued and waiting for the write lock.
             A consistently small write-queue, particularly of shorter operations, is no cause for concern.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.globalLock.currentQueue.writers
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: global-lock
        -
          uuid: 1d2c068feba240d6b934b65249d1b5ea
          name: 'MongoDB: Cursor: open pinned'
          type: DEPENDENT
          key: mongodb.cursor.open.pinned
          delay: '0'
          history: 7d
          description: 'Number of pinned open cursors.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.cursor.open.pinned
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: cursors
        -
          uuid: f23bf716eced4ba5948b06c24c780904
          name: 'MongoDB: Cursor: open total'
          type: DEPENDENT
          key: mongodb.cursor.open.total
          delay: '0'
          history: 7d
          description: 'Number of cursors that MongoDB is maintaining for clients.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.cursor.open.total
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: cursors
          triggers:
            -
              uuid: ed4a0c66c76d4ca699d0f2188cc8e71f
              expression: 'min(/MongoDB node by Zabbix agent 2/mongodb.cursor.open.total,5m)>{$MONGODB.CURSOR.OPEN.MAX.WARN}'
              name: 'MongoDB: Too many cursors opened by MongoDB for clients'
              event_name: 'MongoDB: Too many cursors opened by MongoDB for clients (over {$MONGODB.CURSOR.OPEN.MAX.WARN} in 5m)'
              priority: WARNING
              tags:
                -
                  tag: scope
                  value: capacity
        -
          uuid: b30b4c7b6d88467bbde22db411660d6b
          name: 'MongoDB: Cursor: timed out, rate'
          type: DEPENDENT
          key: mongodb.cursor.timed_out.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'Number of cursors that time out, per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.cursor.timedOut
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: cursors
          triggers:
            -
              uuid: 41d37791111b461d94da779e4b2c7e46
              expression: 'min(/MongoDB node by Zabbix agent 2/mongodb.cursor.timed_out.rate,5m)>{$MONGODB.CURSOR.TIMEOUT.MAX.WARN}'
              name: 'MongoDB: Too many cursors are timing out'
              event_name: 'MongoDB: Too many cursors are timing out (over {$MONGODB.CURSOR.TIMEOUT.MAX.WARN} per second in 5m)'
              priority: WARNING
              tags:
                -
                  tag: scope
                  value: performance
        -
          uuid: 4d0b20f4eeca4418bb08e7e2905cc68c
          name: 'MongoDB: Architecture'
          type: DEPENDENT
          key: mongodb.mem.bits
          delay: '0'
          history: 7d
          units: bit
          description: 'A number, either 64 or 32, that indicates whether the MongoDB instance is compiled for 64-bit or 32-bit architecture.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.mem.bits
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: application
        -
          uuid: c88392536a334f9a9c907be28090424c
          name: 'MongoDB: Memory: mapped'
          type: DEPENDENT
          key: mongodb.mem.mapped
          delay: '0'
          history: 7d
          units: B
          description: 'Amount of mapped memory by the database.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.mem.mapped
              error_handler: DISCARD_VALUE
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: 7a10ad84604246679104111e83fa762e
          name: 'MongoDB: Memory: mapped with journal'
          type: DEPENDENT
          key: mongodb.mem.mapped_with_journal
          delay: '0'
          history: 7d
          units: B
          description: 'The amount of mapped memory, including the memory used for journaling.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.mem.mappedWithJournal
              error_handler: DISCARD_VALUE
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: 2248b869cfca42bd95140451c0974f8c
          name: 'MongoDB: Memory: resident'
          type: DEPENDENT
          key: mongodb.mem.resident
          delay: '0'
          history: 7d
          units: B
          description: 'Amount of memory currently used by the database process.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.mem.resident
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: 561ea7508e44443cb692b7dfe8ed3bdc
          name: 'MongoDB: Memory: virtual'
          type: DEPENDENT
          key: mongodb.mem.virtual
          delay: '0'
          history: 7d
          units: B
          description: 'Amount of virtual memory used by the mongod process.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.mem.virtual
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: 9c79163da0b44e39a704969ab1d6280b
          name: 'MongoDB: Cursor: open no timeout'
          type: DEPENDENT
          key: mongodb.metrics.cursor.open.no_timeout
          delay: '0'
          history: 7d
          description: 'Number of open cursors with the option DBQuery.Option.noTimeout set to prevent timeout after a period of inactivity.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.metrics.cursor.open.noTimeout
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: cursors
        -
          uuid: ba0502f80a044670993bdb63587cd282
          name: 'MongoDB: Bytes in, rate'
          type: DEPENDENT
          key: mongodb.network.bytes_in.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The total number of bytes that the server has received over network connections initiated by clients or other mongod/mongos instances per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.network.bytesIn
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 0545114b39a649ef9a4b75da500031fb
          name: 'MongoDB: Bytes out, rate'
          type: DEPENDENT
          key: mongodb.network.bytes_out.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The total number of bytes that the server has sent over network connections initiated by clients or other mongod/mongos instances per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.network.bytesOut
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 73aba89f9012437eb3ed843ccbe63c06
          name: 'MongoDB: Requests, rate'
          type: DEPENDENT
          key: mongodb.network.numRequests.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: '!Rps'
          description: 'Number of distinct requests that the server has received per second'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.network.numRequests
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 532a1f4a64624434986f54b9ac2d2e3a
          name: 'MongoDB: Operations: command, rate'
          type: DEPENDENT
          key: mongodb.opcounters.command.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            The number of commands issued to the database the mongod instance per second.
            Counts all commands except the write commands: insert, update, and delete.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.opcounters.command
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 540f30705ced49da89a16f80828e8775
          name: 'MongoDB: Operations: delete, rate'
          type: DEPENDENT
          key: mongodb.opcounters.delete.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of delete operations the mongod instance per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.opcounters.delete
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 229345df70c240b5ab113b358fb738d9
          name: 'MongoDB: Operations: getmore, rate'
          type: DEPENDENT
          key: mongodb.opcounters.getmore.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            The number of “getmore” operations since the mongod instance per second. This counter can be high even if the query count is low.
            Secondary nodes send getMore operations as part of the replication process.
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.opcounters.getmore
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 4236ad60fcef48f793ac6da4cccdb029
          name: 'MongoDB: Operations: insert, rate'
          type: DEPENDENT
          key: mongodb.opcounters.insert.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of insert operations received since the mongod instance per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.opcounters.insert
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: b0f7def2c62047bba0db77d18f1df920
          name: 'MongoDB: Operations: query, rate'
          type: DEPENDENT
          key: mongodb.opcounters.query.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of queries received the mongod instance per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.opcounters.query
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 019ed179e4e1407db799e01920280e02
          name: 'MongoDB: Operations: update, rate'
          type: DEPENDENT
          key: mongodb.opcounters.update.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: 'The number of update operations the mongod instance per second.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.opcounters.update
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 8e7406e64edd4fe5ba87d4018011c958
          name: 'MongoDB: Get oplog stats'
          key: 'mongodb.oplog.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          history: '0'
          trends: '0'
          value_type: TEXT
          description: 'Returns status of the replica set, using data polled from the oplog.'
          tags:
            -
              tag: component
              value: oplog
            -
              tag: component
              value: replicaset
        -
          uuid: 350da28ce7ab42f9b96728ec730d4bd6
          name: 'MongoDB: Ping'
          key: 'mongodb.ping["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          delay: 30s
          history: 7d
          description: 'Test if a connection is alive or not.'
          valuemap:
            name: 'Service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 30m
          tags:
            -
              tag: component
              value: health
          triggers:
            -
              uuid: c4ab9bfdd6d14634870f8ebb44081655
              expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.ping["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"])=0'
              name: 'MongoDB: Connection to MongoDB is unavailable'
              priority: HIGH
              description: 'Connection to MongoDB instance is currently unavailable.'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 3b448eff509240faba344f7b325f3e28
          name: 'MongoDB: Get Replica Set status'
          key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          history: '0'
          trends: '0'
          value_type: TEXT
          description: 'Returns the replica set status from the point of view of the member where the method is run.'
          tags:
            -
              tag: component
              value: raw
            -
              tag: component
              value: replicaset
        -
          uuid: fb0cc7d44559406cada9d90a51bc999c
          name: 'MongoDB: Get server status'
          key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          history: '0'
          trends: '0'
          value_type: TEXT
          description: 'Returns a database''s state.'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 2d1bf92792014ed8a3f8d8b13907fc7d
          name: 'MongoDB: Uptime'
          type: DEPENDENT
          key: mongodb.uptime
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Number of seconds that the mongod process has been active.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.uptime
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: 166444342def4adc954aa35f3dc22dba
              expression: 'nodata(/MongoDB node by Zabbix agent 2/mongodb.uptime,10m)=1'
              name: 'MongoDB: Failed to fetch info data'
              event_name: 'MongoDB: Failed to fetch info data (or no data for 10m)'
              priority: WARNING
              description: 'Zabbix has not received data for items for the last 10 minutes'
              manual_close: 'YES'
              dependencies:
                -
                  name: 'MongoDB: Connection to MongoDB is unavailable'
                  expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.ping["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"])=0'
              tags:
                -
                  tag: scope
                  value: availability
            -
              uuid: 992590e47a7f42dda0e074c2f7a3e5ba
              expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.uptime)<10m'
              name: 'MongoDB: has been restarted'
              event_name: 'MongoDB: has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: c5679875dc254ddd833ee40ef4a2b3cf
          name: 'MongoDB: MongoDB version'
          type: DEPENDENT
          key: mongodb.version
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'Version of the MongoDB server.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.version
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 3h
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: 0856e13b7e7644c5b353fcfa577acb51
              expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.version,#1)<>last(/MongoDB node by Zabbix agent 2/mongodb.version,#2) and length(last(/MongoDB node by Zabbix agent 2/mongodb.version))>0'
              name: 'MongoDB: Version has changed'
              event_name: 'MongoDB: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'MongoDB version has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
      discovery_rules:
        -
          uuid: a6398a8ae4fe4891a03bb6041bf71f53
          name: 'Collection discovery'
          key: 'mongodb.collections.discovery["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          delay: 30m
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#DBNAME}'
                value: '{$MONGODB.LLD.FILTER.DB.MATCHES}'
                formulaid: C
              -
                macro: '{#DBNAME}'
                value: '{$MONGODB.LLD.FILTER.DB.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: D
              -
                macro: '{#COLLECTION}'
                value: '{$MONGODB.LLD.FILTER.COLLECTION.MATCHES}'
                formulaid: A
              -
                macro: '{#COLLECTION}'
                value: '{$MONGODB.LLD.FILTER.COLLECTION.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: |
            Collect collections metrics.
            Note, depending on the number of DBs and collections this discovery operation may be expensive. Use filters with macros {$MONGODB.LLD.FILTER.DB.MATCHES}, {$MONGODB.LLD.FILTER.DB.NOT_MATCHES}, {$MONGODB.LLD.FILTER.COLLECTION.MATCHES}, {$MONGODB.LLD.FILTER.COLLECTION.NOT_MATCHES}.
          item_prototypes:
            -
              uuid: fbcfeba93bce4f3fa965176b9b3208b0
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Objects, avg size'
              type: DEPENDENT
              key: 'mongodb.collection.avg_obj_size["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: B
              description: 'The size of the average object in the collection in bytes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.avgObjSize
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: objects
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: ee5d3cefe6584900b400a4f598c84c1b
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Capped'
              type: DEPENDENT
              key: 'mongodb.collection.capped["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              description: 'Whether or not the collection is capped.'
              valuemap:
                name: 'MongoDB flag'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.capped
                -
                  type: BOOL_TO_DECIMAL
                  parameters:
                    - ''
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 3h
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: application
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 5fc5b90792054b09a651b5d41328ca56
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Objects, count'
              type: DEPENDENT
              key: 'mongodb.collection.count["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              description: 'Total number of objects in the collection.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.count
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: objects
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 0ab52dbdcb424d759f6f717d8197cb30
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Capped: max number'
              type: DEPENDENT
              key: 'mongodb.collection.max_number["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Maximum number of documents that may be present in a capped collection.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.max
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: application
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 8c0fe89cfa9f40e3bb04c92c417757df
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Capped: max size'
              type: DEPENDENT
              key: 'mongodb.collection.max_size["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Maximum size of a capped collection in bytes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.maxSize
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: b8ebe075b01248179d93c5d174286d2f
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Indexes'
              type: DEPENDENT
              key: 'mongodb.collection.nindexes["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              description: 'Total number of indices on the collection.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.nindexes
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: application
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: a4d05a4ee48b4ce2aa4fbebd240b8c4c
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: commands, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.commands.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].commands.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: b6d89c096fec4194bbe834e026f33178
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: commands, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.commands.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].commands.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 6375b055efe84cdaa0a42c4b9981dde7
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: getmore, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.getmore.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].getmore.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 760a0a70a2674ad7acd9d551865693ef
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: getmore, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.getmore.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].getmore.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 812f76c720fe47ba9fd8764c349c4a36
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: insert, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.insert.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].insert.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: c824a6a997ef4308b47cdc4118799f33
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: insert, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.insert.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].insert.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 77de05da93b34432a7c2442fc01ca624
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: queries, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.queries.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].queries.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 41b1f661ceab494f81e7a4b943a07020
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: queries, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.queries.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].queries.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: a46f2c1c973d4eef8d9a7b1150702c74
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: remove, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.remove.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].remove.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 89b74a8511b84f4bb8cab94fc5471632
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: remove, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.remove.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].remove.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 67eaf64e851a45afbd69303ad0256077
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: total, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.total.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].total.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 1ca4ae9dcf494efdbf85d635d49d4de8
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: total, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.total.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].total.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 89b6f13894d64bdcbe0d0ec41568051a
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: update, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.ops.update.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].update.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 8d75aa686d0d4f3f93089b8b089f1d3c
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations: update, rate'
              type: DEPENDENT
              key: 'mongodb.collection.ops.update.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].update.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 4d575525f749436ea4ea9098c3b164ba
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Read lock, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.read_lock.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].readLock.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 9d2d62a252054e428d9b8863a2128ad8
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Read lock, rate'
              type: DEPENDENT
              key: 'mongodb.collection.read_lock.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].readLock.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: e5e471e100834da5a2e9dddaaa453227
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Size'
              type: DEPENDENT
              key: 'mongodb.collection.size["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'The total size in bytes of the data in the collection plus the size of every indexes on the mongodb.collection.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.size
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: d43709c548b84ea9b2c3c1b159bf28a3
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Get collection stats {#DBNAME}.{#COLLECTION}'
              key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              history: '0'
              trends: '0'
              value_type: TEXT
              description: 'Returns a variety of storage statistics for a given collection.'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: raw
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: a2f095952fa44ed3a199b098c5fbee7a
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Storage size'
              type: DEPENDENT
              key: 'mongodb.collection.storage_size["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total storage space allocated to this collection for document storage.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.storageSize
              master_item:
                key: 'mongodb.collection.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}","{#COLLECTION}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: a4c46912b5e643be8565f2b0d32c62a9
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Write lock, ms/s'
              type: DEPENDENT
              key: 'mongodb.collection.write_lock.ms["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent to operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].writeLock.time'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: ef83d379681241eaadd8be8de755a2bd
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Write lock, rate'
              type: DEPENDENT
              key: 'mongodb.collection.write_lock.rate["{#DBNAME}","{#COLLECTION}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The number of operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.totals["{#DBNAME}.{#COLLECTION}"].writeLock.count'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.collections.usage["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: collection
                  value: '{#COLLECTION}'
                -
                  tag: component
                  value: operations
                -
                  tag: database
                  value: '{#DBNAME}'
          graph_prototypes:
            -
              uuid: 76e921eae63a49b99102d880d5844a46
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Locks'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.read_lock.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.write_lock.rate["{#DBNAME}","{#COLLECTION}"]'
            -
              uuid: ab97504abcc844d5a408d4b7cf85e5a5
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Locks time'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.read_lock.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.write_lock.ms["{#DBNAME}","{#COLLECTION}"]'
            -
              uuid: dcfc8fcc0b484c8baea14525aa212dc2
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.queries.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.getmore.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.insert.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.update.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '4'
                  color: FC6EA3
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.remove.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '5'
                  color: 6C59DC
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.commands.rate["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '6'
                  drawtype: BOLD_LINE
                  color: AC8C14
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.total.rate["{#DBNAME}","{#COLLECTION}"]'
            -
              uuid: 554ac3ac477c47cfbaaba3d6419109f0
              name: 'MongoDB {#DBNAME}.{#COLLECTION}: Operations time'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.queries.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.getmore.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.insert.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.update.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '4'
                  color: FC6EA3
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.remove.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '5'
                  color: 6C59DC
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.commands.ms["{#DBNAME}","{#COLLECTION}"]'
                -
                  sortorder: '6'
                  drawtype: BOLD_LINE
                  color: AC8C14
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.collection.ops.total.ms["{#DBNAME}","{#COLLECTION}"]'
        -
          uuid: a2a57b40d12944ae8ee21c166706b132
          name: 'Database discovery'
          key: 'mongodb.db.discovery["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          delay: 30m
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#DBNAME}'
                value: '{$MONGODB.LLD.FILTER.DB.MATCHES}'
                formulaid: A
              -
                macro: '{#DBNAME}'
                value: '{$MONGODB.LLD.FILTER.DB.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: |
            Collect database metrics.
            Note, depending on the number of DBs this discovery operation may be expensive. Use filters with macros {$MONGODB.LLD.FILTER.DB.MATCHES}, {$MONGODB.LLD.FILTER.DB.NOT_MATCHES}.
          item_prototypes:
            -
              uuid: cbb85c1a212a49a1bbdd9336f4a8fe68
              name: 'MongoDB {#DBNAME}: Collections'
              type: DEPENDENT
              key: 'mongodb.db.collections["{#DBNAME}"]'
              delay: '0'
              history: 7d
              description: 'Contains a count of the number of collections in that database.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.collections
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: collections
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: a9d502096d664f6da44a6ab82f8b7d36
              name: 'MongoDB {#DBNAME}: Size, data'
              type: DEPENDENT
              key: 'mongodb.db.data_size["{#DBNAME}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total size of the data held in this database including the padding factor.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.dataSize
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: c5f4ae6a260e4c10aae0d51441fcbbf7
              name: 'MongoDB {#DBNAME}: Extents'
              type: DEPENDENT
              key: 'mongodb.db.extents["{#DBNAME}"]'
              delay: '0'
              history: 7d
              description: 'Contains a count of the number of extents in the database across all collections.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.numExtents
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: collections
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: cecffb75221440ac957fda5d676d7714
              name: 'MongoDB {#DBNAME}: Size, file'
              type: DEPENDENT
              key: 'mongodb.db.file_size["{#DBNAME}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total size of the data held in this database including the padding factor (only available with the mmapv1 storage engine).'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.fileSize
                  error_handler: DISCARD_VALUE
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 9567515baf7b46a0a685717839f4a48f
              name: 'MongoDB {#DBNAME}: Size, index'
              type: DEPENDENT
              key: 'mongodb.db.index_size["{#DBNAME}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total size of all indexes created on this database.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.indexSize
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: cd5ecd2eafc640319aa2f049db2cf582
              name: 'MongoDB {#DBNAME}: Objects, count'
              type: DEPENDENT
              key: 'mongodb.db.objects["{#DBNAME}"]'
              delay: '0'
              history: 7d
              description: 'Number of objects (documents) in the database across all collections.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.objects
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: objects
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: cadce6df66ec4872bd6b517233f77bfc
              name: 'MongoDB {#DBNAME}: Objects, avg size'
              type: DEPENDENT
              key: 'mongodb.db.size["{#DBNAME}"]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: B
              description: 'The average size of each document in bytes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.avgObjSize
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: objects
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 829536cb5dd448d8a05a30cf6eff8599
              name: 'MongoDB {#DBNAME}: Get db stats {#DBNAME}'
              key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              history: '0'
              trends: '0'
              value_type: TEXT
              description: 'Returns statistics reflecting the database system''s state.'
              tags:
                -
                  tag: component
                  value: database
                -
                  tag: component
                  value: raw
                -
                  tag: database
                  value: '{#DBNAME}'
            -
              uuid: 197a1d1f5d14413da8fe6c93bfdcf4f3
              name: 'MongoDB {#DBNAME}: Size, storage'
              type: DEPENDENT
              key: 'mongodb.db.storage_size["{#DBNAME}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total amount of space allocated to collections in this database for document storage.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.storageSize
              master_item:
                key: 'mongodb.db.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}","{#DBNAME}"]'
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: database
                  value: '{#DBNAME}'
          graph_prototypes:
            -
              uuid: e65fcfed4eca4d518b5e6b5b6085ede8
              name: 'MongoDB {#DBNAME}: Collections stats'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.db.collections["{#DBNAME}"]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.db.objects["{#DBNAME}"]'
            -
              uuid: 5dc13b4aebf24a1b8448c26d93b42d7a
              name: 'MongoDB {#DBNAME}: Disk usage'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.db.index_size["{#DBNAME}"]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.db.storage_size["{#DBNAME}"]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.db.file_size["{#DBNAME}"]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.db.data_size["{#DBNAME}"]'
        -
          uuid: eaa4b8fc535143f887673834987ce7be
          name: 'Replication discovery'
          type: DEPENDENT
          key: mongodb.rs.discovery
          delay: '0'
          description: 'Collect metrics by Zabbix agent if it exists'
          item_prototypes:
            -
              uuid: aed5de1374ea427185d478e87b7f1449
              name: 'MongoDB: Apply batches, ms/s'
              type: DEPENDENT
              key: 'mongodb.rs.apply.batches.ms.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) the mongod has spent applying operations from the oplog.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.apply.batches.totalMillis
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: a460d4356895439d9cf9143b38a18213
              name: 'MongoDB: Apply batches, rate'
              type: DEPENDENT
              key: 'mongodb.rs.apply.batches.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of batches applied across all databases per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.apply.batches.num
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 48970eb366f144b4b9ed3f72fbd983a7
              name: 'MongoDB: Apply ops, rate'
              type: DEPENDENT
              key: 'mongodb.rs.apply.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of oplog operations applied per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.apply.ops
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 8d8b0046f9fd409891d3d225f8a462ff
              name: 'MongoDB: Buffer'
              type: DEPENDENT
              key: 'mongodb.rs.buffer.count[{#RS_NAME}]'
              delay: '0'
              history: 7d
              description: 'Number of operations in the oplog buffer.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.buffer.count
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 0a7522edb2a647989627de85f7e61319
              name: 'MongoDB: Buffer, max size'
              type: DEPENDENT
              key: 'mongodb.rs.buffer.max_size[{#RS_NAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Maximum size of the buffer.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.buffer.maxSizeBytes
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: fd9b7ea20e1e4e91b7a3c75d5416efe8
              name: 'MongoDB: Buffer, size'
              type: DEPENDENT
              key: 'mongodb.rs.buffer.size[{#RS_NAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Current size of the contents of the oplog buffer.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.buffer.sizeBytes
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 6f07d080d01d45dfa5383640c76175c5
              name: 'MongoDB: Replication lag'
              type: DEPENDENT
              key: 'mongodb.rs.lag[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: s
              description: 'Delay between a write operation on the primary and its copy to a secondary.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.members[?(@.self == "true")].lag.first()'
              master_item:
                key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
              trigger_prototypes:
                -
                  uuid: 778d0b15affe4867b3e7f3e396c2a700
                  expression: 'min(/MongoDB node by Zabbix agent 2/mongodb.rs.lag[{#RS_NAME}],5m)>{$MONGODB.REPL.LAG.MAX.WARN}'
                  name: 'MongoDB: Replication lag with primary is too high'
                  event_name: 'MongoDB: Replication lag with primary is too high (over {$MONGODB.REPL.LAG.MAX.WARN} in 5m)'
                  priority: WARNING
                  tags:
                    -
                      tag: scope
                      value: performance
            -
              uuid: be060c8d3fec46d5832f8047d3512903
              name: 'MongoDB: Network bytes, rate'
              type: DEPENDENT
              key: 'mongodb.rs.network.bytes.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: Bps
              description: 'Amount of data read from the replication sync source per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.network.bytes
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: network
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 68b7ac3fee984352bab02b07e0823f51
              name: 'MongoDB: Network getmores, ms/s'
              type: DEPENDENT
              key: 'mongodb.rs.network.getmores.ms.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) required to collect data from getmore operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.network.getmores.totalMillis
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: operations
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 86d9ddbfc35447c7889bef826bab016f
              name: 'MongoDB: Network getmores, rate'
              type: DEPENDENT
              key: 'mongodb.rs.network.getmores.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of getmore operations per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.network.getmores.num
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: operations
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: d2b3075c9728473a9dc8a0585ce43cfd
              name: 'MongoDB: Network ops, rate'
              type: DEPENDENT
              key: 'mongodb.rs.network.ops.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of operations read from the replication source per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.network.ops
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: operations
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 7f9d03a683764e32a35b9c1d4da5ddab
              name: 'MongoDB: Network readers created, rate'
              type: DEPENDENT
              key: 'mongodb.rs.network.readers.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of oplog query processes created per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.network.readersCreated
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: network
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 341410549bfd46058a9cb289b3254639
              name: 'MongoDB {#RS_NAME}: Oplog time diff'
              type: DEPENDENT
              key: 'mongodb.rs.oplog.timediff[{#RS_NAME}]'
              delay: '0'
              history: 7d
              units: s
              description: 'Oplog window: difference between the first and last operation in the oplog. Only present if there are entries in the oplog.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.timediff
              master_item:
                key: 'mongodb.oplog.stats["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: f759273556f5427196c86e822dc7aa95
              name: 'MongoDB: Preload docs, ms/s'
              type: DEPENDENT
              key: 'mongodb.rs.preload.docs.ms.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) spent loading documents as part of the pre-fetch stage of replication.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.preload.docs.totalMillis
                  error_handler: DISCARD_VALUE
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: a364941cb8da416a84c0ca897a04c8f9
              name: 'MongoDB: Preload docs, rate'
              type: DEPENDENT
              key: 'mongodb.rs.preload.docs.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of documents loaded per second during the pre-fetch stage of replication.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.preload.docs.num
                  error_handler: DISCARD_VALUE
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: c78b8e62a12b466ea6f1de84d0e9080a
              name: 'MongoDB: Preload indexes, ms/s'
              type: DEPENDENT
              key: 'mongodb.rs.preload.indexes.ms.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: ms/s
              description: 'Fraction of time (ms/s) spent loading documents as part of the pre-fetch stage of replication.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.preload.indexes.totalMillis
                  error_handler: DISCARD_VALUE
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: ce37bf73939041ab869e4b2faaaedae3
              name: 'MongoDB: Preload indexes, rate'
              type: DEPENDENT
              key: 'mongodb.rs.preload.indexes.rate[{#RS_NAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of index entries loaded by members before updating documents as part of the pre-fetch stage of replication.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.metrics.repl.preload.indexes.num
                  error_handler: DISCARD_VALUE
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 49e786da687a4b36a17bf617026e3c83
              name: 'MongoDB: Node state'
              type: DEPENDENT
              key: 'mongodb.rs.state[{#RS_NAME}]'
              delay: '0'
              history: 7d
              description: 'An integer between 0 and 10 that represents the replica state of the current member.'
              valuemap:
                name: 'ReplicaSet node state'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.myState
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
              trigger_prototypes:
                -
                  uuid: f9f29647a3db426c9c303fc47cfc48eb
                  expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.rs.state[{#RS_NAME}],#1)<>last(/MongoDB node by Zabbix agent 2/mongodb.rs.state[{#RS_NAME}],#2)'
                  recovery_mode: NONE
                  name: 'MongoDB: Node in ReplicaSet changed the state'
                  event_name: 'MongoDB: Node in ReplicaSet changed the state (new state: {ITEM.VALUE})'
                  priority: WARNING
                  description: 'Node in ReplicaSet  changed the state. Ack to close.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: notice
            -
              uuid: 211d5f6768c044f8ac959724160d3ddc
              name: 'MongoDB: Number of replicas'
              type: DEPENDENT
              key: 'mongodb.rs.total_nodes[{#RS_NAME}]'
              delay: '0'
              history: 7d
              discover: NO_DISCOVER
              description: 'The number of replicated nodes in current ReplicaSet.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.members[?(@.self == "true")].totalNodes.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: 4b81b6e4ce1644689e5d8a4490650e6b
              name: 'MongoDB: Unhealthy replicas'
              type: DEPENDENT
              key: 'mongodb.rs.unhealthy[{#RS_NAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              discover: NO_DISCOVER
              value_type: CHAR
              description: 'The replicated nodes in current ReplicaSet with member health value  = 0.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.members[?(@.self == "true")].unhealthyNodes.first()'
                -
                  type: JAVASCRIPT
                  parameters:
                    - |
                      var value = JSON.parse(value);
                      return value.length ? JSON.stringify(value) : '';
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
            -
              uuid: b8d4a32cfa9f4b4fb5177e3389d15a5a
              name: 'MongoDB: Number of unhealthy replicas'
              type: DEPENDENT
              key: 'mongodb.rs.unhealthy_count[{#RS_NAME}]'
              delay: '0'
              history: 7d
              discover: NO_DISCOVER
              description: 'The number of replicated nodes with member health value  = 0.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.members[?(@.self == "true")].unhealthyCount.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: replication
                -
                  tag: replicaset
                  value: '{#RS_NAME}'
          trigger_prototypes:
            -
              uuid: 975c5e5817b148ba8a8d551ac42053d0
              expression: 'last(/MongoDB node by Zabbix agent 2/mongodb.rs.unhealthy_count[{#RS_NAME}])>0 and length(last(/MongoDB node by Zabbix agent 2/mongodb.rs.unhealthy[{#RS_NAME}]))>0'
              name: 'MongoDB: There are unhealthy replicas in ReplicaSet'
              priority: AVERAGE
              tags:
                -
                  tag: scope
                  value: availability
          graph_prototypes:
            -
              uuid: 52724c49dd544470916eab1301be30da
              name: 'MongoDB: Replication lag time [{#RS_NAME}]'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: 1A7C11
                  item:
                    host: 'MongoDB node by Zabbix agent 2'
                    key: 'mongodb.rs.lag[{#RS_NAME}]'
          master_item:
            key: 'mongodb.rs.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var status = JSON.parse(value)
                  return JSON.stringify(status.set
                  ? [{'{#RS_NAME}': status.set, '{#NODE_STATE}': status.myState}]
                  : []);
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          overrides:
            -
              name: 'Arbiter metrics'
              step: '2'
              filter:
                conditions:
                  -
                    macro: '{#NODE_STATE}'
                    value: '7'
                    formulaid: A
              operations:
                -
                  operationobject: ITEM_PROTOTYPE
                  operator: LIKE
                  value: 'Replication lag'
                  status: ENABLED
                  discover: NO_DISCOVER
            -
              name: 'Primary metrics'
              step: '1'
              filter:
                conditions:
                  -
                    macro: '{#NODE_STATE}'
                    value: '1'
                    formulaid: A
              operations:
                -
                  operationobject: ITEM_PROTOTYPE
                  operator: LIKE
                  value: 'Number of replicas'
                  status: ENABLED
                  discover: DISCOVER
                -
                  operationobject: ITEM_PROTOTYPE
                  operator: LIKE
                  value: 'Unhealthy replicas'
                  status: ENABLED
                  discover: DISCOVER
                -
                  operationobject: ITEM_PROTOTYPE
                  operator: LIKE
                  value: 'Number of unhealthy replicas'
                  status: ENABLED
                  discover: DISCOVER
                -
                  operationobject: ITEM_PROTOTYPE
                  operator: LIKE
                  value: 'Replication lag'
                  status: ENABLED
                  discover: NO_DISCOVER
        -
          uuid: 9b37bb1d3e244a95ac5702bcf3ab19a9
          name: 'WiredTiger metrics'
          type: DEPENDENT
          key: mongodb.wired_tiger.discovery
          delay: '0'
          description: 'Collect metrics of WiredTiger Storage Engine if it exists'
          item_prototypes:
            -
              uuid: 918e705019734ca7a200a7c4422c6bab
              name: 'MongoDB: WiredTiger cache: bytes'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.bytes_in_cache[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Size of the data currently in cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''bytes currently in the cache'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 20edd994c8b04e35bea96e6eacd33611
              name: 'MongoDB: WiredTiger cache: bytes, max'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.maximum_bytes_configured[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Maximum cache size.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''maximum bytes configured'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 4e07f3e517bf41c1b42661d3bbd5237e
              name: 'MongoDB: WiredTiger cache: max page size at eviction'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.max_page_size_eviction[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Maximum page size at eviction.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''maximum page size at eviction'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 692685a9f3d9461daa88fdfcb0771e05
              name: 'MongoDB: WiredTiger cache: modified pages evicted'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.modified_pages_evicted[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of pages, that have been modified, evicted from the cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''modified pages evicted'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 634060250f474f269aed1df61f709ca7
              name: 'MongoDB: WiredTiger cache: pages evicted by application threads, rate'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.pages_evicted_threads.rate[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Number of page evicted by application threads per second.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache.[''pages evicted by application threads'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 547ccf6f4c7f4629831e39f72cbcfb70
              name: 'MongoDB: WiredTiger cache: pages held in cache'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.pages_in_cache[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of pages currently held in the cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''pages currently held in the cache'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: c01890f434b14e998e2aea7d61d600e5
              name: 'MongoDB: WiredTiger cache: pages read into cache'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.pages_read[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of pages read into the cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''pages read into cache'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 0aa52db6d7684a2496fb0599139cd142
              name: 'MongoDB: WiredTiger cache: pages written from cache'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.pages_written[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of pages written from the cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''pages written from cache'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 851100dc722b4e74883fa469e062a2e2
              name: 'MongoDB: WiredTiger cache: in-memory page splits'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.splits[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'In-memory page splits.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache[''in-memory page splits'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 85706ecdaa0e4c789a6542cbde35e80a
              name: 'MongoDB: WiredTiger cache: tracked dirty bytes in the cache'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.tracked_dirty_bytes[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Size of the dirty data in the cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache.[''tracked dirty bytes in the cache'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 7993e04be54b4dc0b663a105b7b9a3c4
              name: 'MongoDB: WiredTiger cache: unmodified pages evicted'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.cache.unmodified_pages_evicted[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of pages, that were not modified, evicted from the cache.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.wiredTiger.cache.[''unmodified pages evicted'']'
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: cache
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: b1a9800865db4ac8959bbdc4b2ab39ee
              name: 'MongoDB: WiredTiger concurrent transactions: read, available'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.concurrent_transactions.read.available[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of available read tickets (concurrent transactions) remaining.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.wiredTiger.concurrentTransactions.read.available
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: transactions
                -
                  tag: component
                  value: wired-tiger
              trigger_prototypes:
                -
                  uuid: 967928b915f64623b4416ed0dbf6ba98
                  expression: 'max(/MongoDB node by Zabbix agent 2/mongodb.wired_tiger.concurrent_transactions.read.available[{#SINGLETON}],5m)<{$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN}'
                  name: 'MongoDB: Available WiredTiger read tickets is low'
                  event_name: 'MongoDB: Available WiredTiger read tickets less than {$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN}'
                  priority: WARNING
                  description: |
                    "Too few available read tickets.
                    When the number of available read tickets remaining reaches zero, new read requests will be queued until a new read ticket is available."
                  tags:
                    -
                      tag: scope
                      value: capacity
            -
              uuid: b9415bf5203840209e149a6be4b110a1
              name: 'MongoDB: WiredTiger concurrent transactions: read, out'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.concurrent_transactions.read.out[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of read tickets (concurrent transactions) in use.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.wiredTiger.concurrentTransactions.read.out
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: transactions
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: 46c67d017c5040f691695fcd7645c224
              name: 'MongoDB: WiredTiger concurrent transactions: read, total tickets'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.concurrent_transactions.read.totalTickets[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Total number of read tickets (concurrent transactions) available.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.wiredTiger.concurrentTransactions.read.totalTickets
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: transactions
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: cb36bdd5ce0442cca03e46436f82c6a2
              name: 'MongoDB: WiredTiger concurrent transactions: write, available'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.concurrent_transactions.write.available[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of available write tickets (concurrent transactions) remaining.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.wiredTiger.concurrentTransactions.write.available
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: transactions
                -
                  tag: component
                  value: wired-tiger
              trigger_prototypes:
                -
                  uuid: 485e6e846f274b528902b3ffd08f2fc4
                  expression: 'max(/MongoDB node by Zabbix agent 2/mongodb.wired_tiger.concurrent_transactions.write.available[{#SINGLETON}],5m)<{$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN}'
                  name: 'MongoDB: Available WiredTiger write tickets is low'
                  event_name: 'MongoDB: Available WiredTiger write tickets less than {$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN}'
                  priority: WARNING
                  description: |
                    "Too few available write tickets.
                    When the number of available write tickets remaining reaches zero, new write requests will be queued until a new write ticket is available."
                  tags:
                    -
                      tag: scope
                      value: capacity
            -
              uuid: b997757256e441dca58758192126ac44
              name: 'MongoDB: WiredTiger concurrent transactions: write, out'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.concurrent_transactions.write.out[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of write tickets (concurrent transactions) in use.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.wiredTiger.concurrentTransactions.write.out
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: transactions
                -
                  tag: component
                  value: wired-tiger
            -
              uuid: e9eb61954ab6462d9dbcf9206467b076
              name: 'MongoDB: WiredTiger concurrent transactions: write, total tickets'
              type: DEPENDENT
              key: 'mongodb.wired_tiger.concurrent_transactions.write.totalTickets[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Total number of write tickets (concurrent transactions) available.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.wiredTiger.concurrentTransactions.write.totalTickets
              master_item:
                key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
              tags:
                -
                  tag: component
                  value: transactions
                -
                  tag: component
                  value: wired-tiger
          master_item:
            key: 'mongodb.server.status["{$MONGODB.CONNSTRING}","{$MONGODB.USER}","{$MONGODB.PASSWORD}"]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(JSON.parse(value).wiredTiger
                    ? [{'{#SINGLETON}': ''}] : []);
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
      tags:
        -
          tag: class
          value: database
        -
          tag: target
          value: mongodb-node
      macros:
        -
          macro: '{$MONGODB.CONNS.PCT.USED.MAX.WARN}'
          value: '80'
          description: 'Maximum percentage of used connections'
        -
          macro: '{$MONGODB.CONNSTRING}'
          value: 'tcp://localhost:27017'
          description: 'Connection string in the URI format (password is not used). This param overwrites a value configured in the "Server" option of the configuration file (if it''s set), otherwise, the plugin''s default value is used: "tcp://localhost:27017"'
        -
          macro: '{$MONGODB.CURSOR.OPEN.MAX.WARN}'
          value: '10000'
          description: 'Maximum number of open cursors'
        -
          macro: '{$MONGODB.CURSOR.TIMEOUT.MAX.WARN}'
          value: '1'
          description: 'Maximum number of cursors timing out per second'
        -
          macro: '{$MONGODB.LLD.FILTER.COLLECTION.MATCHES}'
          value: '.*'
          description: 'Filter of discoverable collections'
        -
          macro: '{$MONGODB.LLD.FILTER.COLLECTION.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Filter to exclude discovered collections'
        -
          macro: '{$MONGODB.LLD.FILTER.DB.MATCHES}'
          value: '.*'
          description: 'Filter of discoverable databases'
        -
          macro: '{$MONGODB.LLD.FILTER.DB.NOT_MATCHES}'
          value: (admin|config|local)
          description: 'Filter to exclude discovered databases'
        -
          macro: '{$MONGODB.PASSWORD}'
          description: 'MongoDB user password'
        -
          macro: '{$MONGODB.REPL.LAG.MAX.WARN}'
          value: 10s
          description: 'Maximum replication lag in seconds'
        -
          macro: '{$MONGODB.USER}'
          description: 'MongoDB username'
        -
          macro: '{$MONGODB.WIRED_TIGER.TICKETS.AVAILABLE.MIN.WARN}'
          value: '5'
          description: 'Minimum number of available WiredTiger read or write tickets remaining'
      valuemaps:
        -
          uuid: 9f921e1503e74204b8f128966f9562bc
          name: 'MongoDB flag'
          mappings:
            -
              value: '0'
              newvalue: 'False'
            -
              value: '1'
              newvalue: 'True'
        -
          uuid: a99141555eff42ff8d367f10d9a7c569
          name: 'ReplicaSet node state'
          mappings:
            -
              value: '0'
              newvalue: STARTUP
            -
              value: '1'
              newvalue: PRIMARY
            -
              value: '2'
              newvalue: SECONDARY
            -
              value: '3'
              newvalue: RECOVERING
            -
              value: '5'
              newvalue: STARTUP2
            -
              value: '6'
              newvalue: UNKNOWN
            -
              value: '7'
              newvalue: ARBITER
            -
              value: '8'
              newvalue: DOWN
            -
              value: '9'
              newvalue: ROLLBACK
            -
              value: '10'
              newvalue: REMOVED
        -
          uuid: b37ba44823e34a13a119f86f3d58a65a
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
  triggers:
    -
      uuid: 58142b2a76114e69af259ea1b5c19bbc
      expression: 'min(/MongoDB node by Zabbix agent 2/mongodb.connections.current,5m)/(last(/MongoDB node by Zabbix agent 2/mongodb.connections.available)+last(/MongoDB node by Zabbix agent 2/mongodb.connections.current))*100>{$MONGODB.CONNS.PCT.USED.MAX.WARN}'
      name: 'MongoDB: Total number of open connections is too high'
      event_name: 'MongoDB: Total number of open connections is too high (over {$MONGODB.CONNS.PCT.USED.MAX.WARN%} in 5m)'
      priority: WARNING
      description: 'Too few available connections. If MongoDB runs low on connections, in may not be able to handle incoming requests in a timely manner.'
      tags:
        -
          tag: scope
          value: capacity
  graphs:
    -
      uuid: b018e24581464b0282df09fb9d6fc129
      name: 'MongoDB: Active clients'
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.active_clients.total
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.active_clients.readers
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.active_clients.writers
    -
      uuid: 815c7f2a6dd941df9bc10bc9153e0e97
      name: 'MongoDB: Activity'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.connections.rate
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.network.numRequests.rate
    -
      uuid: d7787063a8614cb4afdf41811a8ade59
      name: 'MongoDB: Connections'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.connections.available
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.connections.active
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.connections.current
    -
      uuid: 230bda1ddd4a45b6a2f11dbea252276e
      name: 'MongoDB: Cursors'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.cursor.open.total
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.cursor.open.pinned
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.metrics.cursor.open.no_timeout
    -
      uuid: 509211f5f33d4c57a49c5416b2f33937
      name: 'MongoDB: Documents'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongod.document.deleted.rate
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongod.document.inserted.rate
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongod.document.returned.rate
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongod.document.updated.rate
    -
      uuid: f47175a50c6f488b993d3b04ecb28af4
      name: 'MongoDB: Memory usage'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.mem.mapped
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.mem.resident
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.mem.virtual
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.mem.mapped_with_journal
    -
      uuid: f1311a6b0d5f4564898d6679a45c438d
      name: 'MongoDB: Network'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.network.bytes_out.rate
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.network.bytes_in.rate
    -
      uuid: 27c36a56bdca436d8a0fe43c9ee8233b
      name: 'MongoDB: Operations'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.opcounters.query.rate
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.opcounters.insert.rate
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.opcounters.getmore.rate
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.opcounters.update.rate
        -
          sortorder: '4'
          color: FC6EA3
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.opcounters.delete.rate
        -
          sortorder: '5'
          color: 6C59DC
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.opcounters.command.rate
    -
      uuid: e228af86d0a34bd4b494cb6b8cda2ad8
      name: 'MongoDB: Queued operations'
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 1A7C11
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.current_queue.total
        -
          sortorder: '1'
          drawtype: BOLD_LINE
          color: 2774A4
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.current_queue.readers
        -
          sortorder: '2'
          drawtype: BOLD_LINE
          color: F63100
          item:
            host: 'MongoDB node by Zabbix agent 2'
            key: mongodb.current_queue.writers