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

template_san_hpe_primera_http.yaml « hpe_primera_http « san « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 8e47b939889deda406b7734916bf82c9c92bee2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
zabbix_export:
  version: '6.2'
  date: '2022-06-07T19:33:27Z'
  template_groups:
    -
      uuid: 7c2cb727f85b492d88cd56e17127c64d
      name: Templates/SAN
  templates:
    -
      uuid: b8750c02b5624c6889979b129735bd56
      template: 'HPE Primera by HTTP'
      name: 'HPE Primera by HTTP'
      description: |
        The template to monitor HPE Primera by HTTP.
        It works without any external scripts and uses the script item.
        
        Setup:
          1. Create user zabbix on the storage with browse role and enable it for all domains.
          2. The WSAPI server does not start automatically.
             - Log in to the CLI as Super, Service, or any role granted the wsapi_set right.
             - Start the WSAPI server by command: `startwsapi`.
             - To check WSAPI state use command: `showwsapi`.
          3. Link template to the host.
          4. Configure macros {$HPE.PRIMERA.USERNAME} and {$HPE.PRIMERA.PASSWORD}.
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/
        
        Template tooling version used: 0.41
      groups:
        -
          name: Templates/SAN
      items:
        -
          uuid: 484a6b9568234bbca9b4bcae2833bbf1
          name: 'HPE Primera: Get errors'
          type: DEPENDENT
          key: hpe.primera.data.errors
          delay: '0'
          history: 7d
          trends: '0'
          value_type: TEXT
          description: 'A list of errors from WSAPI requests.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.errors
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: raw
          triggers:
            -
              uuid: 570d440e7ec9445585003208eca06e63
              expression: 'length(last(/HPE Primera by HTTP/hpe.primera.data.errors))>0'
              name: 'HPE Primera: There are errors in requests to WSAPI'
              opdata: '{ITEM.LASTVALUE1}'
              priority: AVERAGE
              description: 'Zabbix has received errors in requests to WSAPI.'
              dependencies:
                -
                  name: 'HPE Primera: Service is unavailable'
                  expression: 'max(/HPE Primera by HTTP/net.tcp.service["{$HPE.PRIMERA.API.SCHEME}","{HOST.CONN}","{$HPE.PRIMERA.API.PORT}"],5m)=0'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 530e20083da8423e9d30c8342f1b7da3
          name: 'HPE Primera: Get data'
          type: SCRIPT
          key: hpe.primera.data.get
          history: 0d
          trends: '0'
          value_type: TEXT
          params: |
            var Primera = {
                params: {},
                session_key: null,
            
                setParams: function (params) {
                    ['username', 'password', 'base_url'].forEach(function (field) {
                        if (typeof params !== 'object' || typeof params[field] === 'undefined' || params[field] === '') {
                            throw 'Required param is not set: ' + field + '.';
                        }
                    });
            
                    Primera.params = params;
                    if (typeof Primera.params.base_url === 'string' && !Primera.params.base_url.endsWith('/')) {
                        Primera.params.base_url += '/';
                    }
                },
            
                login: function () {
                    if (Primera.session_key !== null) {
                        return;
                    }
            
                    var response, request = new HttpRequest();
                    request.addHeader('Content-Type: application/json');
            
                    response = request.post(Primera.params.base_url + 'api/v1/credentials', JSON.stringify({
                        'user': Primera.params.username,
                        'password': Primera.params.password
                    }));
            
                    if (request.getStatus() < 200 || request.getStatus() >= 300) {
                        throw 'Auth request failed with status code ' + request.getStatus() + ': ' + response;
                    }
            
                    if (response !== null) {
                        try {
                            auth_data = JSON.parse(response);
                        }
                        catch (error) {
                            throw 'Failed to parse auth response received from device API.';
                        }
                    }
                    else {
                        throw 'No data received by auth request.'
                    }
            
                    if ('key' in auth_data) {
                        Primera.session_key = auth_data['key'];
                    } else {
                        throw 'Auth response does not contain session key.'
                    }
                },
            
                logout: function () {
                    if (Primera.session_key !== null) {
                        (new HttpRequest()).delete(Primera.params.base_url + 'api/v1/credentials/' + Primera.session_key);
                    }
                },
            
                requestData: function (method) {
                    if (Primera.session_key === null) {
                        return;
                    }
            
                    request = new HttpRequest();
                    request.addHeader('X-HP3PAR-WSAPI-SessionKey: ' + Primera.session_key);
            
                    raw_data = request.get(Primera.params.base_url + 'api/v1/' + method);
            
                    if (request.getStatus() < 200 || request.getStatus() >= 300) {
                        throw 'Request failed with status code ' + request.getStatus() + ': ' + response;
                    }
            
                    if (raw_data !== null) {
                        try {
                            return JSON.parse(raw_data);
                        }
                        catch (error) {
                            throw 'Failed to parse response received from device API.';
                        }
                    }
                    else {
                        throw 'No data received by ' + method + ' request.';
                    }
                }
            };
            
            var methods = ['disks', 'cpgs', 'hosts', 'ports', 'system', 'tasks', 'volumes'],
                data = {};
            
            data['errors'] = {};
            
            try {
                Primera.setParams(JSON.parse(value));
            
                try {
                    Primera.login();
                }
                catch (error) {
                    data.errors.auth = error.toString();
                }
            
                if (!('auth' in data.errors)) {
                    for (var i in methods) {
                        try {
                            if (methods[i] === 'tasks') {
                                var result = [],
                                    tmp_tasks = {};
            
                                tasks = Primera.requestData(methods[i]);
            
                                tasks.members.forEach(function (task) {
                                    tmp_tasks[task.name] = task;
                                });
            
                                for (var task in tmp_tasks) {
                                    result.push(tmp_tasks[task]);
                                }
            
                                data[methods[i]] = result;
                            }
                            else {
                                data[methods[i]] = Primera.requestData(methods[i]);
                            }
                        }
                        catch (error) {
                            data.errors[methods[i]] = error.toString();
                        }
                    }
                }
            }
            catch (error) {
                data.errors.params = error.toString();
            }
            
            try {
                Primera.logout();
            }
            catch (error) {
            }
            
            if (Object.keys(data.errors).length !== 0) {
                errors = 'Failed to receive data:';
                for (var error in data.errors) {
                    errors += '\n' + error + ' : ' + data.errors[error];
                }
                data.errors = errors;
            }
            else {
                data.errors = '';
            }
            
            return JSON.stringify(data);
          description: 'The JSON with result of WSAPI requests.'
          timeout: '{$HPE.PRIMERA.DATA.TIMEOUT}'
          parameters:
            -
              name: base_url
              value: '{$HPE.PRIMERA.API.SCHEME}://{HOST.CONN}'
            -
              name: password
              value: '{$HPE.PRIMERA.API.PASSWORD}'
            -
              name: username
              value: '{$HPE.PRIMERA.API.USERNAME}'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: d5b8a74991d34652973a78d58203d5fd
          name: 'HPE Primera: Disks total'
          type: DEPENDENT
          key: hpe.primera.disks.total
          delay: '0'
          history: 7d
          description: 'Number of physical disks.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.disks.total
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: disk
            -
              tag: component
              value: storage
        -
          uuid: efc450d0682c4c5d93df41d05c10eceb
          name: 'HPE Primera: Capacity allocated'
          type: DEPENDENT
          key: hpe.primera.system.capacity.allocated
          delay: '0'
          history: 7d
          units: B
          description: 'Allocated capacity in the system.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.allocatedCapacityMiB
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: storage
            -
              tag: component
              value: system
        -
          uuid: e3842eec2e45443681670d3c1d194900
          name: 'HPE Primera: Capacity failed'
          type: DEPENDENT
          key: hpe.primera.system.capacity.failed
          delay: '0'
          history: 7d
          units: B
          description: 'Failed capacity in the system.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.failedCapacityMiB
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: storage
            -
              tag: component
              value: system
        -
          uuid: d23e888299d344238468481689f55e2d
          name: 'HPE Primera: Capacity free'
          type: DEPENDENT
          key: hpe.primera.system.capacity.free
          delay: '0'
          history: 7d
          units: B
          description: 'Free capacity in the system.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.freeCapacityMiB
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: storage
            -
              tag: component
              value: system
        -
          uuid: 1e6fc0d68d18474e84b4fe2e4d3374d1
          name: 'HPE Primera: Capacity total'
          type: DEPENDENT
          key: hpe.primera.system.capacity.total
          delay: '0'
          history: 7d
          units: B
          description: 'Total capacity in the system.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.totalCapacityMiB
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: storage
            -
              tag: component
              value: system
        -
          uuid: 65bcf3fb456a45358795d2f9d8249e16
          name: 'HPE Primera: Chunklet size'
          type: DEPENDENT
          key: hpe.primera.system.chunklet.size
          delay: '0'
          history: 7d
          units: B
          description: 'Chunklet size.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.chunkletSizeMiB
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
            -
              type: MULTIPLIER
              parameters:
                - '1048576'
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: storage
            -
              tag: component
              value: system
        -
          uuid: dd6fd61256cc4eeeb94f50d0c86fc51f
          name: 'HPE Primera: System contact'
          type: DEPENDENT
          key: hpe.primera.system.contact
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'Contact of the system.'
          inventory_link: CONTACT
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.contact
              error_handler: DISCARD_VALUE
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: dd61f3a680284893801c96bdbd445645
          name: 'HPE Primera: System location'
          type: DEPENDENT
          key: hpe.primera.system.location
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'Location of the system.'
          inventory_link: LOCATION
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.location
              error_handler: DISCARD_VALUE
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: 5f28ec66be1f43208139476af3653997
          name: 'HPE Primera: Model'
          type: DEPENDENT
          key: hpe.primera.system.model
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'System model.'
          inventory_link: MODEL
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.model
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: 45281453bf204365a8a8ac2ba7255e54
          name: 'HPE Primera: System name'
          type: DEPENDENT
          key: hpe.primera.system.name
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'System name.'
          inventory_link: NAME
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.name
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: acf6d37022884dc99a3b55c95f6b19c8
          name: 'HPE Primera: Nodes online'
          type: DEPENDENT
          key: hpe.primera.system.nodes.online
          delay: '0'
          history: 7d
          description: 'Number of online nodes in the system.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.onlineNodes.length()
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: 65b22e04d7334aaf970a8961a46c22c9
          name: 'HPE Primera: Nodes total'
          type: DEPENDENT
          key: hpe.primera.system.nodes.total
          delay: '0'
          history: 7d
          description: 'Total number of nodes in the system.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.totalNodes
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1h
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: d194672ea7f64dd58296d7fb2537f35b
          name: 'HPE Primera: Serial number'
          type: DEPENDENT
          key: hpe.primera.system.serial_number
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'System serial number.'
          inventory_link: SERIALNO_A
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.serialNumber
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: e0f0ff7657784c8eab1a71a68ceefc19
          name: 'HPE Primera: Software version number'
          type: DEPENDENT
          key: hpe.primera.system.sw_version
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'Storage system software version number.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.system.systemVersion
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 1d
          master_item:
            key: hpe.primera.data.get
          tags:
            -
              tag: component
              value: system
        -
          uuid: a0b4fdee38a64c5f82fd051ea74a7b2d
          name: 'HPE Primera: Service ping'
          type: SIMPLE
          key: 'net.tcp.service["{$HPE.PRIMERA.API.SCHEME}","{HOST.CONN}","{$HPE.PRIMERA.API.PORT}"]'
          history: 7d
          description: 'Checks if the service is running and accepting TCP connections.'
          valuemap:
            name: 'Service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: health
            -
              tag: component
              value: network
          triggers:
            -
              uuid: 8e7aa46322c643878e509461dbb9169d
              expression: 'max(/HPE Primera by HTTP/net.tcp.service["{$HPE.PRIMERA.API.SCHEME}","{HOST.CONN}","{$HPE.PRIMERA.API.PORT}"],5m)=0'
              name: 'HPE Primera: Service is unavailable'
              priority: HIGH
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: availability
      discovery_rules:
        -
          uuid: b9132b095eb349c99e868ea40364596d
          name: 'Common provisioning groups discovery'
          type: DEPENDENT
          key: hpe.primera.cpg.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#NAME}'
                value: '{$HPE.PRIMERA.CPG.NAME.MATCHES}'
                formulaid: A
              -
                macro: '{#NAME}'
                value: '{$HPE.PRIMERA.CPG.NAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: 'List of CPGs resources.'
          item_prototypes:
            -
              uuid: 6d070a747a01498b94c56da721a63192
              name: 'CPG [{#NAME}]: Number of FPVVs'
              type: DEPENDENT
              key: 'hpe.primera.cpg.fpvv["{#ID}",count]'
              delay: '0'
              history: 7d
              description: 'Number of FPVVs (Fully Provisioned Virtual Volumes) allocated in the CPG.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].numFPVVs.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: a7fccd5afcf5469ca11a9436240eab5c
              name: 'CPG [{#NAME}]: Raw space: Free'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.raw["{#ID}",free]'
              delay: '0'
              history: 7d
              units: B
              description: 'Raw free space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].rawFreeSpaceMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 8f26a54327f54e968f422081e6045217
              name: 'CPG [{#NAME}]: Raw space: Shared'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.raw["{#ID}",shared]'
              delay: '0'
              history: 7d
              units: B
              description: 'Raw shared space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].rawSharedSpaceMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: e3ac07e2707a44fd8c166f4618fd79a1
              name: 'CPG [{#NAME}]: Raw space: Total'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.raw["{#ID}",total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Raw total space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].rawTotalSpaceMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 6dfd722ad85b481a9c2b04a4a5eb91fe
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot administration: Total (raw)'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sa["{#ID}",raw_total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total physical (raw) logical disk space in snapshot administration.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SAUsage.rawTotalMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 8b2dc75fdcfa48908ece97768641f055
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot administration: Used (raw)'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sa["{#ID}",raw_used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Amount of physical (raw) logical disk used in snapshot administration.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SAUsage.rawUsedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: d55f0eab811641fdbb9a8bc8c54815ee
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot administration: Total'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sa["{#ID}",total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total logical disk space in snapshot administration.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SAUsage.totalMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: cf467bc7d9ac45259f284eeab6ae7f6a
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot administration: Used'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sa["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Amount of logical disk used in snapshot administration.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SAUsage.usedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 61dd9aa18c714863b606d18b2fff6c57
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot data: Total (raw)'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sd["{#ID}",raw_total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total physical (raw) logical disk space in snapshot data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SDUsage.rawTotalMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: f95ee3c4c0c64d46a47dd68b346f2fa5
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot data: Used (raw)'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sd["{#ID}",raw_used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Amount of physical (raw) logical disk used in snapshot data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SDUsage.rawUsedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 797f3335d8704d4bb8b53e34b3e6589e
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot data: Total'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sd["{#ID}",total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total logical disk space in snapshot data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SDUsage.totalMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 51e40f6a1eb249d58bd79948d403d4f7
              name: 'CPG [{#NAME}]: Logical disk space: Snapshot data: Used'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.sd["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Amount of logical disk used in snapshot data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].SDUsage.usedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: b7a8880bdafe4f0da4dd8cee6d4fdfa4
              name: 'CPG [{#NAME}]: Logical disk space: User space: Total (raw)'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.usr["{#ID}",raw_total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total physical (raw) logical disk space in user data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].UsrUsage.rawTotalMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 1feabd57f12a48b98dab098435179725
              name: 'CPG [{#NAME}]: Logical disk space: User space: Used (raw)'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.usr["{#ID}",raw_used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Amount of physical (raw) logical disk used in user data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].UsrUsage.rawUsedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 6f85014bc639420aa409d97d42cb75b2
              name: 'CPG [{#NAME}]: Logical disk space: User space: Total'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.usr["{#ID}",total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total logical disk space in user data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].UsrUsage.totalMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: c21f77a45ab443099bf957fbb39478f3
              name: 'CPG [{#NAME}]: Logical disk space: User space: Used'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space.usr["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Amount of logical disk used in user data space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].UsrUsage.usedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: a6cd977f27a8463cb385715327e34955
              name: 'CPG [{#NAME}]: CPG space: Free'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space["{#ID}",free]'
              delay: '0'
              history: 7d
              units: B
              description: 'Free CPG space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].freeSpaceMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 17cf1cddafd444f8a5616a472c1a019b
              name: 'CPG [{#NAME}]: CPG space: Shared'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space["{#ID}",shared]'
              delay: '0'
              history: 7d
              units: B
              description: 'Shared CPG space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].sharedSpaceMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 3950d779a0394615b8ec311525ed4168
              name: 'CPG [{#NAME}]: CPG space: Total'
              type: DEPENDENT
              key: 'hpe.primera.cpg.space["{#ID}",total]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total CPG space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].totalSpaceMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: a7e2188d600a4715a58deba46f3b46ac
              name: 'CPG [{#NAME}]: Degraded state'
              type: DEPENDENT
              key: 'hpe.primera.cpg.state["{#ID}",degraded]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Detailed state of the CPG:
                
                LDS_NOT_STARTED (1) - LDs not started.
                NOT_STARTED (2) - VV not started.
                NEEDS_CHECK (3) - check for consistency.
                NEEDS_MAINT_CHECK (4) - maintenance check is required.
                INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error.
                SNAPDATA_INVALID (6) - invalid snapshot data.
                PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data.
                STALE (8) - parts of the VV contain old data because of a copy-on-write operation.
                COPY_FAILED (9) - a promote or copy operation to this volume failed.
                DEGRADED_AVAIL (10) - degraded due to availability.
                DEGRADED_PERF (11) - degraded due to performance.
                PROMOTING (12) - volume is the current target of a promote operation.
                COPY_TARGET (13) - volume is the current target of a physical copy operation.
                RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation.
                TUNING (15) - volume tuning is in progress.
                CLOSING (16) - volume is closing.
                REMOVING (17) - removing the volume.
                REMOVING_RETRY (18) - retrying a volume removal operation.
                CREATING (19) - creating a volume.
                COPY_SOURCE (20) - copy source.
                IMPORTING (21) - importing a volume.
                CONVERTING (22) - converting a volume.
                INVALID (23) - invalid.
                EXCLUSIVE (24) - local storage system has exclusive access to the volume.
                CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set.
                STANDBY (26) - volume in standby mode.
                SD_META_INCONSISTENT (27) - SD Meta Inconsistent.
                SD_NEEDS_FIX (28) - SD needs fix.
                SD_META_FIXING (29) - SD meta fix.
                UNKNOWN (999) - unknown state.
                NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI.
              valuemap:
                name: 'Volume detailed state enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].degradedStates.first()'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 837b48053400487885bf051a78f2200a
              name: 'CPG [{#NAME}]: Failed state'
              type: DEPENDENT
              key: 'hpe.primera.cpg.state["{#ID}",failed]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Detailed state of the CPG:
                
                LDS_NOT_STARTED (1) - LDs not started.
                NOT_STARTED (2) - VV not started.
                NEEDS_CHECK (3) - check for consistency.
                NEEDS_MAINT_CHECK (4) - maintenance check is required.
                INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error.
                SNAPDATA_INVALID (6) - invalid snapshot data.
                PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data.
                STALE (8) - parts of the VV contain old data because of a copy-on-write operation.
                COPY_FAILED (9) - a promote or copy operation to this volume failed.
                DEGRADED_AVAIL (10) - degraded due to availability.
                DEGRADED_PERF (11) - degraded due to performance.
                PROMOTING (12) - volume is the current target of a promote operation.
                COPY_TARGET (13) - volume is the current target of a physical copy operation.
                RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation.
                TUNING (15) - volume tuning is in progress.
                CLOSING (16) - volume is closing.
                REMOVING (17) - removing the volume.
                REMOVING_RETRY (18) - retrying a volume removal operation.
                CREATING (19) - creating a volume.
                COPY_SOURCE (20) - copy source.
                IMPORTING (21) - importing a volume.
                CONVERTING (22) - converting a volume.
                INVALID (23) - invalid.
                EXCLUSIVE (24) - local storage system has exclusive access to the volume.
                CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set.
                STANDBY (26) - volume in standby mode.
                SD_META_INCONSISTENT (27) - SD Meta Inconsistent.
                SD_NEEDS_FIX (28) - SD needs fix.
                SD_META_FIXING (29) - SD meta fix.
                UNKNOWN (999) - unknown state.
                NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI.
              valuemap:
                name: 'Volume detailed state enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].failedStates.first()'
                -
                  type: JAVASCRIPT
                  parameters:
                    - 'return JSON.stringify(JSON.parse(value));'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: 3fe9b7c875c248e3b09c98162e30ebf8
              name: 'CPG [{#NAME}]: State'
              type: DEPENDENT
              key: 'hpe.primera.cpg.state["{#ID}"]'
              delay: '0'
              history: 7d
              description: |
                Overall state of the CPG:
                
                NORMAL (1) - normal operation;
                DEGRADED (2) - degraded state;
                FAILED (3) - abnormal operation;
                UNKNOWN (99) - unknown state.
              valuemap:
                name: 'State enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].state.first()'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
              trigger_prototypes:
                -
                  uuid: 32a29b7a4bf340ef8ab07a8db3bef309
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.cpg.state["{#ID}"])=2'
                  name: 'CPG [{#NAME}]: Degraded'
                  opdata: 'Current value: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'CPG [{#NAME}] is in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
                -
                  uuid: 85c26e64c8074e8b9ab52f20394afeee
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.cpg.state["{#ID}"])=3'
                  name: 'CPG [{#NAME}]: Failed'
                  opdata: 'Current value: {ITEM.LASTVALUE1}'
                  priority: HIGH
                  description: 'CPG [{#NAME}] is in failed state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
            -
              uuid: 18544a7742af4678bd8c37ad84a8d137
              name: 'CPG [{#NAME}]: Number of TDVVs'
              type: DEPENDENT
              key: 'hpe.primera.cpg.tdvv["{#ID}",count]'
              delay: '0'
              history: 7d
              description: 'Number of TDVVs (Thinly Deduplicated Virtual Volume) created in the CPG.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].numTDVVs.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
            -
              uuid: f93dc70fa63a47da9253a447a67df685
              name: 'CPG [{#NAME}]: Number of TPVVs'
              type: DEPENDENT
              key: 'hpe.primera.cpg.tpvv["{#ID}",count]'
              delay: '0'
              history: 7d
              description: 'Number of TPVVs (Thinly Provisioned Virtual Volumes) allocated in the CPG.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.cpgs.members[?(@.id == "{#ID}")].numTPVVs.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: cpg
                -
                  tag: component
                  value: storage
                -
                  tag: cpg
                  value: '{#NAME}'
          graph_prototypes:
            -
              uuid: c5d1e864f752465eae8822c06d635aeb
              name: 'CPG [{#NAME}]: CPG space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space["{#ID}",free]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space["{#ID}",shared]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space["{#ID}",total]'
            -
              uuid: 1ef5d5b0090c4f168da6f842972af688
              name: 'CPG [{#NAME}]: Number of virtual volumes'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.fpvv["{#ID}",count]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.tpvv["{#ID}",count]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.tdvv["{#ID}",count]'
            -
              uuid: 4c15694d488f42d6bc5b9caf4fe9e049
              name: 'CPG [{#NAME}]: Raw space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.raw["{#ID}",free]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.raw["{#ID}",shared]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.raw["{#ID}",total]'
            -
              uuid: 0ffb02e0b9144e0583489ca1d1c8d2dd
              name: 'CPG [{#NAME}]: Snapshot administration space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sa["{#ID}",total]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sa["{#ID}",used]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sa["{#ID}",raw_total]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sa["{#ID}",raw_used]'
            -
              uuid: d64484828dda48cbbf7dc0f8a9c2f34d
              name: 'CPG [{#NAME}]: Snapshot data space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sd["{#ID}",total]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sd["{#ID}",used]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sd["{#ID}",raw_total]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.sd["{#ID}",raw_used]'
            -
              uuid: dd590898a3644130b897f57e8837cb3a
              name: 'CPG [{#NAME}]: User data space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.usr["{#ID}",total]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.usr["{#ID}",used]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.usr["{#ID}",raw_total]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.cpg.space.usr["{#ID}",raw_used]'
          master_item:
            key: hpe.primera.data.get
          lld_macro_paths:
            -
              lld_macro: '{#ID}'
              path: $.id
            -
              lld_macro: '{#NAME}'
              path: $.name
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.cpgs.members
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        -
          uuid: a83ed573e6ab40e8b7306178ddd2658b
          name: 'Disks discovery'
          type: DEPENDENT
          key: hpe.primera.disks.discovery
          delay: '0'
          description: 'List of physical disk resources.'
          item_prototypes:
            -
              uuid: 40e074af5d7f44bb8691290971fc7c5c
              name: 'Disk [{#POSITION}]: Free size'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",free_size]'
              delay: '0'
              history: 7d
              units: B
              description: 'Physical disk free size.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].freeSizeMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
            -
              uuid: 9bb7a86118614d339b4dee3238b261ff
              name: 'Disk [{#POSITION}]: Firmware version'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",fw_version]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Physical disk firmware version.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].fwVersion.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
            -
              uuid: 288f7eef0a7c43afa7a3623471c92097
              name: 'Disk [{#POSITION}]: Path A0 degraded'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",loop_a0_degraded]'
              delay: '0'
              history: 7d
              description: 'Indicates if this is a degraded path for the disk.'
              valuemap:
                name: Boolean
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].loopA0.degraded.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: BOOL_TO_DECIMAL
                  parameters:
                    - ''
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
              trigger_prototypes:
                -
                  uuid: f1672a33f9404216a1ffdbe3fcefd0bf
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_a0_degraded])=1'
                  name: 'Disk [{#POSITION}]: Path A0 degraded'
                  priority: AVERAGE
                  description: 'Disk [{#POSITION}] path A0 in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: 1e89322b49fb46bdacd22a562995f2fc
              name: 'Disk [{#POSITION}]: Path A1 degraded'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",loop_a1_degraded]'
              delay: '0'
              history: 7d
              description: 'Indicates if this is a degraded path for the disk.'
              valuemap:
                name: Boolean
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].loopA1.degraded.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: BOOL_TO_DECIMAL
                  parameters:
                    - ''
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
              trigger_prototypes:
                -
                  uuid: a28b1b4cdc5d4cb4afd9b7dd5e5f4f46
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_a1_degraded])=1'
                  name: 'Disk [{#POSITION}]: Path A1 degraded'
                  priority: AVERAGE
                  description: 'Disk [{#POSITION}] path A1 in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: 2b56e5a6ffbd4e6189fff707d508f955
              name: 'Disk [{#POSITION}]: Path B0 degraded'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",loop_b0_degraded]'
              delay: '0'
              history: 7d
              description: 'Indicates if this is a degraded path for the disk.'
              valuemap:
                name: Boolean
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].loopB0.degraded.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: BOOL_TO_DECIMAL
                  parameters:
                    - ''
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
              trigger_prototypes:
                -
                  uuid: 0ff32326e7784111842198ac6457c5cc
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_b0_degraded])=1'
                  name: 'Disk [{#POSITION}]: Path B0 degraded'
                  priority: AVERAGE
                  description: 'Disk [{#POSITION}] path B0 in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: cfb88804564d4e0c914760daec53276f
              name: 'Disk [{#POSITION}]: Path B1 degraded'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",loop_b1_degraded]'
              delay: '0'
              history: 7d
              description: 'Indicates if this is a degraded path for the disk.'
              valuemap:
                name: Boolean
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].loopB1.degraded.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: BOOL_TO_DECIMAL
                  parameters:
                    - ''
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
              trigger_prototypes:
                -
                  uuid: d55532408f3c40408dbd05671c66b5f3
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",loop_b1_degraded])=1'
                  name: 'Disk [{#POSITION}]: Path B1 degraded'
                  priority: AVERAGE
                  description: 'Disk [{#POSITION}] path B1 in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: 1387d1129e4a418e91fb0e99179116f5
              name: 'Disk [{#POSITION}]: Manufacturer'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",manufacturer]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Physical disk manufacturer.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].manufacturer.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
            -
              uuid: 1892d6230e244e1089a5eca8654ba2fa
              name: 'Disk [{#POSITION}]: Model'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",model]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Manufacturer''s device ID for disk.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].model.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
            -
              uuid: 495ceedbdf1644fdb56cf56123c1ec01
              name: 'Disk [{#POSITION}]: RPM'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",rpm]'
              delay: '0'
              history: 7d
              units: '!rpm'
              description: 'RPM of the physical disk.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].RPM.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
            -
              uuid: 07fa233e273d4d6e9813705d0afc82f5
              name: 'Disk [{#POSITION}]: Serial number'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",serial_number]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Disk drive serial number.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].serialNumber.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
            -
              uuid: acb23a0dc2674f57bada95dd12972662
              name: 'Disk [{#POSITION}]: State'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",state]'
              delay: '0'
              history: 7d
              description: |
                State of the physical disk:
                
                Normal (1) - physical disk is in Normal state;
                Degraded (2) - physical disk is not operating normally;
                New (3) - physical disk is new, needs to be admitted;
                Failed (4) - physical disk has failed;
                Unknown (99) - physical disk state is unknown.
              valuemap:
                name: 'diskState enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].state.first()'
                  error_handler: CUSTOM_VALUE
                  error_handler_params: '99'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
              trigger_prototypes:
                -
                  uuid: d8991103e26b4ffea5fb64dc3519eb63
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",state])=2'
                  name: 'Disk [{#POSITION}]: Degraded'
                  priority: AVERAGE
                  description: 'Disk [{#POSITION}] in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
                -
                  uuid: bc8c8281c3ac4742ba8f570a56753dd3
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",state])=3'
                  name: 'Disk [{#POSITION}]: Failed'
                  priority: HIGH
                  description: 'Disk [{#POSITION}] in failed state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
                -
                  uuid: d4bda084df0b4a489fac08d1acae4e17
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.disk["{#ID}",state])=99'
                  name: 'Disk [{#POSITION}]: Unknown issue'
                  priority: INFO
                  description: 'Disk [{#POSITION}] in unknown state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
            -
              uuid: 83395e3165c949e8997e93bfce0ac1d0
              name: 'Disk [{#POSITION}]: Total size'
              type: DEPENDENT
              key: 'hpe.primera.disk["{#ID}",total_size]'
              delay: '0'
              history: 7d
              units: B
              description: 'Physical disk total size.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.disks.members[?(@.id == "{#ID}")].totalSizeMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: component
                  value: storage
                -
                  tag: disk
                  value: '{#POSITION}'
          master_item:
            key: hpe.primera.data.get
          lld_macro_paths:
            -
              lld_macro: '{#ID}'
              path: $.id
            -
              lld_macro: '{#POSITION}'
              path: $.position
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.disks.members
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        -
          uuid: 77ae172949044c148ac8f56f05d3af33
          name: 'Hosts discovery'
          type: DEPENDENT
          key: hpe.primera.hosts.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#NAME}'
                operator: EXISTS
                formulaid: A
          description: 'List of host properties.'
          item_prototypes:
            -
              uuid: 142a03a36dbf477ebbcb99994efe4246
              name: 'Host [{#NAME}]: Comment'
              type: DEPENDENT
              key: 'hpe.primera.host["{#ID}",comment]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Additional information for the host.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.hosts.members[?(@.id == "{#ID}")].descriptors.comment.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: host
                -
                  tag: host
                  value: '{#NAME}'
            -
              uuid: 44a06761b5174c67ace5487b7ec9f0e5
              name: 'Host [{#NAME}]: Contact'
              type: DEPENDENT
              key: 'hpe.primera.host["{#ID}",contact]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The host''s owner and contact.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.hosts.members[?(@.id == "{#ID}")].descriptors.contact.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: host
                -
                  tag: host
                  value: '{#NAME}'
            -
              uuid: b3bd017e96d843248bbb9cb2240e861b
              name: 'Host [{#NAME}]: IP address'
              type: DEPENDENT
              key: 'hpe.primera.host["{#ID}",ipaddress]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The host''s IP address.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.hosts.members[?(@.id == "{#ID}")].descriptors.IPAddr.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: host
                -
                  tag: host
                  value: '{#NAME}'
            -
              uuid: 367466a0f7084e579f3c11d820dc7f04
              name: 'Host [{#NAME}]: Location'
              type: DEPENDENT
              key: 'hpe.primera.host["{#ID}",location]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The host''s location.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.hosts.members[?(@.id == "{#ID}")].descriptors.location.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: host
                -
                  tag: host
                  value: '{#NAME}'
            -
              uuid: 997e52f8f50e47738a1aefbcedaa5a82
              name: 'Host [{#NAME}]: Model'
              type: DEPENDENT
              key: 'hpe.primera.host["{#ID}",model]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The host''s model.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.hosts.members[?(@.id == "{#ID}")].descriptors.model.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: host
                -
                  tag: host
                  value: '{#NAME}'
            -
              uuid: 4db5068c8aea4940adb5f8863d50ef47
              name: 'Host [{#NAME}]: OS'
              type: DEPENDENT
              key: 'hpe.primera.host["{#ID}",os]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The operating system running on the host.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.hosts.members[?(@.id == "{#ID}")].descriptors.os.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1d
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: host
                -
                  tag: host
                  value: '{#NAME}'
          master_item:
            key: hpe.primera.data.get
          lld_macro_paths:
            -
              lld_macro: '{#ID}'
              path: $.id
            -
              lld_macro: '{#NAME}'
              path: $.name
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.hosts.members
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        -
          uuid: 3c9222777f2649749df76cbf61601557
          name: 'Ports discovery'
          type: DEPENDENT
          key: hpe.primera.ports.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#TYPE}'
                value: '3'
                operator: NOT_MATCHES_REGEX
                formulaid: A
          description: 'List of ports.'
          item_prototypes:
            -
              uuid: 9241e0b26de74ea49f28e1c09e15a2cd
              name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Failover state'
              type: DEPENDENT
              key: 'hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",failover_state]'
              delay: '0'
              history: 7d
              description: |
                The state of the failover operation, shown for the two ports indicated in the N:S:P and Partner columns. The value can be one of the following:
                
                none (1) - no failover in operation;
                failover_pending (2) - in the process of failing over to partner;
                failed_over (3) - failed over to partner;
                active (4) - the partner port is failed over to this port;
                active_down (5) - the partner port is failed over to this port, but this port is down;
                active_failed (6) - the partner port is failed over to this port, but this port is down;
                failback_pending (7) - in the process of failing back from partner.
              valuemap:
                name: 'portFailOverState enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.ports.members[?(@.portPos.node == "{#NODE}" && @.portPos.slot == "{#SLOT}" && @.portPos.cardPort == "{#CARD.PORT}")].failoverState.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: port
                -
                  tag: port
                  value: '{#NODE}:{#SLOT}:{#CARD.PORT}'
              trigger_prototypes:
                -
                  uuid: 65f3f3b098984842b5246bfb5842bc78
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",failover_state])<>1 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",failover_state])<>4'
                  name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Failover state is {ITEM.VALUE1}'
                  priority: AVERAGE
                  description: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}] has failover error.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
            -
              uuid: 8abba6d6f6e749b0be277056421a1958
              name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Hardware type'
              type: DEPENDENT
              key: 'hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",hw_type]'
              delay: '0'
              history: 7d
              description: |
                Hardware type:
                
                FC (1) - Fibre channel HBA;
                ETH (2) - Ethernet NIC;
                iSCSI (3) - iSCSI HBA;
                CNA (4) - Converged network adapter;
                SAS (5) - SAS HBA;
                COMBO (6) - Combo card;
                NVME (7) - NVMe drive;
                UNKNOWN (99) - unknown hardware type.
              valuemap:
                name: 'hardwareType enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.ports.members[?(@.portPos.node == "{#NODE}" && @.portPos.slot == "{#SLOT}" && @.portPos.cardPort == "{#CARD.PORT}")].hardwareType.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: port
                -
                  tag: port
                  value: '{#NODE}:{#SLOT}:{#CARD.PORT}'
            -
              uuid: 55119ce474024203ac039f4aa797dd4c
              name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state'
              type: DEPENDENT
              key: 'hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state]'
              delay: '0'
              history: 7d
              description: |
                Port link state:
                
                CONFIG_WAIT (1) - configuration wait;
                ALPA_WAIT (2) - ALPA wait;
                LOGIN_WAIT (3) - login wait;
                READY (4) - link is ready;
                LOSS_SYNC (5) - link is loss sync;
                ERROR_STATE (6) - in error state;
                XXX (7) - xxx;
                NONPARTICIPATE (8) - link did not participate;
                COREDUMP (9) - taking coredump;
                OFFLINE (10) - link is offline;
                FWDEAD (11) - firmware is dead;
                IDLE_FOR_RESET (12) - link is idle for reset;
                DHCP_IN_PROGRESS (13) - DHCP is in progress;
                PENDING_RESET (14) - link reset is pending;
                NEW (15) - link in new. This value is applicable for only virtual ports;
                DISABLED (16) - link in disabled. This value is applicable for only virtual ports;
                DOWN (17) - link in down. This value is applicable for only virtual ports;
                FAILED (18) - link in failed. This value is applicable for only virtual ports;
                PURGING (19) - link in purging. This value is applicable for only virtual ports.
              valuemap:
                name: 'portLinkState enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.ports.members[?(@.portPos.node == "{#NODE}" && @.portPos.slot == "{#SLOT}" && @.portPos.cardPort == "{#CARD.PORT}")].linkState.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: port
                -
                  tag: port
                  value: '{#NODE}:{#SLOT}:{#CARD.PORT}'
              trigger_prototypes:
                -
                  uuid: c7ee19ea175d4c63a9ae67e0ab59253b
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>4 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>1 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>3 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>13 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>15 and last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])<>16'
                  name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state is {ITEM.VALUE1}'
                  priority: HIGH
                  description: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}] not in ready state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
                -
                  uuid: f0c8851f843e41dcb6820c943efcbe2f
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=1 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=3 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=13 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=15 or last(/HPE Primera by HTTP/hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",link_state])=16'
                  name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Link state is {ITEM.VALUE1}'
                  priority: AVERAGE
                  description: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}] not in ready state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
            -
              uuid: c049e53b25bb4cb58cabbff1d91b3e88
              name: 'Port [{#NODE}:{#SLOT}:{#CARD.PORT}]: Type'
              type: DEPENDENT
              key: 'hpe.primera.port["{#NODE}:{#SLOT}:{#CARD.PORT}",type]'
              delay: '0'
              history: 7d
              description: |
                Port connection type:
                
                HOST (1) - FC port connected to hosts or fabric;
                DISK (2) - FC port connected to disks;
                FREE (3) - port is not connected to hosts or disks;
                IPORT (4) - port is in iport mode;
                RCFC (5) - FC port used for remote copy;
                PEER (6) - FC port used for data migration;
                RCIP (7) - IP (Ethernet) port used for remote copy;
                ISCSI (8) - iSCSI (Ethernet) port connected to hosts;
                CNA (9) - CNA port, which can be FCoE or iSCSI;
                FS (10) - Ethernet File Persona ports.
              valuemap:
                name: 'portConnType enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.ports.members[?(@.portPos.node == "{#NODE}" && @.portPos.slot == "{#SLOT}" && @.portPos.cardPort == "{#CARD.PORT}")].type.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: port
                -
                  tag: port
                  value: '{#NODE}:{#SLOT}:{#CARD.PORT}'
          master_item:
            key: hpe.primera.data.get
          lld_macro_paths:
            -
              lld_macro: '{#CARD.PORT}'
              path: $.portPos.cardPort
            -
              lld_macro: '{#NODE}'
              path: $.portPos.node
            -
              lld_macro: '{#SLOT}'
              path: $.portPos.slot
            -
              lld_macro: '{#TYPE}'
              path: $.type
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.ports.members
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        -
          uuid: b47a6afafca6486ea4ffb12dd3322bab
          name: 'Tasks discovery'
          type: DEPENDENT
          key: hpe.primera.tasks.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#NAME}'
                value: '{$HPE.PRIMERA.LLD.FILTER.TASK.NAME.MATCHES}'
                formulaid: A
              -
                macro: '{#NAME}'
                value: '{$HPE.PRIMERA.LLD.FILTER.TASK.NAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
              -
                macro: '{#TYPE}'
                value: '{$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.MATCHES}'
                formulaid: C
              -
                macro: '{#TYPE}'
                value: '{$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: D
          lifetime: 1d
          description: 'List of tasks started within last 24 hours.'
          item_prototypes:
            -
              uuid: cbcdf169dcf646cb959206bbb6cf3642
              name: 'Task [{#NAME}]: Finish time'
              type: DEPENDENT
              key: 'hpe.primera.task["{#ID}",finish_time]'
              delay: '0'
              history: 7d
              units: unixtime
              description: 'Task finish time.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.tasks[?(@.id == "{#ID}")].finishTime.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
                -
                  type: NOT_MATCHES_REGEX
                  parameters:
                    - ^-$
                  error_handler: DISCARD_VALUE
                -
                  type: JAVASCRIPT
                  parameters:
                    - |
                      raw_date = value.split(' ');
                      
                      return Date.parse(raw_date[0] + 'T' + raw_date[1] + raw_date[2] + ':00')/1000;
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: task
                -
                  tag: task
                  value: '{#NAME}'
            -
              uuid: 66140b134d954319a96eb17750da6b7c
              name: 'Task [{#NAME}]: Start time'
              type: DEPENDENT
              key: 'hpe.primera.task["{#ID}",start_time]'
              delay: '0'
              history: 7d
              units: unixtime
              description: 'Task start time.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.tasks[?(@.id == "{#ID}")].startTime.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
                -
                  type: JAVASCRIPT
                  parameters:
                    - |
                      raw_date = value.split(' ');
                      
                      return Date.parse(raw_date[0] + 'T' + raw_date[1] + raw_date[2] + ':00')/1000;
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: task
                -
                  tag: task
                  value: '{#NAME}'
            -
              uuid: e01b3c84a6594e419c358c7ea297159b
              name: 'Task [{#NAME}]: Status'
              type: DEPENDENT
              key: 'hpe.primera.task["{#ID}",status]'
              delay: '0'
              history: 7d
              description: |
                Task status:
                
                DONE (1) - task is finished;
                ACTIVE (2) - task is in progress;
                CANCELLED (3) - task is canceled;
                FAILED (4) - task failed.
              valuemap:
                name: 'taskStatus enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.tasks[?(@.id == "{#ID}")].status.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: task
                -
                  tag: task
                  value: '{#NAME}'
              trigger_prototypes:
                -
                  uuid: 63340c376d86492198e00d7ae10f063c
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.task["{#ID}",status])=3'
                  name: 'Task [{#NAME}]: Cancelled'
                  priority: INFO
                  description: 'Task [{#NAME}] is cancelled.'
                  tags:
                    -
                      tag: scope
                      value: notice
                -
                  uuid: af326c0f259144d28ebeb60e19bae903
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.task["{#ID}",status])=4'
                  name: 'Task [{#NAME}]: Failed'
                  priority: AVERAGE
                  description: 'Task [{#NAME}] is failed.'
                  tags:
                    -
                      tag: scope
                      value: notice
            -
              uuid: a67262cd7be642b9b56194d8bbb7e928
              name: 'Task [{#NAME}]: Type'
              type: DEPENDENT
              key: 'hpe.primera.task["{#ID}",type]'
              delay: '0'
              history: 7d
              description: |
                Task type:
                
                VV_COPY (1) - track the physical copy operations;
                PHYS_COPY_RESYNC (2) - track physical copy resynchronization operations;
                MOVE_REGIONS (3) - track region move operations;
                PROMOTE_SV (4) - track virtual-copy promotions;
                REMOTE_COPY_SYNC (5) - track remote copy group synchronizations;
                REMOTE_COPY_REVERSE (6) - track the reversal of a remote copy group;
                REMOTE_COPY_FAILOVER (7) - track the change-over of a secondary volume group to a primaryvolume group;REMOTE_COPY_RECOVER (8) - track synchronization start after a failover operation from originalsecondary cluster to original primary cluster;
                REMOTE_COPY_RESTORE (9) - tracks the restoration process for groups that have already beenrecovered;
                COMPACT_CPG (10) - track space consolidation in CPGs;
                COMPACT_IDS (11) - track space consolidation in logical disks;
                SNAPSHOT_ACCOUNTING (12) - track progress of snapshot space usage accounting;
                CHECK_VV (13) - track the progress of the check-volume operation;
                SCHEDULED_TASK (14) - track tasks that have been executed by the system scheduler;
                SYSTEM_TASK (15) - track tasks that are periodically run by the storage system;
                BACKGROUND_TASK (16) - track commands started using the starttask command;
                IMPORT_VV (17) - track tasks that migrate data to the local storage system;
                ONLINE_COPY (18) - track physical copy of the volume while online (createvvcopy-online command);
                CONVERT_VV (19) - track tasks that convert a volume from an FPVV to a TPVV, and the reverse;
                BACKGROUND_COMMAND (20) - track background command tasks;
                CLX_SYNC (21) - track CLX synchronization tasks;
                CLX_RECOVERY (22) - track CLX recovery tasks;
                TUNE_SD (23) - tune copy space;
                TUNE_VV (24) - tune virtual volume;
                TUNE_VV_ROLLBACK (25) - tune virtual volume rollback;
                TUNE_VV_RESTART (26) - tune virtual volume restart;
                SYSTEM_TUNING (27) - system tuning;
                NODE_RESCUE (28) - node rescue;
                REPAIR_SYNC (29) - remote copy repair sync;
                REMOTE_COPY_SWOVER (30) - remote copy switchover;
                DEFRAGMENTATION (31) - defragmentation;
                ENCRYPTION_CHANGE (32) - encryption change;
                REMOTE_COPY_FAILSAFE (33) - remote copy failsafe;
                TUNE_TPVV (34) - tune thin virtual volume;
                REMOTE_COPY_CHG_MODE (35) - remote copy change mode;
                ONLINE_PROMOTE (37) - online promote snap;
                RELOCATE_PD (38) - relocate PD;
                PERIODIC_CSS (39) - remote copy periodic CSS;
                TUNEVV_LARGE (40) - tune large virtual volume;
                SD_META_FIXER (41) - compression SD meta fixer;
                DEDUP_DRYRUN (42) - preview dedup ratio;
                COMPR_DRYRUN (43) - compression estimation;
                DEDUP_COMPR_DRYRUN (44) - compression and dedup estimation;
                UNKNOWN (99) - unknown task type.
              valuemap:
                name: 'taskType enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.tasks[?(@.id == "{#ID}")].type.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: task
                -
                  tag: task
                  value: '{#NAME}'
          master_item:
            key: hpe.primera.data.get
          lld_macro_paths:
            -
              lld_macro: '{#ID}'
              path: $.id
            -
              lld_macro: '{#NAME}'
              path: $.name
            -
              lld_macro: '{#TYPE}'
              path: $.type
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.tasks
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        -
          uuid: eb73fcc415c54ac18840d2655f048f6c
          name: 'Volumes discovery'
          type: DEPENDENT
          key: hpe.primera.volumes.discovery
          delay: '0'
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#NAME}'
                value: '{$HPE.PRIMERA.VOLUME.NAME.MATCHES}'
                formulaid: A
              -
                macro: '{#NAME}'
                value: '{$HPE.PRIMERA.VOLUME.NAME.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: B
          description: 'List of storage volume resources.'
          item_prototypes:
            -
              uuid: 40db4c8f6d85414e843c97770225f93d
              name: 'Volume [{#NAME}]: Compaction ratio'
              type: DEPENDENT
              key: 'hpe.primera.volume.capacity.efficiency["{#ID}",compaction]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'The compaction ratio indicates the overall amount of storage space saved with thin technology.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].capacityEfficiency.compaction.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: ab2a583c4b4049a6ac8b7bbc02bda8f5
              name: 'Volume [{#NAME}]: Storage space saved using compression'
              type: DEPENDENT
              key: 'hpe.primera.volume.capacity.efficiency["{#ID}",compression]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Indicates the amount of storage space saved using compression.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].capacityEfficiency.compression.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 1c4d78b2dcd64efbbf710ef602a94573
              name: 'Volume [{#NAME}]: Storage space saved using deduplication'
              type: DEPENDENT
              key: 'hpe.primera.volume.capacity.efficiency["{#ID}",deduplication]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Indicates the amount of storage space saved using deduplication.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].capacityEfficiency.deduplication.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 3b88e49e88484fe4a77e2a96f6d48322
              name: 'Volume [{#NAME}]: Overprovisioning ratio'
              type: DEPENDENT
              key: 'hpe.primera.volume.capacity.efficiency["{#ID}",overprovisioning]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Overprovisioning capacity efficiency ratio.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].capacityEfficiency.overProvisioning.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: f584938e60f94c46b4ed28cc614c797d
              name: 'Volume [{#NAME}]: Storage space saved using deduplication and compression'
              type: DEPENDENT
              key: 'hpe.primera.volume.capacity.efficiency["{#ID}",reduction]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              description: 'Indicates the amount of storage space saved using deduplication and compression together.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].capacityEfficiency.dataReduction.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 1h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: bb78eda6a941407581f78cf29ef2b647
              name: 'Volume [{#NAME}]: Administrative space: Free'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.admin["{#ID}",free]'
              delay: '0'
              history: 7d
              units: B
              description: 'Free administrative space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].adminSpace.freeMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: e4f9f8f5c1cd494896eba973b072fc57
              name: 'Volume [{#NAME}]: Administrative space: Raw reserved'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.admin["{#ID}",raw_reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Raw reserved administrative space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].adminSpace.rawReservedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: e5a93a042a3b41bab4cf59dc71ec66bf
              name: 'Volume [{#NAME}]: Administrative space: Reserved'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.admin["{#ID}",reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Reserved administrative space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].adminSpace.reservedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 67e182afc0124cf5913b0499317a7966
              name: 'Volume [{#NAME}]: Administrative space: Used'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.admin["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Used administrative space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].adminSpace.usedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 5d4659c72ed3492da143ad9c37e71360
              name: 'Volume [{#NAME}]: Snapshot space: Free'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.snapshot["{#ID}",free]'
              delay: '0'
              history: 7d
              units: B
              description: 'Free snapshot space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].snapshotSpace.freeMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: a2c22eed1c004bcc9292b945b5038858
              name: 'Volume [{#NAME}]: Snapshot space: Raw reserved'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.snapshot["{#ID}",raw_reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Raw reserved snapshot space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].snapshotSpace.rawReservedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: a37265c4598f4179bdcfd816769a1d9b
              name: 'Volume [{#NAME}]: Snapshot space: Reserved'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.snapshot["{#ID}",reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Reserved snapshot space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].snapshotSpace.reservedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: a278f5ec08c747b085ec53a36357539c
              name: 'Volume [{#NAME}]: Snapshot space: Used'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.snapshot["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Used snapshot space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].snapshotSpace.usedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 64825e4092c6450a8ea7fb7bce2d85ce
              name: 'Volume [{#NAME}]: Total reserved space'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.total["{#ID}",reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total reserved space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].totalReservedMiB.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: af15ec5befd146afbfb2b9cc017d03be
              name: 'Volume [{#NAME}]: Total space'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.total["{#ID}",size]'
              delay: '0'
              history: 7d
              units: B
              description: 'Virtual size of volume.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].sizeMiB.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 6000ab524b394e65afe111b65f7b6fd8
              name: 'Volume [{#NAME}]: Total used space'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.total["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total used space. Sum of used user space and used snapshot space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].totalUsedMiB.first()'
                  error_handler: DISCARD_VALUE
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 43c278563b174005ac5302ee48e0cd30
              name: 'Volume [{#NAME}]: User space: Free'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.user["{#ID}",free]'
              delay: '0'
              history: 7d
              units: B
              description: 'Free user space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].userSpace.freeMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 97aaefe8dffd4d2eb83f908ac8ad775b
              name: 'Volume [{#NAME}]: User space: Raw reserved'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.user["{#ID}",raw_reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Raw reserved user space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].userSpace.rawReservedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 135ad5457781492db1cec36787151a71
              name: 'Volume [{#NAME}]: User space: Reserved'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.user["{#ID}",reserved]'
              delay: '0'
              history: 7d
              units: B
              description: 'Reserved user space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].userSpace.reservedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 12h
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 3adf03216c4f442693fccbb991c0de3d
              name: 'Volume [{#NAME}]: User space: Used'
              type: DEPENDENT
              key: 'hpe.primera.volume.space.user["{#ID}",used]'
              delay: '0'
              history: 7d
              units: B
              description: 'Used user space.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].userSpace.usedMiB.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
                -
                  type: MULTIPLIER
                  parameters:
                    - '1048576'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: beb17415bd07492d83944da714c492e7
              name: 'Volume [{#NAME}]: Compression state'
              type: DEPENDENT
              key: 'hpe.primera.volume.state["{#ID}",compression]'
              delay: '0'
              history: 7d
              description: |
                Volume compression state:
                
                YES (1) - compression is enabled on the volume;
                NO (2) - compression is disabled on the volume;
                OFF (3) - compression is turned off;
                NA (4) - compression is not available on the volume.
              valuemap:
                name: 'Volume compressionState enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].compressionState.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 3962d07122a0460fa36c1b151a87717b
              name: 'Volume [{#NAME}]: Deduplication state'
              type: DEPENDENT
              key: 'hpe.primera.volume.state["{#ID}",deduplication]'
              delay: '0'
              history: 7d
              description: |
                Volume deduplication state:
                
                YES (1) - enables deduplication on the volume;
                NO (2) - disables deduplication on the volume;
                NA (3) - deduplication is not available;
                OFF (4) - deduplication is turned off.
              valuemap:
                name: 'Volume deduplicationState enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].deduplicationState.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 83222faf4e3e414789e028e0b17350c6
              name: 'Volume [{#NAME}]: Degraded state'
              type: DEPENDENT
              key: 'hpe.primera.volume.state["{#ID}",degraded]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Volume detailed state:
                
                LDS_NOT_STARTED (1) - LDs not started.
                NOT_STARTED (2) - VV not started.
                NEEDS_CHECK (3) - check for consistency.
                NEEDS_MAINT_CHECK (4) - maintenance check is required.
                INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error.
                SNAPDATA_INVALID (6) - invalid snapshot data.
                PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data.
                STALE (8) - parts of the VV contain old data because of a copy-on-write operation.
                COPY_FAILED (9) - a promote or copy operation to this volume failed.
                DEGRADED_AVAIL (10) - degraded due to availability.
                DEGRADED_PERF (11) - degraded due to performance.
                PROMOTING (12) - volume is the current target of a promote operation.
                COPY_TARGET (13) - volume is the current target of a physical copy operation.
                RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation.
                TUNING (15) - volume tuning is in progress.
                CLOSING (16) - volume is closing.
                REMOVING (17) - removing the volume.
                REMOVING_RETRY (18) - retrying a volume removal operation.
                CREATING (19) - creating a volume.
                COPY_SOURCE (20) - copy source.
                IMPORTING (21) - importing a volume.
                CONVERTING (22) - converting a volume.
                INVALID (23) - invalid.
                EXCLUSIVE (24) -lLocal storage system has exclusive access to the volume.
                CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set.
                STANDBY (26) - volume in standby mode.
                SD_META_INCONSISTENT (27) - SD Meta Inconsistent.
                SD_NEEDS_FIX (28) - SD needs fix.
                SD_META_FIXING (29) - SD meta fix.
                UNKNOWN (999) - unknown state.
                NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI.
              valuemap:
                name: 'Volume detailed state enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].degradedStates.first()'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 462e4b491dd94c78b299178af6d34ca0
              name: 'Volume [{#NAME}]: Failed state'
              type: DEPENDENT
              key: 'hpe.primera.volume.state["{#ID}",failed]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Volume detailed state:
                
                LDS_NOT_STARTED (1) - LDs not started.
                NOT_STARTED (2) - VV not started.
                NEEDS_CHECK (3) - check for consistency.
                NEEDS_MAINT_CHECK (4) - maintenance check is required.
                INTERNAL_CONSISTENCY_ERROR (5) - internal consistency error.
                SNAPDATA_INVALID (6) - invalid snapshot data.
                PRESERVED (7) - unavailable LD sets due to missing chunklets. Preserved remaining VV data.
                STALE (8) - parts of the VV contain old data because of a copy-on-write operation.
                COPY_FAILED (9) - a promote or copy operation to this volume failed.
                DEGRADED_AVAIL (10) - degraded due to availability.
                DEGRADED_PERF (11) - degraded due to performance.
                PROMOTING (12) - volume is the current target of a promote operation.
                COPY_TARGET (13) - volume is the current target of a physical copy operation.
                RESYNC_TARGET (14) - volume is the current target of a resynchronized copy operation.
                TUNING (15) - volume tuning is in progress.
                CLOSING (16) - volume is closing.
                REMOVING (17) - removing the volume.
                REMOVING_RETRY (18) - retrying a volume removal operation.
                CREATING (19) - creating a volume.
                COPY_SOURCE (20) - copy source.
                IMPORTING (21) - importing a volume.
                CONVERTING (22) - converting a volume.
                INVALID (23) - invalid.
                EXCLUSIVE (24) - local storage system has exclusive access to the volume.
                CONSISTENT (25) - volume is being imported consistently along with other volumes in the VV set.
                STANDBY (26) - volume in standby mode.
                SD_META_INCONSISTENT (27) - SD Meta Inconsistent.
                SD_NEEDS_FIX (28) - SD needs fix.
                SD_META_FIXING (29) - SD meta fix.
                UNKNOWN (999) - unknown state.
                NOT_SUPPORTED_BY_WSAPI (1000) - state not supported by WSAPI.
              valuemap:
                name: 'Volume detailed state enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].failedStates.first()'
                -
                  type: JAVASCRIPT
                  parameters:
                    - 'return JSON.stringify(JSON.parse(value));'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
            -
              uuid: 4d4e34fdbac84cada109cbfe9b69812c
              name: 'Volume [{#NAME}]: State'
              type: DEPENDENT
              key: 'hpe.primera.volume.state["{#ID}"]'
              delay: '0'
              history: 7d
              description: |
                State of the volume:
                
                NORMAL (1) - normal operation;
                DEGRADED (2) - degraded state;
                FAILED (3) - abnormal operation;
                UNKNOWN (99) - unknown state.
              valuemap:
                name: 'State enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].state.first()'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
              trigger_prototypes:
                -
                  uuid: c91920ca3ceb457cb9e2db0bb70d7fe0
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.volume.state["{#ID}"])=2'
                  name: 'Volume [{#NAME}]: Degraded'
                  opdata: 'Current value: {ITEM.LASTVALUE1}'
                  priority: AVERAGE
                  description: 'Volume [{#NAME}] is in degraded state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
                -
                  uuid: 394b5bd072ac41acb0702601c5d5f049
                  expression: 'last(/HPE Primera by HTTP/hpe.primera.volume.state["{#ID}"])=3'
                  name: 'Volume [{#NAME}]: Failed'
                  opdata: 'Current value: {ITEM.LASTVALUE1}'
                  priority: HIGH
                  description: 'Volume [{#NAME}] is in failed state.'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: capacity
            -
              uuid: 582544eb48d04a35ab03a9d01901feb9
              name: 'Volume [{#NAME}]: Remote copy status'
              type: DEPENDENT
              key: 'hpe.primera.volume.status["{#ID}",rcopy]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Remote copy status of the volume:
                
                NONE (1) - volume is not associated with remote copy;
                PRIMARY (2) - volume is the primary copy;
                SECONDARY (3) - volume is the secondary copy;
                SNAP (4) - volume is the remote copy snapshot;
                SYNC (5) - volume is a remote copy snapshot being used for synchronization;
                DELETE (6) - volume is a remote copy snapshot that is marked for deletion;
                UNKNOWN (99) - remote copy status is unknown for this volume.
              valuemap:
                name: 'rcopyStatus enum'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.volumes.members[?(@.id == "{#ID}")].rcopyStatus.first()'
              master_item:
                key: hpe.primera.data.get
              tags:
                -
                  tag: component
                  value: storage
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#NAME}'
          graph_prototypes:
            -
              uuid: 8c7139d2b7d94773ad6ef813c7fa59c9
              name: 'Volume [{#NAME}]: Administrative space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.admin["{#ID}",free]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.admin["{#ID}",raw_reserved]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.admin["{#ID}",reserved]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.admin["{#ID}",used]'
            -
              uuid: c74b88d4e61d4264b804965854eb1da1
              name: 'Volume [{#NAME}]: Capacity efficiency: Ratio'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.capacity.efficiency["{#ID}",compaction]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.capacity.efficiency["{#ID}",overprovisioning]'
            -
              uuid: d2a75ebb20c94eb4ab5e6a9b13d1d439
              name: 'Volume [{#NAME}]: Capacity efficiency: Space saved'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.capacity.efficiency["{#ID}",compression]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.capacity.efficiency["{#ID}",deduplication]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.capacity.efficiency["{#ID}",reduction]'
            -
              uuid: 7214605009354fd382368ec8699d5474
              name: 'Volume [{#NAME}]: Snapshot space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.snapshot["{#ID}",free]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.snapshot["{#ID}",raw_reserved]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.snapshot["{#ID}",reserved]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.snapshot["{#ID}",used]'
            -
              uuid: 0ad9f609419340168bf7f49de98e0135
              name: 'Volume [{#NAME}]: User space'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.user["{#ID}",free]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.user["{#ID}",raw_reserved]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.user["{#ID}",reserved]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'HPE Primera by HTTP'
                    key: 'hpe.primera.volume.space.user["{#ID}",used]'
          master_item:
            key: hpe.primera.data.get
          lld_macro_paths:
            -
              lld_macro: '{#ID}'
              path: $.id
            -
              lld_macro: '{#NAME}'
              path: $.name
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.volumes.members
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
      tags:
        -
          tag: class
          value: storage
        -
          tag: target
          value: hpe
        -
          tag: target
          value: primera
      macros:
        -
          macro: '{$HPE.PRIMERA.API.PASSWORD}'
          type: SECRET_TEXT
          description: 'Specify password for WSAPI.'
        -
          macro: '{$HPE.PRIMERA.API.PORT}'
          value: '443'
          description: 'The WSAPI port.'
        -
          macro: '{$HPE.PRIMERA.API.SCHEME}'
          value: https
          description: 'The WSAPI scheme (http/https).'
        -
          macro: '{$HPE.PRIMERA.API.USERNAME}'
          value: zabbix
          description: 'Specify user name for WSAPI.'
        -
          macro: '{$HPE.PRIMERA.CPG.NAME.MATCHES}'
          value: '.*'
          description: 'This macro is used in filters of CPGs discovery rule.'
        -
          macro: '{$HPE.PRIMERA.CPG.NAME.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'This macro is used in filters of CPGs discovery rule.'
        -
          macro: '{$HPE.PRIMERA.DATA.TIMEOUT}'
          value: 15s
          description: 'Response timeout for WSAPI.'
        -
          macro: '{$HPE.PRIMERA.LLD.FILTER.TASK.NAME.MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Filter of discoverable tasks by name.'
        -
          macro: '{$HPE.PRIMERA.LLD.FILTER.TASK.NAME.NOT_MATCHES}'
          value: '.*'
          description: 'Filter to exclude discovered tasks by name.'
        -
          macro: '{$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.MATCHES}'
          value: '.*'
          description: 'Filter of discoverable tasks by type.'
        -
          macro: '{$HPE.PRIMERA.LLD.FILTER.TASK.TYPE.NOT_MATCHES}'
          value: CHANGE_IF_NEEDED
          description: 'Filter to exclude discovered tasks by type.'
        -
          macro: '{$HPE.PRIMERA.VOLUME.NAME.MATCHES}'
          value: '.*'
          description: 'This macro is used in filters of volume discovery rule.'
        -
          macro: '{$HPE.PRIMERA.VOLUME.NAME.NOT_MATCHES}'
          value: ^(admin|.srdata|.mgmtdata)$
          description: 'This macro is used in filters of volume discovery rule.'
      valuemaps:
        -
          uuid: 79ba0611293541f29f8b43b34e64465d
          name: Boolean
          mappings:
            -
              value: '0'
              newvalue: 'No'
            -
              value: '1'
              newvalue: 'Yes'
        -
          uuid: fd9a3483b02f45c6836b9a126b669402
          name: 'diskState enum'
          mappings:
            -
              value: '1'
              newvalue: Normal
            -
              value: '2'
              newvalue: Degraded
            -
              value: '3'
              newvalue: New
            -
              value: '4'
              newvalue: Failed
            -
              value: '99'
              newvalue: Unknown
        -
          uuid: 7513c4c923884ed4b8e35ee9cdf4f627
          name: 'hardwareType enum'
          mappings:
            -
              value: '1'
              newvalue: FC
            -
              value: '2'
              newvalue: Eth
            -
              value: '3'
              newvalue: iSCSI
            -
              value: '4'
              newvalue: CNA
            -
              value: '5'
              newvalue: SAS
            -
              value: '6'
              newvalue: Combo
            -
              value: '7'
              newvalue: NVMe
            -
              value: '8'
              newvalue: Unknown
        -
          uuid: 5d243add5b534ebfac8ef95d55c4c8c9
          name: 'portConnType enum'
          mappings:
            -
              value: '1'
              newvalue: Host
            -
              value: '2'
              newvalue: Disk
            -
              value: '3'
              newvalue: Free
            -
              value: '4'
              newvalue: Iport
            -
              value: '5'
              newvalue: RCFC
            -
              value: '6'
              newvalue: Peer
            -
              value: '7'
              newvalue: RCIP
            -
              value: '8'
              newvalue: ISCSI
            -
              value: '9'
              newvalue: CNA
            -
              value: '10'
              newvalue: FS
        -
          uuid: 5762248dd10143a3945c989f0fb73b47
          name: 'portFailOverState enum'
          mappings:
            -
              value: '1'
              newvalue: None
            -
              value: '2'
              newvalue: 'Failover pending'
            -
              value: '3'
              newvalue: 'Failed over'
            -
              value: '4'
              newvalue: Active
            -
              value: '5'
              newvalue: 'Active down'
            -
              value: '6'
              newvalue: 'Active failed'
            -
              value: '7'
              newvalue: Failback_pending
        -
          uuid: 5a6cdc765c254f17b136c4267fc71349
          name: 'portLinkState enum'
          mappings:
            -
              value: '1'
              newvalue: 'Config wait'
            -
              value: '2'
              newvalue: 'ALPA wait'
            -
              value: '3'
              newvalue: 'Login wait'
            -
              value: '4'
              newvalue: 'Link is ready'
            -
              value: '5'
              newvalue: 'Link is loss sync'
            -
              value: '6'
              newvalue: 'In error state'
            -
              value: '7'
              newvalue: xxx
            -
              value: '8'
              newvalue: 'Non participate'
            -
              value: '9'
              newvalue: 'Core dump'
            -
              value: '10'
              newvalue: Offline
            -
              value: '11'
              newvalue: 'FW dead'
            -
              value: '12'
              newvalue: 'Idle for reset'
            -
              value: '13'
              newvalue: 'DHCP in progress'
            -
              value: '14'
              newvalue: 'Pending reset'
            -
              value: '15'
              newvalue: New
            -
              value: '16'
              newvalue: Disabled
            -
              value: '17'
              newvalue: Down
            -
              value: '18'
              newvalue: Failed
            -
              value: '19'
              newvalue: Purging
        -
          uuid: eb36574d642d4f9ea51688b4ff971c91
          name: 'rcopyStatus enum'
          mappings:
            -
              value: '1'
              newvalue: None
            -
              value: '2'
              newvalue: Primary
            -
              value: '3'
              newvalue: Secondary
            -
              value: '4'
              newvalue: Snap
            -
              value: '5'
              newvalue: Sync
            -
              value: '6'
              newvalue: Delete
            -
              value: '99'
              newvalue: Unknown
        -
          uuid: aaa5a863e8524a7088e64a51f5976c98
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
        -
          uuid: 86e4337cbc86423fb9f605a9fb3b25b1
          name: 'State enum'
          mappings:
            -
              value: '1'
              newvalue: Normal
            -
              value: '2'
              newvalue: Degraded
            -
              value: '3'
              newvalue: Failed
            -
              value: '99'
              newvalue: Unknown
        -
          uuid: 5cfd4442b6244399b7aa8b57e9816a4e
          name: 'taskStatus enum'
          mappings:
            -
              value: '1'
              newvalue: Done
            -
              value: '2'
              newvalue: Active
            -
              value: '3'
              newvalue: Cancelled
            -
              value: '4'
              newvalue: Failed
        -
          uuid: 9a8e1dbbb8f7497c9492fc941fde7177
          name: 'taskType enum'
          mappings:
            -
              value: '1'
              newvalue: 'VV copy'
            -
              value: '2'
              newvalue: 'Phys copy resync'
            -
              value: '3'
              newvalue: 'Move regions'
            -
              value: '4'
              newvalue: 'Promote SV'
            -
              value: '5'
              newvalue: 'Remote copy sync'
            -
              value: '6'
              newvalue: 'Remote copy reverse'
            -
              value: '7'
              newvalue: 'Remote copy failover'
            -
              value: '8'
              newvalue: 'Remote copy recover'
            -
              value: '9'
              newvalue: 'Remote copy restore'
            -
              value: '10'
              newvalue: 'Compact CPG'
            -
              value: '11'
              newvalue: 'Compact IDS'
            -
              value: '12'
              newvalue: 'Snapshot accounting'
            -
              value: '13'
              newvalue: 'Check VV'
            -
              value: '14'
              newvalue: 'Scheduled task'
            -
              value: '15'
              newvalue: 'System task'
            -
              value: '16'
              newvalue: 'Background task'
            -
              value: '17'
              newvalue: 'Import VV'
            -
              value: '18'
              newvalue: 'Online copy'
            -
              value: '19'
              newvalue: 'Convert VV'
            -
              value: '20'
              newvalue: 'Background command'
            -
              value: '21'
              newvalue: 'CLX sync'
            -
              value: '22'
              newvalue: 'CLX recovery'
            -
              value: '23'
              newvalue: 'Tune SD'
            -
              value: '24'
              newvalue: 'Tune VV'
            -
              value: '25'
              newvalue: 'Tune VV rollback'
            -
              value: '26'
              newvalue: 'Tune VV restart'
            -
              value: '27'
              newvalue: 'System tuning'
            -
              value: '28'
              newvalue: 'Node rescue'
            -
              value: '29'
              newvalue: 'Repair sync'
            -
              value: '30'
              newvalue: 'Remote copy switchover'
            -
              value: '31'
              newvalue: Defragmentation
            -
              value: '32'
              newvalue: 'Encryption change'
            -
              value: '33'
              newvalue: 'Remote copy failsafe'
            -
              value: '34'
              newvalue: 'Tune TPVV'
            -
              value: '35'
              newvalue: 'Remote copy change mode'
            -
              value: '37'
              newvalue: 'Online promote'
            -
              value: '38'
              newvalue: 'Relocate PD'
            -
              value: '39'
              newvalue: 'Periodic CSS'
            -
              value: '40'
              newvalue: 'Tune VV large'
            -
              value: '41'
              newvalue: 'SD meta fixer'
            -
              value: '42'
              newvalue: 'Dedup dryrun'
            -
              value: '43'
              newvalue: 'Compr dryrun'
            -
              value: '44'
              newvalue: 'Dedup compr dryrun'
            -
              value: '99'
              newvalue: Unknown
        -
          uuid: f529111642364bb3a23637adc554e592
          name: 'Volume compressionState enum'
          mappings:
            -
              value: '1'
              newvalue: 'Yes'
            -
              value: '2'
              newvalue: 'No'
            -
              value: '3'
              newvalue: 'Off'
            -
              value: '4'
              newvalue: NA
        -
          uuid: 716912c7b7d94f8e97fbf911edc9578e
          name: 'Volume deduplicationState enum'
          mappings:
            -
              value: '1'
              newvalue: 'Yes'
            -
              value: '2'
              newvalue: 'No'
            -
              value: '3'
              newvalue: NA
            -
              value: '4'
              newvalue: 'Off'
        -
          uuid: 6a2355e32bf54483b252f1aaf170aa45
          name: 'Volume detailed state enum'
          mappings:
            -
              value: '1'
              newvalue: 'LDS not started'
            -
              value: '2'
              newvalue: 'VV not started'
            -
              value: '3'
              newvalue: 'Needs check'
            -
              value: '4'
              newvalue: 'Needs maint check'
            -
              value: '5'
              newvalue: 'Internal consistency error'
            -
              value: '6'
              newvalue: 'Snapdata invalid'
            -
              value: '7'
              newvalue: Preserved
            -
              value: '8'
              newvalue: Stale
            -
              value: '9'
              newvalue: 'Copy failed'
            -
              value: '10'
              newvalue: 'Degraded avail'
            -
              value: '11'
              newvalue: 'Degraded perf'
            -
              value: '12'
              newvalue: Promoting
            -
              value: '13'
              newvalue: 'Copy target'
            -
              value: '14'
              newvalue: 'Resync target'
            -
              value: '15'
              newvalue: Tuning
            -
              value: '16'
              newvalue: Closing
            -
              value: '17'
              newvalue: Removing
            -
              value: '18'
              newvalue: 'Removing retry'
            -
              value: '19'
              newvalue: Creating
            -
              value: '20'
              newvalue: 'Copy source'
            -
              value: '21'
              newvalue: Importing
            -
              value: '22'
              newvalue: Converting
            -
              value: '23'
              newvalue: Invalid
            -
              value: '24'
              newvalue: Exclusive
            -
              value: '25'
              newvalue: Consistent
            -
              value: '26'
              newvalue: Standby
            -
              value: '27'
              newvalue: 'SD Meta inconsistent'
            -
              value: '28'
              newvalue: 'SD needs fix'
            -
              value: '29'
              newvalue: 'SD meta fix'
            -
              value: '999'
              newvalue: 'Unknown state'
            -
              value: '1000'
              newvalue: 'State not supported by WSAPI'
  graphs:
    -
      uuid: 79e292a64d9247c486812db7a62c0eda
      name: 'HPE Primera: Capacity'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'HPE Primera by HTTP'
            key: hpe.primera.system.capacity.allocated
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'HPE Primera by HTTP'
            key: hpe.primera.system.capacity.failed
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'HPE Primera by HTTP'
            key: hpe.primera.system.capacity.free
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'HPE Primera by HTTP'
            key: hpe.primera.system.capacity.total