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

template_san_netapp_aff_a700_http.yaml « netapp_aff_a700_http « san « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: de249d01c1db79f704265eafc4258f5163c4b52d (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
zabbix_export:
  version: '6.2'
  date: '2022-06-07T19:36:31Z'
  template_groups:
    -
      uuid: 7c2cb727f85b492d88cd56e17127c64d
      name: Templates/SAN
  templates:
    -
      uuid: 79267c69f54a4e59b4152aba4e8c4bd5
      template: 'NetApp AFF A700 by HTTP'
      name: 'NetApp AFF A700 by HTTP'
      description: |
        The template to monitor SAN NetApp AFF A700 cluster by Zabbix HTTP agent.
        
        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: 95d822159f2a4c4084ad36b18cd11a1d
          name: 'Get chassis'
          type: HTTP_AGENT
          key: netapp.chassis.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/cluster/chassis?fields=id,state'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 49490a886b5f4e5c9e8cc121a6ffd713
          name: 'Get cluster'
          type: HTTP_AGENT
          key: netapp.cluster.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/cluster'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 2c98b9d6353a4b1f9c0a794681788c22
          name: 'Cluster location'
          type: DEPENDENT
          key: netapp.cluster.location
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'The location of the cluster.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.location
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
        -
          uuid: a052583b18b44ed9b8df1c1eca375113
          name: 'Cluster name'
          type: DEPENDENT
          key: netapp.cluster.name
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'The name of the cluster.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.name
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
        -
          uuid: 63c3ea4634024fb88841cee7e64c964b
          name: 'Cluster IOPS, other rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops.other.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.other
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 5f38f233c9c0446e8bb9e60229294cdf
          name: 'Cluster IOPS, read rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops.read.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric for read I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.read
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 8380db1dbf2a4c2e95eff184d3a61fde
          name: 'Cluster IOPS, total rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops.total.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric aggregated over all types of I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.total
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 65a4b938010045ef9735a7d9f6239ccd
          name: 'Cluster IOPS, write rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops.write.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric for write I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.write
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 77253d87ce8242afa45a3c79ab96a91e
          name: 'Cluster IOPS raw, other'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops_raw.other
          delay: '0'
          history: 7d
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.other
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 14262390978b45729fa3ac593cf21a69
          name: 'Cluster IOPS raw, read'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops_raw.read
          delay: '0'
          history: 7d
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric for read I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.read
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 7a0407b68348478f9bc56bf0629f59d2
          name: 'Cluster IOPS raw, total'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops_raw.total
          delay: '0'
          history: 7d
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric aggregated over all types of I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.total
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 92640d6a2d044100a59c5d180d43fbce
          name: 'Cluster IOPS raw, write'
          type: DEPENDENT
          key: netapp.cluster.statistics.iops_raw.write
          delay: '0'
          history: 7d
          units: '!iops'
          description: 'The number of I/O operations observed at the storage object. Performance metric for write I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.iops_raw.write
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: iops
        -
          uuid: 4bd4fe94e9a54fa2b8ab9bdf0475edff
          name: 'Cluster latency, other'
          type: CALCULATED
          key: netapp.cluster.statistics.latency.other
          history: 7d
          value_type: FLOAT
          units: '!ms'
          params: |
            (last(//netapp.cluster.statistics.latency_raw.other) - last(//netapp.cluster.statistics.latency_raw.other,#2)) /
            (last(//netapp.cluster.statistics.iops_raw.other) - last(//netapp.cluster.statistics.iops_raw.other,#2) +
            (last(//netapp.cluster.statistics.iops_raw.other) - last(//netapp.cluster.statistics.iops_raw.other,#2) = 0) ) * 0.001
          description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: 4b89e603f9cf4b92a85293b1ad15c005
          name: 'Cluster latency, read'
          type: CALCULATED
          key: netapp.cluster.statistics.latency.read
          history: 7d
          value_type: FLOAT
          units: '!ms'
          params: |
            (last(//netapp.cluster.statistics.latency_raw.read) - last(//netapp.cluster.statistics.latency_raw.read,#2)) /
            ( last(//netapp.cluster.statistics.iops_raw.read) - last(//netapp.cluster.statistics.iops_raw.read,#2) +
            (last(//netapp.cluster.statistics.iops_raw.read) - last(//netapp.cluster.statistics.iops_raw.read,#2) = 0) ) * 0.001
          description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric for read I/O operations.'
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: 2c953f67a7484e389d11ac5ef6b06c44
          name: 'Cluster latency, total'
          type: CALCULATED
          key: netapp.cluster.statistics.latency.total
          history: 7d
          value_type: FLOAT
          units: '!ms'
          params: |
            (last(//netapp.cluster.statistics.latency_raw.total) - last(//netapp.cluster.statistics.latency_raw.total,#2)) /
            ( last(//netapp.cluster.statistics.iops_raw.total) - last(//netapp.cluster.statistics.iops_raw.total,#2) +
            (last(//netapp.cluster.statistics.iops_raw.total) - last(//netapp.cluster.statistics.iops_raw.total,#2) = 0) ) * 0.001
          description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric aggregated over all types of I/O operations.'
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: 543ba306d85e41c98d34dab39463dd87
          name: 'Cluster latency, write'
          type: CALCULATED
          key: netapp.cluster.statistics.latency.write
          history: 7d
          value_type: FLOAT
          units: '!ms'
          params: |
            (last(//netapp.cluster.statistics.latency_raw.write) - last(//netapp.cluster.statistics.latency_raw.write,#2)) /
            ( last(//netapp.cluster.statistics.iops_raw.write) - last(//netapp.cluster.statistics.iops_raw.write,#2) +
            (last(//netapp.cluster.statistics.iops_raw.write) - last(//netapp.cluster.statistics.iops_raw.write,#2) = 0) ) * 0.001
          description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric for write I/O operations.'
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: acd5b961c4d843589514771fa9a0aaa3
          name: 'Cluster latency raw, other'
          type: DEPENDENT
          key: netapp.cluster.statistics.latency_raw.other
          delay: '0'
          history: 7d
          units: '!mcs'
          description: 'The raw latency in microseconds observed at the storage object. This can be divided by the raw IOPS value to calculate the average latency per I/O operation. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.latency_raw.other
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: 3e81e918028d412eaa2cb27718ae3b98
          name: 'Cluster latency raw, read'
          type: DEPENDENT
          key: netapp.cluster.statistics.latency_raw.read
          delay: '0'
          history: 7d
          units: '!mcs'
          description: 'The raw latency in microseconds observed at the storage object. This can be divided by the raw IOPS value to calculate the average latency per I/O operation. Performance metric for read I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.latency_raw.read
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: 78253f625b7e468898f6dd48c9707ad3
          name: 'Cluster latency raw, total'
          type: DEPENDENT
          key: netapp.cluster.statistics.latency_raw.total
          delay: '0'
          history: 7d
          units: '!mcs'
          description: 'The raw latency in microseconds observed at the storage object. This can be divided by the raw IOPS value to calculate the average latency per I/O operation. Performance metric aggregated over all types of I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.latency_raw.total
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: fb73702348d3468cad5312af772eaeb9
          name: 'Cluster latency raw, write'
          type: DEPENDENT
          key: netapp.cluster.statistics.latency_raw.write
          delay: '0'
          history: 7d
          units: '!mcs'
          description: 'The raw latency in microseconds observed at the storage object. This can be divided by the raw IOPS value to calculate the average latency per I/O operation. Performance metric for write I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.latency_raw.write
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: latency
        -
          uuid: 61acb5f1435f4452a789c44bfd105da3
          name: 'Cluster throughput, other rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.throughput.other.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Throughput bytes observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.throughput_raw.other
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: throughput
        -
          uuid: a1fad2e35b8f4c1da450b953d3952263
          name: 'Cluster throughput, read rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.throughput.read.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Throughput bytes observed at the storage object. Performance metric for read I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.throughput_raw.read
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: throughput
        -
          uuid: e894ad01c2d74edfb8f954198979070c
          name: 'Cluster throughput, total rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.throughput.total.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Throughput bytes observed at the storage object. Performance metric aggregated over all types of I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.throughput_raw.total
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: throughput
        -
          uuid: c06c118d3fbe48b78db12e43232d6d97
          name: 'Cluster throughput, write rate'
          type: DEPENDENT
          key: netapp.cluster.statistics.throughput.write.rate
          delay: '0'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'Throughput bytes observed at the storage object. Performance metric for write I/O operations.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.throughput_raw.write
            -
              type: CHANGE_PER_SECOND
              parameters:
                - ''
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
            -
              tag: component
              value: throughput
        -
          uuid: 5029bccf54f542b1a2dc760067ddabe3
          name: 'Cluster status'
          type: DEPENDENT
          key: netapp.cluster.status
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'The status of the cluster: ok, error, partial_no_data, partial_no_response, partial_other_error, negative_delta, backfilled_data, inconsistent_delta_time, inconsistent_old_data.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.statistics.status
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: cluster
          triggers:
            -
              uuid: c823a2eb325a4153871be705d7c24c72
              expression: '(last(/NetApp AFF A700 by HTTP/netapp.cluster.status)<>"ok")'
              name: 'Cluster status is abnormal'
              priority: AVERAGE
              description: 'Any errors associated with the sample. For example, if the aggregation of data over multiple nodes fails then any of the partial errors might be returned, “ok” on success, or “error” on any internal uncategorized failure. Whenever a sample collection is missed but done at a later time, it is back filled to the previous 15 second timestamp and tagged with "backfilled_data". “Inconsistent_ delta_time” is encountered when the time between two collections is not the same for all nodes. Therefore, the aggregated value might be over or under inflated. “Negative_delta” is returned when an expected monotonically increasing value has decreased in value. “Inconsistent_old_data” is returned when one or more nodes do not have the latest data.'
              tags:
                -
                  tag: scope
                  value: availability
                -
                  tag: scope
                  value: performance
        -
          uuid: cd56dc70e28f4a3382f2f1b08a4fa584
          name: 'Cluster software version'
          type: DEPENDENT
          key: netapp.cluster.version
          delay: '0'
          history: 7d
          trends: '0'
          value_type: CHAR
          description: 'This returns the cluster version information. When the cluster has more than one node, the cluster version is equivalent to the lowest of generation, major, and minor versions on all nodes.'
          preprocessing:
            -
              type: JSONPATH
              parameters:
                - $.version.full
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
          master_item:
            key: netapp.cluster.get
          tags:
            -
              tag: component
              value: system
          triggers:
            -
              uuid: 4a2936f068ed486f8c8a2cf2cfa7440b
              expression: 'last(/NetApp AFF A700 by HTTP/netapp.cluster.version,#1)<>last(/NetApp AFF A700 by HTTP/netapp.cluster.version,#2) and length(last(/NetApp AFF A700 by HTTP/netapp.cluster.version))>0'
              name: 'Version has changed'
              event_name: 'Version has changed (new version: {ITEM.VALUE})'
              priority: INFO
              description: '__RESOURCE__ version has changed. Ack to close.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: c9bf91e0f23c4961aed8ee5b32ff7767
          name: 'Get disks'
          type: HTTP_AGENT
          key: netapp.disks.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/storage/disks?fields=state,node.name'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 54163ca73a8c40188048ef5d89ec4927
          name: 'Get FRUs'
          type: HTTP_AGENT
          key: netapp.frus.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function(chassis) {
                      chassis.frus.forEach(function(frus) {
                          frus.chassisId = chassis.id;
                          result.push(frus);
                      })
                  });
                  
                  return JSON.stringify(result);
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/cluster/chassis?fields=id,frus.id,frus.state'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: c9b6ac2405af48c0899d1536662f752b
          name: 'Get LUNs'
          type: HTTP_AGENT
          key: netapp.luns.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/storage/luns?fields=name,svm.name,space.size,space.used,status.state,status.container_state'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 5c36efc545ba4dcbb0be84da5e8088cc
          name: 'Get nodes'
          type: HTTP_AGENT
          key: netapp.nodes.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/cluster/nodes?fields=*'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: c677a3caf7a04710bc67b165b4152808
          name: 'Get ethernet ports'
          type: HTTP_AGENT
          key: netapp.ports.eth.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/network/ethernet/ports?fields=name,type,node.name,broadcast_domain.name,enabled,state,mtu,speed'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 2a6abfe87cc548bb81fcb217cde4f805
          name: 'Get FC ports'
          type: HTTP_AGENT
          key: netapp.ports.fc.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/network/fc/ports?fields=name,node.name,description,enabled,fabric.switch_port,state'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: 7a813b7cb05d497fbf77bf11b01757dd
          name: 'Get SVMs'
          type: HTTP_AGENT
          key: netapp.svms.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/svm/svms?fields=name,state,comment'
          tags:
            -
              tag: component
              value: raw
        -
          uuid: fa7fa8daaaa640d494af38614ba12c2e
          name: 'Get volumes'
          type: HTTP_AGENT
          key: netapp.volumes.get
          history: '0'
          trends: '0'
          value_type: TEXT
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/storage/volumes?fields=name,comment,state,type,svm.name,space.size,space.available,space.used,statistics'
          tags:
            -
              tag: component
              value: raw
      discovery_rules:
        -
          uuid: c5265605c1b5440999b7c0dbff8ce328
          name: 'Chassis discovery'
          type: HTTP_AGENT
          key: netapp.chassis.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: 7e6b1e1d5b484080b8f31929a78e44e7
              name: '{#ID}: State'
              type: DEPENDENT
              key: 'netapp.chassis.state[{#ID}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The chassis state: ok, error.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.id==''{#ID}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.chassis.get
              tags:
                -
                  tag: chassis
                  value: '{#ID}'
                -
                  tag: component
                  value: chassis
              trigger_prototypes:
                -
                  uuid: 381eb797545d452a84d3dba43865bbed
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.chassis.state[{#ID}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.chassis.state[{#ID}],#2) and last(/NetApp AFF A700 by HTTP/netapp.chassis.state[{#ID}])="error")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.chassis.state[{#ID}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.chassis.state[{#ID}],#2) and last(/NetApp AFF A700 by HTTP/netapp.chassis.state[{#ID}])="ok")'
                  name: '{#ID}: Chassis has something errors'
                  priority: AVERAGE
                  description: 'Something is wrong with the chassis.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: performance
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/cluster/chassis?fields=id'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (chassis) {
                      result.push({"{#ID}": chassis.id});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: e7c0955f88d342179b96f56e1f35afe2
          name: 'Disks discovery'
          type: HTTP_AGENT
          key: netapp.disks.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: f170a3d8e98048ce91bf10f1ebcd2611
              name: '{#DISKNAME}: State'
              type: DEPENDENT
              key: 'netapp.disk.state[{#NODENAME},{#DISKNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The state of the disk. Possible values: broken, copy, maintenance, partner, pending, present, reconstructing, removed, spare, unfail, zeroing'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#DISKNAME}''&&@.node.name==''{#NODENAME}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.disks.get
              tags:
                -
                  tag: component
                  value: disk
                -
                  tag: disk
                  value: '{#DISKNAME}'
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: 72c1925f51c149eca27c7ddd1c81e44f
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.disk.state[{#NODENAME},{#DISKNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.disk.state[{#NODENAME},{#DISKNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.disk.state[{#NODENAME},{#DISKNAME}])<>"present")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.disk.state[{#NODENAME},{#DISKNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.disk.state[{#NODENAME},{#DISKNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.disk.state[{#NODENAME},{#DISKNAME}])="present")'
                  name: '{#DISKNAME}: Disk of the Node "{#NODENAME}" has state different from "present"'
                  priority: AVERAGE
                  description: 'Something is wrong with the disk.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: performance
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/storage/disks?fields=name,node.name'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (disk) {
                      result.push({"{#DISKNAME}": disk.name, "{#NODENAME}": disk.node.name});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: 1ae3dea03a464096819de8a206b0780e
          name: 'FRUs discovery'
          type: DEPENDENT
          key: netapp.frus.discovery
          delay: '0'
          item_prototypes:
            -
              uuid: 643c9e0a8869464bacae0ff6161afe36
              name: '{#FRUID}: State'
              type: DEPENDENT
              key: 'netapp.chassis.fru.state[{#CHASSISID},{#FRUID}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The FRU state: ok, error.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$[?(@.id==''{#FRUID}''&&@.chassisId==''{#CHASSISID}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.frus.get
              tags:
                -
                  tag: chassis
                  value: '{#CHASSISID}'
                -
                  tag: component
                  value: fru
                -
                  tag: fru
                  value: '{#FRUID}'
              trigger_prototypes:
                -
                  uuid: a17cb2ea98b6415d9e22e7f591d80adb
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.chassis.fru.state[{#CHASSISID},{#FRUID}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.chassis.fru.state[{#CHASSISID},{#FRUID}],#2) and last(/NetApp AFF A700 by HTTP/netapp.chassis.fru.state[{#CHASSISID},{#FRUID}])="error")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.chassis.fru.state[{#CHASSISID},{#FRUID}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.chassis.fru.state[{#CHASSISID},{#FRUID}],#2) and last(/NetApp AFF A700 by HTTP/netapp.chassis.fru.state[{#CHASSISID},{#FRUID}])="ok")'
                  name: '{#FRUID}: FRU of the chassis "{#ID}" state is error'
                  priority: AVERAGE
                  description: 'Something is wrong with the FRU.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: performance
          master_item:
            key: netapp.frus.get
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).forEach(function (fru) {
                      result.push({"{#CHASSISID}": fru.chassisId, "{#FRUID}": fru.id});
                  });
                  
                  return JSON.stringify(result);
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 6h
        -
          uuid: b75474be384f4d7fa0f625c4cebeef43
          name: 'LUNs discovery'
          type: HTTP_AGENT
          key: netapp.luns.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: 05dfdbc0cacb4f1fa458180e4b4fe35c
              name: '{#LUNNAME}: Space size'
              type: DEPENDENT
              key: 'netapp.lun.space.size[{#SVMNAME},{#LUNNAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The total provisioned size of the LUN.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.svm.name==''{#SVMNAME}''&&@.name==''{#LUNNAME}'')].space.size.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.luns.get
              tags:
                -
                  tag: component
                  value: lun
                -
                  tag: lun
                  value: '{#LUNNAME}'
                -
                  tag: svm
                  value: '{#SVMNAME}'
            -
              uuid: e12b5d04f3264ee2b602d459fb64c6ee
              name: '{#LUNNAME}: Space used'
              type: DEPENDENT
              key: 'netapp.lun.space.used[{#SVMNAME},{#LUNNAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The amount of space consumed by the main data stream of the LUN.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.svm.name==''{#SVMNAME}''&&@.name==''{#LUNNAME}'')].space.used.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.luns.get
              tags:
                -
                  tag: component
                  value: lun
                -
                  tag: lun
                  value: '{#LUNNAME}'
                -
                  tag: svm
                  value: '{#SVMNAME}'
            -
              uuid: 701fdb0345874ea39afc3362faa2f5a4
              name: '{#LUNNAME}: Container state'
              type: DEPENDENT
              key: 'netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The state of the volume and aggregate that contain the LUN: online, aggregate_offline, volume_offline. LUNs are only available when their containers are available.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.svm.name==''{#SVMNAME}''&&@.name==''{#LUNNAME}'')].status.container_state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.luns.get
              tags:
                -
                  tag: component
                  value: lun
                -
                  tag: lun
                  value: '{#LUNNAME}'
                -
                  tag: svm
                  value: '{#SVMNAME}'
              trigger_prototypes:
                -
                  uuid: 7a4e0a681edd4db6b701b131fea0e5e4
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}])<>"online")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.lun.status.container_state[{#SVMNAME},{#LUNNAME}])="online")'
                  name: '{#LUNNAME}: LUN of the SVM "{#SVMNAME}" has abnormal container state'
                  priority: AVERAGE
                  description: 'LUNs are only available when their containers are available.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: performance
            -
              uuid: ae15b98b9de2472e8c56ddb2a13d7981
              name: '{#LUNNAME}: State'
              type: DEPENDENT
              key: 'netapp.lun.status.state[{#SVMNAME},{#LUNNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The state of the LUN. Normal states for a LUN are online and offline. Other states indicate errors. Possible values: foreign_lun_error, nvfail, offline, online, space_error.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.svm.name==''{#SVMNAME}''&&@.name==''{#LUNNAME}'')].status.state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.luns.get
              tags:
                -
                  tag: component
                  value: lun
                -
                  tag: lun
                  value: '{#LUNNAME}'
                -
                  tag: svm
                  value: '{#SVMNAME}'
              trigger_prototypes:
                -
                  uuid: 5b065dd69e654bee881ae60464a5c9fe
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.lun.status.state[{#SVMNAME},{#LUNNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.lun.status.state[{#SVMNAME},{#LUNNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.lun.status.state[{#SVMNAME},{#LUNNAME}])<>"online")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.lun.status.state[{#SVMNAME},{#LUNNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.lun.status.state[{#SVMNAME},{#LUNNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.lun.status.state[{#SVMNAME},{#LUNNAME}])="online")'
                  name: '{#LUNNAME}: LUN of the SVM "{#SVMNAME}" has abnormal state'
                  priority: AVERAGE
                  description: 'Normal states for a LUN are online and offline. Other states indicate errors.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: performance
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/storage/luns?fields=name,svm.name,space.size,space.used,status.state,status.container_state'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (lun) {
                      result.push({"{#LUNNAME}": lun.name, "{#SVMNAME}": lun.svm.name});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: b914c4c37ba446eba7ecdc73a9692885
          name: 'Nodes discovery'
          type: HTTP_AGENT
          key: netapp.nodes.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: 23474d549a4c4e80b2e89c12a909dc0c
              name: '{#NODENAME}: Software version'
              type: DEPENDENT
              key: 'netapp.node.version[{#NODENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'This returns the cluster version information. When the cluster has more than one node, the cluster version is equivalent to the lowest of generation, major, and minor versions on all nodes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#NODENAME}'')].version.full.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.nodes.get
              tags:
                -
                  tag: component
                  value: node
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: 34092a7ade784221ae50eb74a6fbcb5d
                  expression: 'last(/NetApp AFF A700 by HTTP/netapp.node.version[{#NODENAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.node.version[{#NODENAME}],#2) and length(last(/NetApp AFF A700 by HTTP/netapp.node.version[{#NODENAME}]))>0'
                  name: '{#NODENAME}: Version has changed'
                  event_name: '{#NODENAME}: Version has changed (new version: {ITEM.VALUE})'
                  priority: INFO
                  description: '{#NODENAME} version has changed. Ack to close.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: notice
            -
              uuid: 416e2a3d707d4a5389c90566b588bf7f
              name: '{#NODENAME}: Controller over temperature'
              type: DEPENDENT
              key: 'netapp.nodes.controller.over_temperature[{#NODENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Specifies whether the hardware is currently operating outside of its recommended temperature range. The hardware shuts down if the temperature exceeds critical thresholds. Possible values: over, normal'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#NODENAME}'')].controller.over_temperature.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.nodes.get
              tags:
                -
                  tag: component
                  value: node
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: 4dbb3a9da15f45989b8fa4217f3f25c3
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.nodes.controller.over_temperature[{#NODENAME}])<>"normal")'
                  name: '{#NODENAME}: Node has over temperature'
                  priority: AVERAGE
                  description: 'The hardware shuts down if the temperature exceeds critical thresholds(item''s value is "over").'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: performance
            -
              uuid: f554158202d347388304751c8bdf7515
              name: '{#NODENAME}: Location'
              type: DEPENDENT
              key: 'netapp.nodes.location[{#NODENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The location of the node.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#NODENAME}'')].location.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.nodes.get
              tags:
                -
                  tag: component
                  value: node
                -
                  tag: node
                  value: '{#NODENAME}'
            -
              uuid: be634e1ba1ea454fbc6c7c8224909187
              name: '{#NODENAME}: Membership'
              type: DEPENDENT
              key: 'netapp.nodes.membership[{#NODENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Possible values:
                  available - If a node is available, this means it is detected on the internal cluster network and can be added to the cluster. Nodes that have a membership of “available” are not returned when a GET request is called when the cluster exists. A query on the “membership” property for available must be provided to scan for nodes on the cluster network. Nodes that have a membership of “available” are returned automatically before a cluster is created.
                  joining - Joining nodes are in the process of being added to the cluster. The node may be progressing through the steps to become a member or might have failed. The job to add the node or create the cluster provides details on the current progress of the node.
                  member - Nodes that are members have successfully joined the cluster.
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#NODENAME}'')].membership.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.nodes.get
              tags:
                -
                  tag: component
                  value: node
                -
                  tag: node
                  value: '{#NODENAME}'
            -
              uuid: 5b3b6fab8fe54f3585c1a270caad2b3e
              name: '{#NODENAME}: State'
              type: DEPENDENT
              key: 'netapp.nodes.state[{#NODENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                State of the node:
                up - Node is up and operational.
                booting - Node is booting up.
                down - Node has stopped or is dumping core.
                taken_over - Node has been taken over by its HA partner and is not yet waiting for giveback.
                waiting_for_giveback - Node has been taken over by its HA partner and is waiting for the HA partner to giveback disks.
                degraded - Node has one or more critical services offline.
                unknown - Node or its HA partner cannot be contacted and there is no information on the node's state.
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#NODENAME}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.nodes.get
              tags:
                -
                  tag: component
                  value: node
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: db8ff0f2cd294cc5952992a0d476e798
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.nodes.state[{#NODENAME}])<>"up")'
                  name: '{#NODENAME}: Node state is abnormal'
                  priority: AVERAGE
                  description: |
                    The state of the node is different from up:
                    booting - Node is booting up.
                    down - Node has stopped or is dumping core.
                    taken_over - Node has been taken over by its HA partner and is not yet waiting for giveback.
                    waiting_for_giveback - Node has been taken over by its HA partner and is waiting for the HA partner to giveback disks.
                    degraded - Node has one or more critical services offline.
                    unknown - Node or its HA partner cannot be contacted and there is no information on the node's state.
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: performance
            -
              uuid: 56e0b6df4dbd456880c2481bec40b41e
              name: '{#NODENAME}: Uptime'
              type: DEPENDENT
              key: 'netapp.nodes.uptime[{#NODENAME}]'
              delay: '0'
              history: 7d
              units: s
              description: 'The total time, in seconds, that the node has been up.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#NODENAME}'')].uptime.first()'
              master_item:
                key: netapp.nodes.get
              tags:
                -
                  tag: component
                  value: node
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: 61357dfdb08846c4935f62ba894b159a
                  expression: 'last(/NetApp AFF A700 by HTTP/netapp.nodes.uptime[{#NODENAME}])<10m'
                  name: '{#NODENAME}: Node has been restarted'
                  event_name: '{#NODENAME}: Node has been restarted (uptime < 10m)'
                  priority: INFO
                  description: 'Uptime is less than 10 minutes.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: notice
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/cluster/nodes?fields=name'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (node) {
                      result.push({"{#NODENAME}": node.name});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: 98ed5727ede8490b8479a2194b2c847a
          name: 'Ethernet ports discovery'
          type: HTTP_AGENT
          key: netapp.ports.ether.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: dda2086a96f844c7b5a8002549fe6bf5
              name: '{#ETHPORTNAME}: State'
              type: DEPENDENT
              key: 'netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The operational state of the port. Possible values: up, down.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#ETHPORTNAME}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.ports.eth.get
              tags:
                -
                  tag: component
                  value: interfaces
                -
                  tag: interfaces
                  value: '{#ETHPORTNAME}'
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: 0fa3a54b559349d58b616720ee33cdf5
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}])="down")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.eth.state[{#NODENAME},{#ETHPORTNAME}])="up")'
                  name: '{#ETHPORTNAME}: Ethernet port of the Node "{#NODENAME}" is down'
                  priority: AVERAGE
                  description: 'Something is wrong with the ethernet port.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: availability
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/network/ethernet/ports?fields=name,state,node.name'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (port) {
                      result.push({"{#NODENAME}": port.node.name, "{#ETHPORTNAME}": port.name, "{#ETHPORTSTATE}": port.state});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: bab3f935c2a04c89b0901f1c19d50558
          name: 'FC ports discovery'
          type: HTTP_AGENT
          key: netapp.ports.fc.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: b4358be015104524811f011ddf0fb1a1
              name: '{#FCPORTNAME}: Description'
              type: DEPENDENT
              key: 'netapp.port.fc.description[{#NODENAME},{#FCPORTNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'A description of the FC port.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#FCPORTNAME}'')].description.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.ports.fc.get
              tags:
                -
                  tag: component
                  value: fc-port
                -
                  tag: fc-port
                  value: '{#FCPORTNAME}'
                -
                  tag: node
                  value: '{#NODENAME}'
            -
              uuid: e939576d865041dd8f4af24bb7811117
              name: '{#FCPORTNAME}: State'
              type: DEPENDENT
              key: 'netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                The operational state of the FC port. Possible values:
                startup - The port is booting up.
                link_not_connected - The port has finished initialization, but a link with the fabric is not established.
                online - The port is initialized and a link with the fabric has been established.
                link_disconnected - The link was present at one point on this port but is currently not established.
                offlined_by_user - The port is administratively disabled.
                offlined_by_system - The port is set to offline by the system. This happens when the port encounters too many errors.
                node_offline - The state information for the port cannot be retrieved. The node is offline or inaccessible.
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#FCPORTNAME}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.ports.fc.get
              tags:
                -
                  tag: component
                  value: fc-port
                -
                  tag: fc-port
                  value: '{#FCPORTNAME}'
                -
                  tag: node
                  value: '{#NODENAME}'
              trigger_prototypes:
                -
                  uuid: a985c047b9834081bf21ae50836cef46
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}])<>"online")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.port.fc.state[{#NODENAME},{#FCPORTNAME}])="online")'
                  name: '{#FCPORTNAME}: FC port of the Node "{#NODENAME}" has state different from "online"'
                  priority: AVERAGE
                  description: 'Something is wrong with the FC port.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: performance
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/network/fc/ports?fields=node.name,name,state'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (port) {
                      result.push({"{#NODENAME}": port.node.name, "{#FCPORTNAME}": port.name, "{#FCPORTSTATE}": port.state});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: b2a5b50d7e3e4592ad9627ae85487554
          name: 'SVMs discovery'
          type: HTTP_AGENT
          key: netapp.svms.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: e7fab9c64c5348158418a02b1139eb68
              name: '{#SVMNAME}: Comment'
              type: DEPENDENT
              key: 'netapp.svm.comment[{#SVMNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The comment for the SVM.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#SVMNAME}'')].comment.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.svms.get
              tags:
                -
                  tag: component
                  value: svm
                -
                  tag: svm
                  value: '{#SVMNAME}'
            -
              uuid: 6534f78b5b6c4e61b8ee0ab05bcc6fa3
              name: '{#SVMNAME}: State'
              type: DEPENDENT
              key: 'netapp.svm.state[{#SVMNAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'SVM state: starting, running, stopping, stopped, deleting.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#SVMNAME}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.svms.get
              tags:
                -
                  tag: component
                  value: svm
                -
                  tag: svm
                  value: '{#SVMNAME}'
              trigger_prototypes:
                -
                  uuid: 7c5695fd13a4489ca1c9772f1d3376a7
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.svm.state[{#SVMNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.svm.state[{#SVMNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.svm.state[{#SVMNAME}])<>"running")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.svm.state[{#SVMNAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.svm.state[{#SVMNAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.svm.state[{#SVMNAME}])="running")'
                  name: '{#SVMNAME}: SVM state is abnormal'
                  priority: AVERAGE
                  description: 'Something is wrong with the SVM.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: availability
                    -
                      tag: scope
                      value: performance
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/svm/svms?fields=name'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (svm) {
                      result.push({"{#SVMNAME}": svm.name});
                  });
                  
                  return JSON.stringify(result);
        -
          uuid: 3d2001596c2642e7a6ee09d3ac7effb3
          name: 'Volumes discovery'
          type: HTTP_AGENT
          key: netapp.volumes.discovery
          delay: 1h
          authtype: BASIC
          username: '{$USERNAME}'
          password: '{$PASSWORD}'
          item_prototypes:
            -
              uuid: 7218a035d00b47faae1d47955de4f61f
              name: '{#VOLUMENAME}: Comment'
              type: DEPENDENT
              key: 'netapp.volume.comment[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'A comment for the volume.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].comment.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 63c67432c4dd48f3a9b2736b1d8eda60
              name: '{#VOLUMENAME}: Available size'
              type: DEPENDENT
              key: 'netapp.volume.space_available[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The available space, in bytes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].space.available.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: b17602cccbb84012b6cb8edd8bd80374
              name: '{#VOLUMENAME}: Space size'
              type: DEPENDENT
              key: 'netapp.volume.space_size[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'Total provisioned size. The default size is equal to the minimum size of 20MB, in bytes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].space.size.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 0166239c8d4a4e42ba2f9b3b530143a8
              name: '{#VOLUMENAME}: Used size'
              type: DEPENDENT
              key: 'netapp.volume.space_used[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: B
              description: 'The virtual space used (includes volume reserves) before storage efficiency, in bytes.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].space.used.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: fa2ae9b23fce43a49efa9c66369cce27
              name: '{#VOLUMENAME}: State'
              type: DEPENDENT
              key: 'netapp.volume.state[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'Volume state. A volume can only be brought online if it is offline. Taking a volume offline removes its junction path. The ''mixed'' state applies to FlexGroup volumes only and cannot be specified as a target state. An ''error'' state implies that the volume is not in a state to serve data.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].state.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
              trigger_prototypes:
                -
                  uuid: b00f339ed1a9450ba096cabababcf76e
                  expression: '(last(/NetApp AFF A700 by HTTP/netapp.volume.state[{#VOLUMENAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.volume.state[{#VOLUMENAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.volume.state[{#VOLUMENAME}])<>"online")'
                  recovery_mode: RECOVERY_EXPRESSION
                  recovery_expression: '(last(/NetApp AFF A700 by HTTP/netapp.volume.state[{#VOLUMENAME}],#1)<>last(/NetApp AFF A700 by HTTP/netapp.volume.state[{#VOLUMENAME}],#2) and last(/NetApp AFF A700 by HTTP/netapp.volume.state[{#VOLUMENAME}])="online")'
                  name: '{#VOLUMENAME}: Volume state is abnormal'
                  priority: AVERAGE
                  description: 'A volume can only be brought online if it is offline. Taking a volume offline removes its junction path. The ''mixed'' state applies to FlexGroup volumes only and cannot be specified as a target state. An ''error'' state implies that the volume is not in a state to serve data.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: performance
            -
              uuid: cb4cfb0ce84f405ebfbf2e4a64c12ca2
              name: '{#VOLUMENAME}: Volume IOPS, other rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops.other.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.other.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: ae3142dae1294a16a4cdd0ef153f7cfb
              name: '{#VOLUMENAME}: Volume IOPS, read rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops.read.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric for read I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.read.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: b767b6185c744ddc8061bef36d16581d
              name: '{#VOLUMENAME}: Volume IOPS, total rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops.total.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric aggregated over all types of I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.total.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: ffe8787aeaa2414e82a925ab0dbfb9aa
              name: '{#VOLUMENAME}: Volume IOPS, write rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops.write.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric for write I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.write.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 64a56ed125f249308d0f525aa0a3e56d
              name: '{#VOLUMENAME}: Volume IOPS raw, other'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops_raw.other[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.other.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 01ee6910b06e42e294e2c80229cc960e
              name: '{#VOLUMENAME}: Volume IOPS raw, read'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops_raw.read[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric for read I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.read.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 5964ea1edbb74fa4a7c04a79ef776ff3
              name: '{#VOLUMENAME}: Volume IOPS raw, total'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops_raw.total[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric aggregated over all types of I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.total.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 77329ceefeef490e98f7d23689765c87
              name: '{#VOLUMENAME}: Volume IOPS raw, write'
              type: DEPENDENT
              key: 'netapp.volume.statistics.iops_raw.write[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!iops'
              description: 'The number of I/O operations observed at the storage object. Performance metric for write I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.iops_raw.write.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: iops
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: fc21c2c1ff87454ea9fc59af4d0d4693
              name: '{#VOLUMENAME}: Volume latency, other'
              type: CALCULATED
              key: 'netapp.volume.statistics.latency.other[{#VOLUMENAME}]'
              history: 7d
              value_type: FLOAT
              units: '!ms'
              params: |
                (last(//netapp.volume.statistics.latency_raw.other[{#VOLUMENAME}]) - last(//netapp.volume.statistics.latency_raw.other[{#VOLUMENAME}],#2)) /
                ( last(//netapp.volume.statistics.iops_raw.other[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.other[{#VOLUMENAME}],#2) +
                (last(//netapp.volume.statistics.iops_raw.other[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.other[{#VOLUMENAME}],#2) = 0) ) * 0.001
              description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 3e80e6c55bd0497f87d4f4e71f11f0aa
              name: '{#VOLUMENAME}: Volume latency, read'
              type: CALCULATED
              key: 'netapp.volume.statistics.latency.read[{#VOLUMENAME}]'
              history: 7d
              value_type: FLOAT
              units: '!ms'
              params: |
                (last(//netapp.volume.statistics.latency_raw.read[{#VOLUMENAME}]) - last(//netapp.volume.statistics.latency_raw.read[{#VOLUMENAME}],#2)) /
                ( last(//netapp.volume.statistics.iops_raw.read[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.read[{#VOLUMENAME}],#2) +
                (last(//netapp.volume.statistics.iops_raw.read[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.read[{#VOLUMENAME}],#2) = 0)) * 0.001
              description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric for read I/O operations.'
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: ff804a090b064bfeb60183d7d7d2abe1
              name: '{#VOLUMENAME}: Volume latency, total'
              type: CALCULATED
              key: 'netapp.volume.statistics.latency.total[{#VOLUMENAME}]'
              history: 7d
              value_type: FLOAT
              units: '!ms'
              params: |
                (last(//netapp.volume.statistics.latency_raw.total[{#VOLUMENAME}]) - last(//netapp.volume.statistics.latency_raw.total[{#VOLUMENAME}],#2)) /
                ( last(//netapp.volume.statistics.iops_raw.total[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.total[{#VOLUMENAME}],#2) +
                (last(//netapp.volume.statistics.iops_raw.total[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.total[{#VOLUMENAME}],#2) = 0) ) * 0.001
              description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric aggregated over all types of I/O operations.'
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: eb2b3a3c4807415a8a88d11b19ae7fe6
              name: '{#VOLUMENAME}: Volume latency, write'
              type: CALCULATED
              key: 'netapp.volume.statistics.latency.write[{#VOLUMENAME}]'
              history: 7d
              value_type: FLOAT
              units: '!ms'
              params: |
                (last(//netapp.volume.statistics.latency_raw.write[{#VOLUMENAME}]) - last(//netapp.volume.statistics.latency_raw.write[{#VOLUMENAME}],#2)) /
                ( last(//netapp.volume.statistics.iops_raw.write[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.write[{#VOLUMENAME}],#2) +
                (last(//netapp.volume.statistics.iops_raw.write[{#VOLUMENAME}]) - last(//netapp.volume.statistics.iops_raw.write[{#VOLUMENAME}],#2) = 0) ) * 0.001
              description: 'The average latency per I/O operation in milliseconds observed at the storage object. Performance metric for write I/O operations.'
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 4fdf1c23cad2453aa00710289fde1460
              name: '{#VOLUMENAME}: Volume latency raw, other'
              type: DEPENDENT
              key: 'netapp.volume.statistics.latency_raw.other[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!mcs'
              description: 'The raw latency in microseconds observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.latency_raw.other.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 0923b8b2933e4b309a4b751eea06353a
              name: '{#VOLUMENAME}: Volume latency raw, read'
              type: DEPENDENT
              key: 'netapp.volume.statistics.latency_raw.read[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!mcs'
              description: 'The raw latency in microseconds observed at the storage object. Performance metric for read I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.latency_raw.read.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 48479110a92b4b3094e72882ec9d4812
              name: '{#VOLUMENAME}: Volume latency raw, total'
              type: DEPENDENT
              key: 'netapp.volume.statistics.latency_raw.total[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!mcs'
              description: 'The raw latency in microseconds observed at the storage object. Performance metric aggregated over all types of I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.latency_raw.total.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: a6c653c4a6164de9971b22e7a28c40d9
              name: '{#VOLUMENAME}: Volume latency raw, write'
              type: DEPENDENT
              key: 'netapp.volume.statistics.latency_raw.write[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              units: '!mcs'
              description: 'The raw latency in microseconds observed at the storage object. Performance metric for write I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.latency_raw.write.first()'
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: latency
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: f23b393e033a4285b7f5b8742b0be669
              name: '{#VOLUMENAME}: Volume throughput, other rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.throughput.other.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: Bps
              description: 'Throughput bytes observed at the storage object. Performance metric for other I/O operations. Other I/O operations can be metadata operations, such as directory lookups and so on.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.throughput_raw.other.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: throughput
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: fcbef2bcc3004ba6b1f122f00419fc2c
              name: '{#VOLUMENAME}: Volume throughput, read rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.throughput.read.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: Bps
              description: 'Throughput bytes observed at the storage object. Performance metric for read I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.throughput_raw.read.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: throughput
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 9218d4e861244353bc779fc2dfd561b9
              name: '{#VOLUMENAME}: Volume throughput, total rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.throughput.total.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: Bps
              description: 'Throughput bytes observed at the storage object. Performance metric aggregated over all types of I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.throughput_raw.total.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: throughput
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 9d1cf308b4de4b88a632eee0b5a90267
              name: '{#VOLUMENAME}: Volume throughput, write rate'
              type: DEPENDENT
              key: 'netapp.volume.statistics.throughput.write.rate[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              value_type: FLOAT
              units: Bps
              description: 'Throughput bytes observed at the storage object. Performance metric for write I/O operations.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].statistics.throughput_raw.write.first()'
                -
                  type: CHANGE_PER_SECOND
                  parameters:
                    - ''
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: throughput
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 1b48c3ecd33f4acd88b57f5c76c2892c
              name: '{#VOLUMENAME}: SVM name'
              type: DEPENDENT
              key: 'netapp.volume.svm_name[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: 'The volume belongs this SVM.'
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].svm.name.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
            -
              uuid: 540405e59a93446cbbe71b05206a50be
              name: '{#VOLUMENAME}: Type'
              type: DEPENDENT
              key: 'netapp.volume.type[{#VOLUMENAME}]'
              delay: '0'
              history: 7d
              trends: '0'
              value_type: CHAR
              description: |
                Type of the volume.
                rw - read-write volume.
                dp - data-protection volume.
                ls - load-sharing dp volume.
              preprocessing:
                -
                  type: JSONPATH
                  parameters:
                    - '$.records[?(@.name==''{#VOLUMENAME}'')].type.first()'
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 6h
              master_item:
                key: netapp.volumes.get
              tags:
                -
                  tag: component
                  value: volume
                -
                  tag: volume
                  value: '{#VOLUMENAME}'
          graph_prototypes:
            -
              uuid: 5f9bc8697c9c4e22ab55781366fbb9c4
              name: '{#VOLUMENAME}: Volume latency'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'NetApp AFF A700 by HTTP'
                    key: 'netapp.volume.statistics.latency.other[{#VOLUMENAME}]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'NetApp AFF A700 by HTTP'
                    key: 'netapp.volume.statistics.latency.read[{#VOLUMENAME}]'
                -
                  sortorder: '2'
                  color: F63100
                  item:
                    host: 'NetApp AFF A700 by HTTP'
                    key: 'netapp.volume.statistics.latency.write[{#VOLUMENAME}]'
                -
                  sortorder: '3'
                  color: A54F10
                  item:
                    host: 'NetApp AFF A700 by HTTP'
                    key: 'netapp.volume.statistics.latency.total[{#VOLUMENAME}]'
            -
              uuid: 2d38bfca52f14cd1a16eafef531c2a05
              name: '{#VOLUMENAME}: Volume size'
              graph_items:
                -
                  color: 1A7C11
                  item:
                    host: 'NetApp AFF A700 by HTTP'
                    key: 'netapp.volume.space_used[{#VOLUMENAME}]'
                -
                  sortorder: '1'
                  color: 2774A4
                  item:
                    host: 'NetApp AFF A700 by HTTP'
                    key: 'netapp.volume.space_available[{#VOLUMENAME}]'
          timeout: '{$HTTP.AGENT.TIMEOUT}'
          url: '{$URL}/api/storage/volumes?fields=name'
          preprocessing:
            -
              type: JAVASCRIPT
              parameters:
                - |
                  var result = [];
                  
                  JSON.parse(value).records.forEach(function (volume) {
                      result.push({"{#VOLUMENAME}": volume.name});
                  });
                  
                  return JSON.stringify(result);
      tags:
        -
          tag: class
          value: network
        -
          tag: target
          value: netapp
        -
          tag: target
          value: netapp-aff-a700
      macros:
        -
          macro: '{$HTTP.AGENT.TIMEOUT}'
          value: 3s
          description: 'The HTTP agent timeout to wait for a response from AFF700.'
        -
          macro: '{$PASSWORD}'
          description: 'AFF700 user password.'
        -
          macro: '{$URL}'
          description: 'AFF700 cluster URL address.'
        -
          macro: '{$USERNAME}'
          description: 'AFF700 user name.'
  graphs:
    -
      uuid: 840b4c30198c48e1b161d1b2deee26c8
      name: 'Cluster IOPS'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.iops.other.rate
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.iops.read.rate
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.iops.write.rate
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.iops.total.rate
    -
      uuid: 34c781f1f9e944ca8010118483470ad9
      name: 'Cluster latency'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.latency.other
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.latency.read
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.latency.write
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.latency.total
    -
      uuid: 8754fe099580424b84a4b51031a09fa1
      name: 'Cluster throughput'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.throughput.other.rate
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.throughput.read.rate
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.throughput.write.rate
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'NetApp AFF A700 by HTTP'
            key: netapp.cluster.statistics.throughput.total.rate