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

template_db_redis.yaml « redis « db « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: cb92f827f36e2c0496cef26b1b0225086665ae57 (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
zabbix_export:
  version: '6.2'
  date: '2022-04-06T19:59:29Z'
  groups:
    -
      uuid: 748ad4d098d447d492bb935c907f652f
      name: Templates/Databases
  templates:
    -
      uuid: e111446745a1425b862f8727ae63bce4
      template: 'Redis by Zabbix agent 2'
      name: 'Redis by Zabbix agent 2'
      description: |
        Get Redis metrics from plugin for the New Zabbix Agent (zabbix-agent2).
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/389050-discussion-thread-for-official-zabbix-template-redis
        
        Template tooling version used: 0.41
      groups:
        -
          name: Templates/Databases
      items:
        -
          uuid: bc4989f098954259924cbee6717519a7
          name: 'Redis: Blocked clients'
          type: DEPENDENT
          key: redis.clients.blocked
          delay: '0'
          history: 7d
          description: 'The number of connections waiting on a blocking call'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Clients.blocked_clients
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 6140e8ff18fe41c6b65165b0f5346c7b
          name: 'Redis: Connected clients'
          type: DEPENDENT
          key: redis.clients.connected
          delay: '0'
          history: 7d
          description: 'The number of connected clients'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Clients.connected_clients
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 3f5d6532f403436c823e1461e49e54c2
          name: 'Redis: Max input buffer'
          type: DEPENDENT
          key: redis.clients.max_input_buffer
          delay: '0'
          history: 7d
          description: 'The biggest input buffer among current client connections'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var clients = JSON.parse(value).Clients
                  return clients.client_recent_max_input_buffer || clients.client_biggest_input_buf
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 44788aa774e64fe685fe6496a9bea97d
          name: 'Redis: Max output buffer'
          type: DEPENDENT
          key: redis.clients.max_output_buffer
          delay: '0'
          history: 7d
          description: 'The biggest output buffer among current client connections'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var clients = JSON.parse(value).Clients
                  return clients.client_recent_max_output_buffer || clients.client_longest_output_list
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 74f9fe26bdaf4a7bb86214bd7d500363
          name: 'Redis: Cluster enabled'
          type: DEPENDENT
          key: redis.cluster.enabled
          delay: '0'
          history: 7d
          description: 'Indicate Redis cluster is enabled'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Cluster.cluster_enabled
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: system
        -
          uuid: 066486e3be25406185e624611eeb167a
          name: 'Redis: Max clients'
          type: DEPENDENT
          key: redis.config.maxclients
          delay: '0'
          history: 7d
          description: |
            Max number of connected clients at the same time.
            Once the limit is reached Redis will close all the new connections sending an error "max number of clients reached".
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.maxclients
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 30m
          master_item:
            key: 'redis.config["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: bf68f3ecc3544ef0af00889139caf313
          name: 'Redis: Get config'
          key: 'redis.config["{$REDIS.CONN.URI}"]'
          history: 1h
          trends: '0'
          value_type: TEXT
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          tags:
            -
              tag: component
              value: raw
          triggers:
            -
              uuid: 819b379b51c34616820f86d21c703b27
              expression: 'last(/Redis by Zabbix agent 2/redis.config["{$REDIS.CONN.URI}"],#1)<>last(/Redis by Zabbix agent 2/redis.config["{$REDIS.CONN.URI}"],#2) and length(last(/Redis by Zabbix agent 2/redis.config["{$REDIS.CONN.URI}"]))>0'
              name: 'Redis: Configuration has changed'
              event_name: 'Redis: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'Redis configuration has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: 99d427f1f76a468c9878225abb8cebbd
          name: 'Redis: CPU sys'
          type: DEPENDENT
          key: redis.cpu.sys
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'System CPU consumed by the Redis server'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.CPU.used_cpu_sys
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: cpu
        -
          uuid: 1bfce9a62c924510a9cac3b04320d838
          name: 'Redis: CPU sys children'
          type: DEPENDENT
          key: redis.cpu.sys_children
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'System CPU consumed by the background processes'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.CPU.used_cpu_sys_children
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: cpu
        -
          uuid: 83e7c9f5b8a24c949d72125671d6d39a
          name: 'Redis: CPU user'
          type: DEPENDENT
          key: redis.cpu.user
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'User CPU consumed by the Redis server'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.CPU.used_cpu_user
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: cpu
        -
          uuid: 8bc18ca0c79d4a81811b600cf3fe8ddd
          name: 'Redis: CPU user children'
          type: DEPENDENT
          key: redis.cpu.user_children
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'User CPU consumed by the background processes'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.CPU.used_cpu_user_children
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: cpu
        -
          uuid: 720f146ffe7e481482e11db4b99634c8
          name: 'Redis: Get info'
          key: 'redis.info["{$REDIS.CONN.URI}"]'
          history: 1h
          trends: '0'
          value_type: TEXT
          tags:
            -
              tag: component
              value: raw
          triggers:
            -
              uuid: 0a5176877ba24df8b5d38c8cc544f0a8
              expression: 'nodata(/Redis by Zabbix agent 2/redis.info["{$REDIS.CONN.URI}"],30m)=1'
              name: 'Redis: Failed to fetch info data'
              event_name: 'Redis: Failed to fetch info data (or no data for 30m)'
              priority: WARNING
              description: 'Zabbix has not received data for items for the last 30 minutes'
              manual_close: 'YES'
              dependencies:
                -
                  name: 'Redis: Service is down'
                  expression: 'last(/Redis by Zabbix agent 2/redis.ping["{$REDIS.CONN.URI}"])=0'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 5fe2afa1c8ff434a876822ea0b290659
          name: 'Redis: Memory fragmentation ratio'
          type: DEPENDENT
          key: redis.memory.fragmentation_ratio
          delay: '0'
          history: 7d
          value_type: FLOAT
          description: |
            This ratio is an indication of memory mapping efficiency:
              — Value over 1.0 indicate that memory fragmentation is very likely. Consider restarting the Redis server so the operating system can recover fragmented memory, especially with a ratio over 1.5.
              — Value under 1.0 indicate that Redis likely has insufficient memory available. Consider optimizing memory usage or adding more RAM.
            
            Note: If your peak memory usage is much higher than your current memory usage, the memory fragmentation ratio may be unreliable.
            
            https://redis.io/topics/memory-optimization
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Memory.mem_fragmentation_ratio
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: memory
          triggers:
            -
              uuid: 629531ff1ebc4bdbb1f277848c436230
              expression: 'min(/Redis by Zabbix agent 2/redis.memory.fragmentation_ratio,15m)>{$REDIS.MEM.FRAG_RATIO.MAX.WARN}'
              name: 'Redis: Memory fragmentation ratio is too high'
              event_name: 'Redis: Memory fragmentation ratio is too high (over {$REDIS.MEM.FRAG_RATIO.MAX.WARN} in 15m)'
              priority: WARNING
              description: |
                This ratio is an indication of memory mapping efficiency:
                  — Value over 1.0 indicate that memory fragmentation is very likely. Consider restarting the Redis server so the operating system can recover fragmented memory, especially with a ratio over 1.5.
                  — Value under 1.0 indicate that Redis likely has insufficient memory available. Consider optimizing memory usage or adding more RAM.
                
                Note: If your peak memory usage is much higher than your current memory usage, the memory fragmentation ratio may be unreliable.
                
                https://redis.io/topics/memory-optimization
              tags:
                -
                  tag: scope
                  value: performance
        -
          uuid: 5fef1d341a974cc5aa164e550aff1537
          name: 'Redis: Memory used'
          type: DEPENDENT
          key: redis.memory.used_memory
          delay: '0'
          history: 7d
          units: B
          description: 'Total number of bytes allocated by Redis using its allocator'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Memory.used_memory
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: de026d98fd9146b78f9a0be2c0b9de10
          name: 'Redis: Memory used Lua'
          type: DEPENDENT
          key: redis.memory.used_memory_lua
          delay: '0'
          history: 7d
          units: B
          description: 'Amount of memory used by the Lua engine'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Memory.used_memory_lua
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: d3f05ab1c0404f01875afb964d9820e2
          name: 'Redis: Memory used peak'
          type: DEPENDENT
          key: redis.memory.used_memory_peak
          delay: '0'
          history: 7d
          units: B
          description: 'Peak memory consumed by Redis (in bytes)'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Memory.used_memory_peak
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: ef06ae3dd4784702ad0d281da94c294d
          name: 'Redis: Memory used RSS'
          type: DEPENDENT
          key: redis.memory.used_memory_rss
          delay: '0'
          history: 7d
          units: B
          description: 'Number of bytes that Redis allocated as seen by the operating system'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Memory.used_memory_rss
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: memory
        -
          uuid: 86501872c68c4e9fa4b55aaacebb3c3c
          name: 'Redis: AOF current rewrite time sec'
          type: DEPENDENT
          key: redis.persistence.aof_current_rewrite_time_sec
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Duration of the on-going AOF rewrite operation if any'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_current_rewrite_time_sec
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: d298e1ce9aa1481391a48754e2a648b0
          name: 'Redis: AOF enabled'
          type: DEPENDENT
          key: redis.persistence.aof_enabled
          delay: '0'
          history: 7d
          description: 'Flag indicating AOF logging is activated'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_enabled
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: e2e62cc728c04169afeb051000042e28
          name: 'Redis: AOF last bgrewrite status'
          type: DEPENDENT
          key: redis.persistence.aof_last_bgrewrite_status
          delay: '0'
          history: 7d
          description: 'Status of the last AOF rewrite operation'
          valuemap:
            name: 'Redis bgwrite status'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_last_bgrewrite_status
            -
              type: BOOL_TO_DECIMAL
              parameters:
                - ''
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 5a14501541c44699b81e3a89cc93d628
          name: 'Redis: AOF last rewrite time sec'
          type: DEPENDENT
          key: redis.persistence.aof_last_rewrite_time_sec
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Duration of the last AOF rewrite'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_last_rewrite_time_sec
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 2cfd96e347d341219238bdaf65f1846d
          name: 'Redis: AOF last write status'
          type: DEPENDENT
          key: redis.persistence.aof_last_write_status
          delay: '0'
          history: 7d
          description: 'Status of the last write operation to the AOF'
          valuemap:
            name: 'Redis bgwrite status'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_last_write_status
            -
              type: BOOL_TO_DECIMAL
              parameters:
                - ''
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
          triggers:
            -
              uuid: 324e0e8fac514ba99d67aea7eb0ddf7c
              expression: 'last(/Redis by Zabbix agent 2/redis.persistence.aof_last_write_status)=0'
              name: 'Redis: Last AOF write operation failed'
              priority: WARNING
              description: 'Detailed information about persistence: https://redis.io/topics/persistence'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: 3f4866909425447a828600e9b44ace5b
          name: 'Redis: AOF rewrite in progress'
          type: DEPENDENT
          key: redis.persistence.aof_rewrite_in_progress
          delay: '0'
          history: 7d
          description: 'Flag indicating a AOF rewrite operation is on-going'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_rewrite_in_progress
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 83d243cc46304694954e08c0b03a3527
          name: 'Redis: AOF rewrite scheduled'
          type: DEPENDENT
          key: redis.persistence.aof_rewrite_scheduled
          delay: '0'
          history: 7d
          description: 'Flag indicating an AOF rewrite operation will be scheduled once the on-going RDB save is complete'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.aof_rewrite_scheduled
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 90df2d442dc049d690044b92e0888c31
          name: 'Redis: Dump loading'
          type: DEPENDENT
          key: redis.persistence.loading
          delay: '0'
          history: 7d
          description: 'Flag indicating if the load of a dump file is on-going'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.loading
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 5b1ecad187764429a22cbeb69afa3a28
          name: 'Redis: RDB bgsave in progress'
          type: DEPENDENT
          key: redis.persistence.rdb_bgsave_in_progress
          delay: '0'
          history: 7d
          description: '"1" if bgsave is in progress and "0" otherwise'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.rdb_bgsave_in_progress
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: ea673953a3014dc091ec62a20ee53945
          name: 'Redis: RDB changes since last save'
          type: DEPENDENT
          key: redis.persistence.rdb_changes_since_last_save
          delay: '0'
          history: 7d
          description: 'Number of changes since the last background save'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.rdb_changes_since_last_save
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: d8c4d8fceeb5482a951999eedd350f73
          name: 'Redis: RDB current bgsave time sec'
          type: DEPENDENT
          key: redis.persistence.rdb_current_bgsave_time_sec
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Duration of the on-going RDB save operation if any'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.rdb_current_bgsave_time_sec
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: e25772b422314949a564f219d6f725bc
          name: 'Redis: RDB last bgsave status'
          type: DEPENDENT
          key: redis.persistence.rdb_last_bgsave_status
          delay: '0'
          history: 7d
          description: 'Status of the last RDB save operation'
          valuemap:
            name: 'Redis bgwrite status'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.rdb_last_bgsave_status
            -
              type: BOOL_TO_DECIMAL
              parameters:
                - ''
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
          triggers:
            -
              uuid: 44e427ae3ce7419dbac3059be11e31ef
              expression: 'last(/Redis by Zabbix agent 2/redis.persistence.rdb_last_bgsave_status)=0'
              name: 'Redis: Last RDB save operation failed'
              priority: WARNING
              description: 'Detailed information about persistence: https://redis.io/topics/persistence'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: f506941104e34db08c0d8f5a6d9d9710
          name: 'Redis: RDB last bgsave time sec'
          type: DEPENDENT
          key: redis.persistence.rdb_last_bgsave_time_sec
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Duration of the last bg_save operation'
          valuemap:
            name: 'Redis bgsave time'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.rdb_last_bgsave_time_sec
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 04e1c21ca49246d7aba062cd001a8c00
          name: 'Redis: RDB last save time'
          type: DEPENDENT
          key: redis.persistence.rdb_last_save_time
          delay: '0'
          history: 7d
          description: 'Epoch-based timestamp of last successful RDB save'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Persistence.rdb_last_save_time
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: persistence
        -
          uuid: 5949fadcbe2b405baff0668e81627278
          name: 'Redis: Ping'
          key: 'redis.ping["{$REDIS.CONN.URI}"]'
          history: 7h
          valuemap:
            name: 'Service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: application
            -
              tag: component
              value: health
          triggers:
            -
              uuid: 62353f9ed6204b70ba270827c3922244
              expression: 'last(/Redis by Zabbix agent 2/redis.ping["{$REDIS.CONN.URI}"])=0'
              name: 'Redis: Service is down'
              priority: AVERAGE
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 6680a01fb98c4504bed6458ba6cde146
          name: 'Redis: Connected slaves'
          type: DEPENDENT
          key: redis.replication.connected_slaves
          delay: '0'
          history: 7d
          description: 'Number of connected slaves'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.connected_slaves
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
          triggers:
            -
              uuid: 6d213088211a4bb38ff97b59113dccd9
              expression: 'last(/Redis by Zabbix agent 2/redis.replication.connected_slaves,#1)<>last(/Redis by Zabbix agent 2/redis.replication.connected_slaves,#2)'
              recovery_mode: NONE
              name: 'Redis: Number of slaves has changed'
              priority: INFO
              description: 'Redis number of slaves has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: 37fa1595299c4a3ea091039f4db47cf3
          name: 'Redis: Master replication offset'
          type: DEPENDENT
          key: redis.replication.master_repl_offset
          delay: '0'
          history: 7d
          units: B
          description: 'Replication offset reported by the master'
          valuemap:
            name: 'Redis repl offset'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.master_repl_offset
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: cf067374339e44e5a4ba2cd70d4fec3a
          name: 'Redis: Replication backlog active'
          type: DEPENDENT
          key: redis.replication.repl_backlog_active
          delay: '0'
          history: 7d
          description: 'Flag indicating replication backlog is active'
          valuemap:
            name: 'Redis flag'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.repl_backlog_active
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: b4ea8df4d73144f99ffd4f5f6e6359ef
          name: 'Redis: Replication backlog first byte offset'
          type: DEPENDENT
          key: redis.replication.repl_backlog_first_byte_offset
          delay: '0'
          history: 7d
          units: B
          description: 'The master offset of the replication backlog buffer'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.repl_backlog_first_byte_offset
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: 081cd9df926d48cea7e5c68f7761ddb1
          name: 'Redis: Replication backlog history length'
          type: DEPENDENT
          key: redis.replication.repl_backlog_histlen
          delay: '0'
          history: 7d
          description: 'Amount of data in the backlog sync buffer'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.repl_backlog_histlen
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: a437a46aafe3413884975fc480091bb5
          name: 'Redis: Replication backlog size'
          type: DEPENDENT
          key: redis.replication.repl_backlog_size
          delay: '0'
          history: 7d
          units: B
          description: 'Total size in bytes of the replication backlog buffer'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.repl_backlog_size
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: d8371457697744159aabc3bdece4af2e
          name: 'Redis: Replication role'
          type: DEPENDENT
          key: redis.replication.role
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'Value is "master" if the instance is replica of no one, or "slave" if the instance is a replica of some master instance. Note that a replica can be master of another replica (chained replication).'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Replication.role
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
          triggers:
            -
              uuid: d24f7aabefb345e791b3bb276f30ac8c
              expression: 'last(/Redis by Zabbix agent 2/redis.replication.role,#1)<>last(/Redis by Zabbix agent 2/redis.replication.role,#2) and length(last(/Redis by Zabbix agent 2/redis.replication.role))>0'
              recovery_mode: NONE
              name: 'Redis: Replication role has changed'
              event_name: 'Redis: Replication role has changed (new role: {ITEM.VALUE})'
              priority: WARNING
              description: 'Redis replication role has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: 8a08d4f30b78448986b9fd94cafd398c
          name: 'Redis: Process id'
          type: DEPENDENT
          key: redis.server.process_id
          delay: '0'
          history: 7d
          description: 'PID of the server process'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.process_id
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: os
        -
          uuid: b2deab550d984b3e93741c53019e7f89
          name: 'Redis: Redis mode'
          type: DEPENDENT
          key: redis.server.redis_mode
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'The server''s mode ("standalone", "sentinel" or "cluster")'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.redis_mode
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: system
        -
          uuid: 9699d6a6563b498ea73f88a4c1dd9cf1
          name: 'Redis: Redis version'
          type: DEPENDENT
          key: redis.server.redis_version
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'Version of the Redis server'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.redis_version
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: 6e307546b26344deb83f2295c90e9a33
              expression: 'last(/Redis by Zabbix agent 2/redis.server.redis_version,#1)<>last(/Redis by Zabbix agent 2/redis.server.redis_version,#2) and length(last(/Redis by Zabbix agent 2/redis.server.redis_version))>0'
              name: 'Redis: Version has changed'
              event_name: 'Redis: Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: 'Redis version has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: 8c28e54f9e5d40d6b69c1f5b39b85054
          name: 'Redis: TCP port'
          type: DEPENDENT
          key: redis.server.tcp_port
          delay: '0'
          history: 7d
          description: 'TCP/IP listen port'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.tcp_port
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: af225edd976146f2920bc05afb703f14
          name: 'Redis: Uptime'
          type: DEPENDENT
          key: redis.server.uptime
          delay: '0'
          history: 7d
          units: s
          description: 'Number of seconds since Redis server start'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.uptime_in_seconds
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: 4961e91eed2a4e83899d135315748b0e
              expression: 'last(/Redis by Zabbix agent 2/redis.server.uptime)<10m'
              name: 'Redis: has been restarted'
              event_name: 'Redis: has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: 51a65fa1d27e4fcd915c5019687e7bc9
          name: 'Redis: Slowlog entries per second'
          key: 'redis.slowlog.count["{$REDIS.CONN.URI}"]'
          history: 7d
          preprocessing:
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: 37fb0255e49c42c8913e56fe4aaa1d14
              expression: 'min(/Redis by Zabbix agent 2/redis.slowlog.count["{$REDIS.CONN.URI}"],5m)>{$REDIS.SLOWLOG.COUNT.MAX.WARN}'
              name: 'Redis: Too many entries in the slowlog'
              event_name: 'Redis: Too many entries in the slowlog (over {$REDIS.SLOWLOG.COUNT.MAX.WARN} per second in 5m)'
              priority: INFO
              tags:
                -
                  tag: scope
                  value: performance
        -
          uuid: eca69284ac8e4ae3a7e965b6549e9343
          name: 'Redis: Evicted keys'
          type: DEPENDENT
          key: redis.stats.evicted_keys
          delay: '0'
          history: 7d
          description: 'Number of evicted keys due to maxmemory limit'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.evicted_keys
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: keys
        -
          uuid: 0a77355cfba348bb8884d2405892ed5d
          name: 'Redis: Expired keys'
          type: DEPENDENT
          key: redis.stats.expired_keys
          delay: '0'
          history: 7d
          description: 'Total number of key expiration events'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.expired_keys
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: keys
        -
          uuid: 5841b6f2a76b432080029367e7008cd1
          name: 'Redis: Instantaneous input bytes per second'
          type: DEPENDENT
          key: redis.stats.instantaneous_input.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The network''s read rate per second in KB/sec'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.instantaneous_input_kbps
            -
              type: MULTIPLIER
              parameters:
                - '1024'
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 3552b285d7ca41f796c1838e268a92c1
          name: 'Redis: Instantaneous operations per sec'
          type: DEPENDENT
          key: redis.stats.instantaneous_ops.rate
          delay: '0'
          history: 7d
          description: 'Number of commands processed per second'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.instantaneous_ops_per_sec
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 86c05ed58e8448e9b7307a3c82e182af
          name: 'Redis: Instantaneous output bytes per second'
          type: DEPENDENT
          key: redis.stats.instantaneous_output.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The network''s write rate per second in KB/sec'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.instantaneous_output_kbps
            -
              type: MULTIPLIER
              parameters:
                - '1024'
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 66d30a422e704174ae7700e1dd006aa1
          name: 'Redis: Keyspace hits'
          type: DEPENDENT
          key: redis.stats.keyspace_hits
          delay: '0'
          history: 7d
          description: 'Number of successful lookup of keys in the main dictionary'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.keyspace_hits
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: keys
        -
          uuid: e24da63a83dc4223bed35cf80fc22300
          name: 'Redis: Keyspace misses'
          type: DEPENDENT
          key: redis.stats.keyspace_misses
          delay: '0'
          history: 7d
          description: 'Number of failed lookup of keys in the main dictionary'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.keyspace_misses
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: keys
        -
          uuid: 1f11810f06d44e498a895c516f902f95
          name: 'Redis: Latest fork usec'
          type: DEPENDENT
          key: redis.stats.latest_fork_usec
          delay: '0'
          history: 7d
          units: s
          description: 'Duration of the latest fork operation in microseconds'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.latest_fork_usec
            -
              type: MULTIPLIER
              parameters:
                - '1.0E-5'
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: operations
        -
          uuid: 2662dfd3524749998306f1d7afe33019
          name: 'Redis: Migrate cached sockets'
          type: DEPENDENT
          key: redis.stats.migrate_cached_sockets
          delay: '0'
          history: 7d
          description: 'The number of sockets open for MIGRATE purposes'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.migrate_cached_sockets
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 186e6bda0a0e463bb8218a58f227ff2b
          name: 'Redis: Pubsub channels'
          type: DEPENDENT
          key: redis.stats.pubsub_channels
          delay: '0'
          history: 7d
          description: 'Global number of pub/sub channels with client subscriptions'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.pubsub_channels
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: subscribes
        -
          uuid: 1e0711a2b40e4fea88c0c57a1f6d2b30
          name: 'Redis: Pubsub patterns'
          type: DEPENDENT
          key: redis.stats.pubsub_patterns
          delay: '0'
          history: 7d
          description: 'Global number of pub/sub pattern with client subscriptions'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.pubsub_patterns
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: subscribes
        -
          uuid: 65135267c836435d872325a7129e5857
          name: 'Redis: Rejected connections'
          type: DEPENDENT
          key: redis.stats.rejected_connections
          delay: '0'
          history: 7d
          description: 'Number of connections rejected because of maxclients limit'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.rejected_connections
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
          triggers:
            -
              uuid: 5bf0680529ce496b8fe419e2732c69d1
              expression: 'last(/Redis by Zabbix agent 2/redis.stats.rejected_connections)>0'
              name: 'Redis: Connections are rejected'
              priority: HIGH
              description: |
                The number of connections has reached the value of "maxclients".
                
                https://redis.io/topics/clients
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 37135fd8b7e94c41bc21e802f21baeb4
          name: 'Redis: Sync full'
          type: DEPENDENT
          key: redis.stats.sync_full
          delay: '0'
          history: 7d
          description: 'The number of full resyncs with replicas'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.sync_full
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: cb5b6380b164419280fdcd98077c5d8f
          name: 'Redis: Sync partial err'
          type: DEPENDENT
          key: redis.stats.sync_partial_err
          delay: '0'
          history: 7d
          description: 'The number of denied partial resync requests'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.sync_partial_err
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: 231560fd350e4b5096b242dddecd7c8b
          name: 'Redis: Sync partial ok'
          type: DEPENDENT
          key: redis.stats.sync_partial_ok
          delay: '0'
          history: 7d
          description: 'The number of accepted partial resync requests'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.sync_partial_ok
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: replication
        -
          uuid: 278ff045f367443380fcd594dba77d53
          name: 'Redis: Total commands processed'
          type: DEPENDENT
          key: redis.stats.total_commands_processed
          delay: '0'
          history: 7d
          description: 'Total number of commands processed by the server'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.total_commands_processed
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: commands
        -
          uuid: c9afbbbec8a44926887389a590f1df91
          name: 'Redis: Total connections received'
          type: DEPENDENT
          key: redis.stats.total_connections_received
          delay: '0'
          history: 7d
          description: 'Total number of connections accepted by the server'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.total_connections_received
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 838cb6cbfd8a42e1b9cfa4a60670324a
          name: 'Redis: Total net input bytes'
          type: DEPENDENT
          key: redis.stats.total_net_input_bytes
          delay: '0'
          history: 7d
          units: B
          description: 'The total number of bytes read from the network'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.total_net_input_bytes
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 762f6b06eb094de896d265fcf3f9a603
          name: 'Redis: Total net output bytes'
          type: DEPENDENT
          key: redis.stats.total_net_output_bytes
          delay: '0'
          history: 7d
          units: B
          description: 'The total number of bytes written to the network'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Stats.total_net_output_bytes
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          tags:
            -
              tag: component
              value: network
      discovery_rules:
        -
          uuid: 527a3526b0e64225bb3dcf2dbbfbda5b
          name: 'Process metrics discovery'
          key: 'proc.num["{$REDIS.LLD.PROCESS_NAME}"]'
          delay: 1h
          description: 'Collect metrics by Zabbix agent if it exists'
          item_prototypes:
            -
              uuid: 376a8861723c45c3bde08573c7ab2ed9
              name: 'Redis: CPU utilization'
              key: 'proc.cpu.util["{$REDIS.PROCESS_NAME}{#SINGLETON}"]'
              history: 7d
              value_type: FLOAT
              units: '%'
              description: 'Process CPU utilization percentage.'
              tags:
                -
                  tag: component
                  value: cpu
            -
              uuid: 9d68e00f913a4faea5a334d361f324b0
              name: 'Redis: Memory usage (rss)'
              key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,rss]'
              history: 7d
              units: B
              description: 'Resident set size memory used by process in bytes.'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 325cabaa95994a58bf30992586ba7544
              name: 'Redis: Memory usage (vsize)'
              key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,vsize]'
              history: 7d
              units: B
              description: 'Virtual memory size used by process in bytes.'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: d9ccc25e5d1b4f05b22354a7672b518c
              name: 'Redis: Number of processes running'
              key: 'proc.num["{$REDIS.PROCESS_NAME}{#SINGLETON}"]'
              history: 7d
              tags:
                -
                  tag: component
                  value: system
              trigger_prototypes:
                -
                  uuid: 590bd23c52b74dd7951dcf74903ac2ed
                  expression: 'last(/Redis by Zabbix agent 2/proc.num["{$REDIS.PROCESS_NAME}{#SINGLETON}"])=0'
                  name: 'Redis: Process is not running'
                  priority: HIGH
                  tags:
                    -
                      tag: scope
                      value: availability
          graph_prototypes:
            -
              uuid: e26f8c31c3654febbeda2ffb97438c36
              name: 'Redis: Memory usage{#SINGLETON}'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,vsize]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'proc.mem["{$REDIS.PROCESS_NAME}{#SINGLETON}",,,,rss]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(value > 0 ? [{''{#SINGLETON}'': ''''}] : []);'
        -
          uuid: 0f7966f47fda4b41856163ffb438bf27
          name: 'Keyspace discovery'
          type: DEPENDENT
          key: redis.keyspace.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#DB}'
                value: '{$REDIS.LLD.FILTER.DB.MATCHES}'
                formulaid: A
              -
                macro: '{#DB}'
                value: '{$REDIS.LLD.FILTER.DB.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: 'Individual keyspace metrics'
          item_prototypes:
            -
              uuid: 38fcb8524f1b4f50a4945333fc6c7536
              name: 'DB {#DB}: Average TTL'
              type: DEPENDENT
              key: 'redis.db.avg_ttl["{#DB}"]'
              delay: '0'
              history: 7d
              units: s
              description: 'Average TTL'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.Keyspace["{#DB}"].avg_ttl'
                -
                  type: MULTIPLIER
                  parameters:
                    - '0.001'
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
                -
                  tag: database
                  value: '{#DB}'
            -
              uuid: bde12d459b7b4e23a22ed6188b57bb25
              name: 'DB {#DB}: Expires'
              type: DEPENDENT
              key: 'redis.db.expires["{#DB}"]'
              delay: '0'
              history: 7d
              description: 'Number of keys with an expiration'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.Keyspace["{#DB}"].expires'
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
                -
                  tag: database
                  value: '{#DB}'
            -
              uuid: 2bae0d2f8b8348bcad207b61ef6286c3
              name: 'DB {#DB}: Keys'
              type: DEPENDENT
              key: 'redis.db.keys["{#DB}"]'
              delay: '0'
              history: 7d
              description: 'Total number of keys'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.Keyspace["{#DB}"].keys'
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
                -
                  tag: database
                  value: '{#DB}'
          graph_prototypes:
            -
              uuid: 3271f3a143dc43f38a674b6cbae8cd0d
              name: 'DB {#DB}: Keys'
              graph_items:
                -
                  drawtype: GRADIENT_LINE
                  color: 1A7C11
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.db.keys["{#DB}"]'
                -
                  sortorder: '1'
                  drawtype: GRADIENT_LINE
                  color: 2774A4
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.db.expires["{#DB}"]'
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(Object.keys(JSON.parse(value).Keyspace)
                    .map(function (v){return {"{#DB}": v}}));
        -
          uuid: a3fb00d4bbc24779b6c7223b867f4d2c
          name: 'Version 4+ metrics discovery'
          type: DEPENDENT
          key: redis.metrics.v4.discovery
          delay: '0'
          description: 'Additional metrics for versions 4+'
          item_prototypes:
            -
              uuid: b7e8d996335f41158b3c6a8961319db0
              name: 'Redis: Active defrag running{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.active_defrag_running[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Flag indicating if active defragmentation is active'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.active_defrag_running
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 2065e38cd7e5417abfd0b80116b0d77b
              name: 'Redis: Lazyfree pending objects{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.lazyfree_pending_objects[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'The number of objects waiting to be freed (as a result of calling UNLINK, or FLUSHDB and FLUSHALL with the ASYNC option)'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.lazyfree_pending_objects
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 2c5c700b53374dac86d805384b6bc9b0
              name: 'Redis: Max memory{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.maxmemory[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Maximum amount of memory allocated to the Redisdb system'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.maxmemory
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 0f094be6d0fa4afda3aa7916fac4d3a3
              name: 'Redis: Max memory policy{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.maxmemory_policy[{#SINGLETON}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The value of the maxmemory-policy configuration directive'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.maxmemory_policy
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: bf804c6ee44640168e15ca62803b7f10
              name: 'Redis: Total system memory{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.total_system_memory[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The total amount of memory that the Redis host has'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.total_system_memory
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 1c0e0355d5cd429f9a914fb67f29e366
              name: 'Redis: Memory used dataset{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_dataset[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The size in bytes of the dataset'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.used_memory_dataset
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 4e5937420b3843568d9f36b40c0a3c28
              name: 'Redis: Memory used dataset %{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_dataset_perc[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '%'
              description: 'The percentage of used_memory_dataset out of the net memory usage (used_memory minus used_memory_startup)'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.used_memory_dataset_perc
                -
                  type: REGEX
                  parameters:
                    - (.+)%
                    - \1
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: e085382c18f3473f9d2271024cd61e93
              name: 'Redis: Memory used overhead{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_overhead[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The sum in bytes of all overheads that the server allocated for managing its internal data structures'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.used_memory_overhead
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 5da63141e8b145a38954736806602b4a
              name: 'Redis: Memory used peak %{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_peak_perc[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '%'
              description: 'The percentage of used_memory_peak out of used_memory'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.used_memory_peak_perc
                -
                  type: REGEX
                  parameters:
                    - (.+)%
                    - \1
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: dabd2918056b4b999f4b30bd8e64e8a1
              name: 'Redis: Memory used startup{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_startup[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Initial amount of memory consumed by Redis at startup in bytes'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.used_memory_startup
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 9da41967290742cb8daa2f69ac1d6966
              name: 'Redis: AOF last CoW size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_last_cow_size[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The size in bytes of copy-on-write allocations during the last AOF rewrite operation'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_last_cow_size
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: 768839c72e3f4be89e30dd0d140c9d03
              name: 'Redis: RDB last CoW size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.rdb_last_cow_size[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The size in bytes of copy-on-write allocations during the last RDB save operation'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.rdb_last_cow_size
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: bead155d26054d0487622f29b86dcd2b
              name: 'Redis: Replication second offset{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.second_repl_offset[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: B
              description: 'Offset up to which replication IDs are accepted'
              valuemap:
                name: 'Redis repl offset'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.second_repl_offset
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: 14d062351a114e8eafa2b2b889317903
              name: 'Redis: Executable path{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.server.executable[{#SINGLETON}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The path to the server''s executable'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Server.executable
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: system
            -
              uuid: 5458542148954618a6d22df1effffe57
              name: 'Redis: Active defrag hits{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_hits[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of value reallocations performed by active the defragmentation process'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.active_defrag_hits
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: f8b424743dd24691be2bd07d5538b16a
              name: 'Redis: Active defrag key hits{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_key_hits[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of keys that were actively defragmented'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.active_defrag_key_hits
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
            -
              uuid: 8aba0ad8d7314b6b8cf1e80cb0afb618
              name: 'Redis: Active defrag key misses{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_key_misses[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of keys that were skipped by the active defragmentation process'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.active_defrag_key_misses
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
            -
              uuid: 3c20cca8b4a84c619d90d64a34386dfa
              name: 'Redis: Active defrag misses{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.active_defrag_misses[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of aborted value reallocations started by the active defragmentation process'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.active_defrag_misses
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: a34f4e33a0cb4381b5c3b7a507e90bee
              name: 'Redis: Expired stale %{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.expired_stale_perc[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.expired_stale_perc
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
            -
              uuid: 81667ae170b04ac0980e122566c5ed8e
              name: 'Redis: Expired time cap reached count{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.expired_time_cap_reached_count[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.expired_time_cap_reached_count
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: cycles
            -
              uuid: 93bf8753d6b242f1b8d2288fb926e01b
              name: 'Redis: Slave expires tracked keys{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.stats.slave_expires_tracked_keys[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'The number of keys tracked for expiry purposes (applicable only to writable replicas)'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Stats.slave_expires_tracked_keys
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: keys
          trigger_prototypes:
            -
              uuid: 0c3560588d2d421c843c006ef5fa4645
              expression: 'last(/Redis by Zabbix agent 2/redis.memory.used_memory)/min(/Redis by Zabbix agent 2/redis.memory.maxmemory[{#SINGLETON}],5m)*100>{$REDIS.MEM.PUSED.MAX.WARN}'
              name: 'Redis: Memory usage is too high'
              event_name: 'Redis: Memory usage is too high (over {$REDIS.MEM.PUSED.MAX.WARN}% in 5m)'
              priority: WARNING
              tags:
                -
                  tag: scope
                  value: capacity
                -
                  tag: scope
                  value: performance
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.redis_version
            -
              type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(parseInt(value.split(''.'')[0]) >= 4 ? [{''{#SINGLETON}'': ''''}] : []);'
        -
          uuid: f7a9f1e26bb54cb6adf74ee9f30d88cd
          name: 'Version 5+ metrics discovery'
          type: DEPENDENT
          key: redis.metrics.v5.discovery
          delay: '0'
          description: 'Additional metrics for versions 5+'
          item_prototypes:
            -
              uuid: adc25c08108e4fcaa3b41d2897d0a0c6
              name: 'Redis: Allocator active{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_active[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_active
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 81ef89fc751746ac8254a55a2b2e4ea7
              name: 'Redis: Allocator allocated{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_allocated[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_allocated
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 23e034630d7246f7ba993d5c6db2d6bb
              name: 'Redis: Allocator fragmentation bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_frag_bytes[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_frag_bytes
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 690a13b13d134f648b4b8381f6a185f0
              name: 'Redis: Allocator fragmentation ratio{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_frag_ratio[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_frag_ratio
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 0abd6a9adb034536b3a389e0af2af732
              name: 'Redis: Allocator resident{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_resident[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_resident
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: b5ecad496c554ccaad495d2f112b5e2f
              name: 'Redis: Allocator RSS bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_rss_bytes[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_rss_bytes
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 643fe70e1a7f488196b053722a2df9c2
              name: 'Redis: Allocator RSS ratio{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.allocator_rss_ratio[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.allocator_rss_ratio
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 40a639acab5a415a8fb48b7520b7d198
              name: 'Redis: Memory fragmentation bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.fragmentation_bytes[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.mem_fragmentation_bytes
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: 70c53f60d020440c8f7cba83b32f58c9
              name: 'Redis: Memory AOF buffer{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.mem_aof_buffer[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Size of the AOF buffer'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.mem_aof_buffer
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
                -
                  tag: component
                  value: persistence
            -
              uuid: d64718269f20470e9661ff7c479dc300
              name: 'Redis: Memory clients normal{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.mem_clients_normal[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.mem_clients_normal
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: e685ab11ab534f8abd1a7e2ee35839e8
              name: 'Redis: Memory clients slaves{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.mem_clients_slaves[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.mem_clients_slaves
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: f6c9bfda015d47d0b34f466e95356a5d
              name: 'Redis: Memory not counted for evict{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.not_counted_for_evict[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.mem_not_counted_for_evict
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: eaac8b142fc540ad9c7563e145819643
              name: 'Redis: Memory number of cached scripts{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.number_of_cached_scripts[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.number_of_cached_scripts
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: a221fd161be641c1a8091d0bfd1d2157
              name: 'Redis: Memory replication backlog{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.replication_backlog[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.mem_replication_backlog
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
                -
                  tag: component
                  value: replication
            -
              uuid: e699ad3b29ca486f91688684ffde6b73
              name: 'Redis: Memory RSS overhead bytes{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.rss_overhead_bytes[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: B
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.rss_overhead_bytes
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: d4d51ae4ce214699ba760fcb62289a51
              name: 'Redis: Memory RSS overhead ratio{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.rss_overhead_ratio[{#SINGLETON}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.rss_overhead_ratio
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
            -
              uuid: e3733b2993cb4199bfac8b0711d4bb72
              name: 'Redis: Memory used scripts{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.memory.used_memory_scripts[{#SINGLETON}]'
              delay: '0'
              history: 7d
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Memory.used_memory_scripts
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: memory
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.Server.redis_version
            -
              type: JAVASCRIPT
              parameters:
                - 'return JSON.stringify(parseInt(value.split(''.'')[0]) >= 5 ? [{''{#SINGLETON}'': ''''}] : []);'
        -
          uuid: ac3a22522a2c4fa1a256794dd2292480
          name: 'AOF metrics discovery'
          type: DEPENDENT
          key: redis.persistence.aof.discovery
          delay: '0'
          description: 'If AOF is activated, additional metrics will be added'
          item_prototypes:
            -
              uuid: e68a7b6931324bd79268a5151717505e
              name: 'Redis: AOF base size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_base_size[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'AOF file size on latest startup or rewrite'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_base_size
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: 875ace20e5c94044ae63f36d98ac6256
              name: 'Redis: AOF buffer length{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_buffer_length[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Size of the AOF buffer'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_buffer_length
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: 679bd919383a4106916a84fae5be47bb
              name: 'Redis: AOF current size{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_current_size[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'AOF current file size'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_current_size
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: ff9955c770aa4e0883cc72bf1d762be7
              name: 'Redis: AOF delayed fsync{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_delayed_fsync[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Delayed fsync counter'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_delayed_fsync
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: 0606ef5762b04d91abba95269eb77ae2
              name: 'Redis: AOF pending background I/O fsync{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_pending_bio_fsync[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Number of fsync pending jobs in background I/O queue'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_pending_bio_fsync
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: 194061b8ad6c484ca8c732d69eeb0f1e
              name: 'Redis: AOF pending rewrite{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_pending_rewrite[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Flag indicating an AOF rewrite operation will'
              valuemap:
                name: 'Redis flag'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_pending_rewrite
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
            -
              uuid: 1a39f5854ae948759deadac0ae57e9f7
              name: 'Redis: AOF rewrite buffer length{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.persistence.aof_rewrite_buffer_length[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Size of the AOF rewrite buffer'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Persistence.aof_rewrite_buffer_length
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: persistence
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(JSON.parse(value).Persistence.aof_enabled === '1'
                    ? [{'{#SINGLETON}': ''}]
                    : []);
        -
          uuid: 4379bad5624a4a5db0c86c5332cf5cc9
          name: 'Replication metrics discovery'
          type: DEPENDENT
          key: redis.replication.master.discovery
          delay: '0'
          description: 'If the instance is the master and the slaves are connected, additional metrics are provided'
          item_prototypes:
            -
              uuid: 2d26ebb0a5024378b59b3f0ee8e7fff4
              name: 'Redis slave {#SLAVE_IP}:{#SLAVE_PORT}: Replication lag in bytes'
              type: DEPENDENT
              key: 'redis.replication.lag_bytes["{#SLAVE_IP}:{#SLAVE_PORT}"]'
              delay: '0'
              history: 7d
              units: B
              description: 'Replication lag in bytes'
              preprocessing:
                -
                  type: JAVASCRIPT
                  parameters:
                    - |
                      var repl = JSON.parse(value).Replication;
                      var res = Object.keys(repl)
                          .filter(function (v) {return v.match(/slave\d+/)})
                          .filter(function (v) {return (repl[v].ip === "{#SLAVE_IP}" && repl[v].port === "{#SLAVE_PORT}")})
                          .map(function (v) {return repl[v].offset})[0];
                      
                      if (res === undefined) {
                          throw 'Slave {#SLAVE_IP}:{#SLAVE_PORT} is no longer available.';
                      }
                      
                      return res;
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
          graph_prototypes:
            -
              uuid: 0bce553a5a1240e2b097754dba8f6939
              name: 'Redis slave {#SLAVE_IP}:{#SLAVE_PORT}: Replication lag bytes'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: 1A7C11
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.replication.lag_bytes["{#SLAVE_IP}:{#SLAVE_PORT}"]'
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var repl = JSON.parse(value).Replication;
                  return JSON.stringify(Object.keys(repl)
                    .filter(function (v) {return v.match(/slave\d+/)})
                    .map(function (v){
                      return {"{#SLAVE_IP}": repl[v].ip, "{#SLAVE_PORT}": repl[v].port}
                    }));
        -
          uuid: ca9296a7acb548789865ac716a54ce10
          name: 'Slave metrics discovery'
          type: DEPENDENT
          key: redis.replication.slave.discovery
          delay: '0'
          description: 'If the instance is a replica, additional metrics are provided'
          item_prototypes:
            -
              uuid: 92e4b2133a6a4ec28e739bbef94ab992
              name: 'Redis: Master host{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_host[{#SINGLETON}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Host or IP address of the master'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.master_host
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: 0acbeb8633da41be9bfb56627a946fd9
              name: 'Redis: Master last I/O seconds ago{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_last_io_seconds_ago[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: s
              description: 'Number of seconds since the last interaction with master'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.master_last_io_seconds_ago
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
              trigger_prototypes:
                -
                  uuid: 292f477d970d4a138d2d1b2c45d965dd
                  expression: 'min(/Redis by Zabbix agent 2/redis.replication.master_last_io_seconds_ago[{#SINGLETON}],5m)>{$REDIS.REPL.LAG.MAX.WARN}'
                  name: 'Redis: Replication lag with master is too high'
                  event_name: 'Redis: Replication lag with master is too high (over {$REDIS.REPL.LAG.MAX.WARN} in 5m)'
                  priority: WARNING
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: 8024463a9f644e6e91def5a0e88abd4b
              name: 'Redis: Master link status{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_link_status[{#SINGLETON}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Status of the link (up/down)'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.master_link_status
                -
                  type: BOOL_TO_DECIMAL
                  parameters:
                    - ''
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: da63a0b31bed47edaba3f802738fa4fd
              name: 'Redis: Master port{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_port[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Master listening TCP port'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.master_port
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: 6835a260e66741159ee10046265a1ea4
              name: 'Redis: Master sync in progress{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.master_sync_in_progress[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Indicate the master is syncing to the replica'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.master_sync_in_progress
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: 3f92dfa07237495ca7696bb4b078eb93
              name: 'Redis: Slave priority{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.slave_priority[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'The priority of the instance as a candidate for failover'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.slave_priority
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: f38492a49f214ec8b71fdc51d243281e
              name: 'Redis: Slave priority{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.slave_read_only[{#SINGLETON}]'
              delay: '0'
              history: 7d
              description: 'Flag indicating if the replica is read-only'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.slave_read_only
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
            -
              uuid: 7eb23d1d96ea489c9e0b39b7839147bd
              name: 'Redis: Slave replication offset{#SINGLETON}'
              type: DEPENDENT
              key: 'redis.replication.slave_repl_offset[{#SINGLETON}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The replication offset of the replica instance'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - $.Replication.slave_repl_offset
              master_item:
                key: 'redis.info["{$REDIS.CONN.URI}"]'
              tags:
                -
                  tag: component
                  value: replication
          graph_prototypes:
            -
              uuid: bbc5fb3021be4c3381e48fe623b611f0
              name: 'Redis: Replication lag time{#SINGLETON}'
              graph_items:
                -
                  drawtype: BOLD_LINE
                  color: 1A7C11
                  item:
                    host: 'Redis by Zabbix agent 2'
                    key: 'redis.replication.master_last_io_seconds_ago[{#SINGLETON}]'
          master_item:
            key: 'redis.info["{$REDIS.CONN.URI}"]'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  return JSON.stringify(JSON.parse(value).Replication.role === 'slave'
                    ? [{'{#SINGLETON}': ''}]
                    : []);
      tags:
        -
          tag: class
          value: database
        -
          tag: target
          value: redis
      macros:
        -
          macro: '{$REDIS.CLIENTS.PRC.MAX.WARN}'
          value: '80'
          description: 'Maximum percentage of connected clients'
        -
          macro: '{$REDIS.CONN.URI}'
          value: 'tcp://localhost:6379'
          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:6379"'
        -
          macro: '{$REDIS.LLD.FILTER.DB.MATCHES}'
          value: '.*'
          description: 'Filter of discoverable databases'
        -
          macro: '{$REDIS.LLD.FILTER.DB.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Filter to exclude discovered databases'
        -
          macro: '{$REDIS.LLD.PROCESS_NAME}'
          value: redis-server
          description: 'Redis server process name for LLD'
        -
          macro: '{$REDIS.MEM.FRAG_RATIO.MAX.WARN}'
          value: '1.5'
          description: 'Maximum memory fragmentation ratio'
        -
          macro: '{$REDIS.MEM.PUSED.MAX.WARN}'
          value: '90'
          description: 'Maximum percentage of memory used'
        -
          macro: '{$REDIS.PROCESS_NAME}'
          value: redis-server
          description: 'Redis server process name'
        -
          macro: '{$REDIS.REPL.LAG.MAX.WARN}'
          value: 30s
          description: 'Maximum replication lag in seconds'
        -
          macro: '{$REDIS.SLOWLOG.COUNT.MAX.WARN}'
          value: '1'
          description: 'Maximum number of slowlog entries per second'
      dashboards:
        -
          uuid: 7c5bdd7bc74648c4891abc6649d105d0
          name: 'Redis overview'
          pages:
            -
              widgets:
                -
                  type: GRAPH_CLASSIC
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Clients'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  x: '12'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Keyspace'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  'y': '5'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Commands'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  x: '12'
                  'y': '5'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Expired keys'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  'y': '10'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Persistence'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  x: '12'
                  'y': '10'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Slaves'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  'y': '15'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Slowlog'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  x: '12'
                  'y': '15'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Uptime'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_PROTOTYPE
                  'y': '20'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '2'
                    -
                      type: INTEGER
                      name: columns
                      value: '1'
                    -
                      type: INTEGER
                      name: rows
                      value: '1'
                    -
                      type: GRAPH_PROTOTYPE
                      name: graphid
                      value:
                        name: 'Redis: Replication lag time{#SINGLETON}'
                        host: 'Redis by Zabbix agent 2'
        -
          uuid: ee4c29eb7a0f443fafb7e7d3b9df7b24
          name: 'Redis performance'
          pages:
            -
              widgets:
                -
                  type: GRAPH_CLASSIC
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: CPU'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  x: '12'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Network'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  'y': '5'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Memory'
                        host: 'Redis by Zabbix agent 2'
                -
                  type: GRAPH_CLASSIC
                  x: '12'
                  'y': '5'
                  width: '12'
                  height: '5'
                  fields:
                    -
                      type: INTEGER
                      name: source_type
                      value: '0'
                    -
                      type: GRAPH
                      name: graphid
                      value:
                        name: 'Redis: Memory fragmentation'
                        host: 'Redis by Zabbix agent 2'
      valuemaps:
        -
          uuid: 82f4dc4ef0c9471d82dbe3605f4f31d0
          name: 'Redis bgsave time'
          mappings:
            -
              value: '- 1s'
              newvalue: Inactive
        -
          uuid: 098c2240a8e947fc9f6f0a677ffcbc0e
          name: 'Redis bgwrite status'
          mappings:
            -
              value: '0'
              newvalue: Error
            -
              value: '1'
              newvalue: Ok
        -
          uuid: 3b6cd97c65d14e10bdabf5c42d767ad9
          name: 'Redis flag'
          mappings:
            -
              value: '0'
              newvalue: 'No'
            -
              value: '1'
              newvalue: 'Yes'
        -
          uuid: 47c80efdf46745f1959eee76f68014e7
          name: 'Redis repl offset'
          mappings:
            -
              value: '-1 B'
              newvalue: Undefined
        -
          uuid: ae3eec95cd1c440ba6c67ed5d7b7b915
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
  triggers:
    -
      uuid: 65e4652dbebe47c4b46e47bb8a17aac6
      expression: 'min(/Redis by Zabbix agent 2/redis.clients.connected,5m)/last(/Redis by Zabbix agent 2/redis.config.maxclients)*100>{$REDIS.CLIENTS.PRC.MAX.WARN}'
      name: 'Redis: Total number of connected clients is too high'
      event_name: 'Redis: Total number of connected clients is too high (over {$REDIS.CLIENTS.PRC.MAX.WARN}% in 5m)'
      priority: WARNING
      description: |
        When the number of clients reaches the value of the "maxclients" parameter, new connections will be rejected.
        
        https://redis.io/topics/clients#maximum-number-of-clients
      tags:
        -
          tag: scope
          value: performance
  graphs:
    -
      uuid: c04e813d482a4709b13aa2a98911e11d
      name: 'Redis: Clients'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.clients.connected
        -
          sortorder: '1'
          drawtype: GRADIENT_LINE
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.clients.blocked
    -
      uuid: 8643a1b690dc456b8daacc4b2b0810d4
      name: 'Redis: Commands'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.instantaneous_ops.rate
    -
      uuid: 765c0125e8d549dc88279f65f38b6ed9
      name: 'Redis: CPU'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.sys
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.sys_children
        -
          sortorder: '2'
          drawtype: GRADIENT_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.user
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.cpu.user_children
    -
      uuid: fd25ac6239064cd29dc1939cd15005de
      name: 'Redis: Expired keys'
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.expired_keys
        -
          sortorder: '1'
          drawtype: BOLD_LINE
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.evicted_keys
    -
      uuid: 24cff7af388e41a8899e2916f12224d1
      name: 'Redis: Keyspace'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.keyspace_hits
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.keyspace_misses
    -
      uuid: a3ea32878f25481998e0fde7ba00a11b
      name: 'Redis: Memory'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.used_memory
        -
          sortorder: '1'
          drawtype: BOLD_LINE
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.used_memory_rss
        -
          sortorder: '2'
          drawtype: BOLD_LINE
          color: F63100
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.used_memory_peak
    -
      uuid: ff8d6320a8e246a39d35ccb93220eb3a
      name: 'Redis: Memory fragmentation'
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.memory.fragmentation_ratio
    -
      uuid: b3db4cc8247647faae0d3c2389f37d80
      name: 'Redis: Network'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.instantaneous_input.rate
        -
          sortorder: '1'
          drawtype: GRADIENT_LINE
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.stats.instantaneous_output.rate
    -
      uuid: 81fde2046d2340119b2002da2b75df16
      name: 'Redis: Persistence'
      graph_items:
        -
          drawtype: BOLD_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.persistence.rdb_last_bgsave_time_sec
        -
          sortorder: '1'
          drawtype: BOLD_LINE
          color: 2774A4
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.persistence.aof_last_rewrite_time_sec
    -
      uuid: 1ace370516b74875977788d44ab478e5
      name: 'Redis: Slaves'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.replication.connected_slaves
    -
      uuid: 8dd9935cb7a24004b9783c3f1a445f1b
      name: 'Redis: Slowlog'
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: 'redis.slowlog.count["{$REDIS.CONN.URI}"]'
    -
      uuid: 32d954e849e64fe99bd8846b54aadede
      name: 'Redis: Uptime'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'Redis by Zabbix agent 2'
            key: redis.server.uptime