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

template_app_iis_agent_active.yaml « iis_agent_active « app « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c7f5163fbc8b51316f7020c06c30e8cbd6f0568c (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
zabbix_export:
  version: '6.0'
  date: '2022-06-14T13:45:22Z'
  groups:
    -
      uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
      name: Templates/Applications
  templates:
    -
      uuid: 4677be3e07bf4f3285496f2f4230b928
      template: 'IIS by Zabbix agent active'
      name: 'IIS by Zabbix agent active'
      description: |
        Get metrics from IIS using Zabbix agent running on Windows.
        
        
        You can discuss this template or leave feedback on our forum https://www.zabbix.com/forum/zabbix-suggestions-and-feedback/401862-discussion-thread-for-official-zabbix-template-internet-information-services
        
        Template tooling version used: 0.41
      groups:
        -
          name: Templates/Applications
      items:
        -
          uuid: 8fa6b28b8226408db07a2317a99581a5
          name: 'IIS: {$IIS.PORT} port ping'
          type: SIMPLE
          key: 'net.tcp.service[{$IIS.SERVICE},,{$IIS.PORT}]'
          history: 7d
          valuemap:
            name: 'Service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: health
            -
              tag: component
              value: network
          triggers:
            -
              uuid: 2b73bb4c09404d748e019ef2257a9e20
              expression: 'last(/IIS by Zabbix agent active/net.tcp.service[{$IIS.SERVICE},,{$IIS.PORT}])=0'
              name: 'IIS: Port {$IIS.PORT} is down'
              priority: AVERAGE
              manual_close: 'YES'
              dependencies:
                -
                  name: 'IIS: The World Wide Web Publishing Service (W3SVC) is not running'
                  expression: 'last(/IIS by Zabbix agent active/service.info[W3SVC])<>0'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: e70f872ed9184757b8a62c732658faa5
          name: 'IIS: Anonymous users per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Anonymous Users/sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The number of requests from users over an anonymous connection per second. Average per minute.'
          tags:
            -
              tag: component
              value: users
        -
          uuid: 64816de795864c8fae879e670dfe9e93
          name: 'IIS: Bytes Received per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Bytes Received/sec", 60]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The average rate per minute at which data bytes are received by the service at the Application Layer. Does not include protocol headers or control bytes.'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 1b0b636e0bbd4948b3047071a4b964fc
          name: 'IIS: Bytes Sent per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Bytes Sent/sec", 60]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The average rate per minute at which data bytes are sent by the service.'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 5abf01f6e7a7419d9a1de9803ccf1060
          name: 'IIS: Bytes Total per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Bytes Total/Sec", 60]'
          history: 7d
          value_type: FLOAT
          units: Bps
          description: 'The average rate per minute of total bytes/sec transferred by the Web service (sum of bytes sent/sec and bytes received/sec).'
          tags:
            -
              tag: component
              value: network
        -
          uuid: 37b23949ca94466eb552c6fd8239b650
          name: 'IIS: Method CGI requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\CGI Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of CGI requests that are simultaneously being processed by the Web service. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: d32eb1398fa7454eb91329aa39d1e90e
          name: 'IIS: Connection attempts per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Connection Attempts/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The average rate per minute that connections using the Web service are being attempted. The count is the average for all Web sites combined.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 182bceaa31194bdd8c906cf226039b0b
          name: 'IIS: Method COPY requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Copy Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests made using the COPY method. Copy requests are used for copying files and directories. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 8b316e2896f041dca9b4adc601093b5c
          name: 'IIS: Current connections'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Current Connections"]'
          history: 7d
          value_type: FLOAT
          description: 'The number of active connections.'
          tags:
            -
              tag: component
              value: connections
        -
          uuid: 7da6cf8a65b94b6f8d89dc53c7de38eb
          name: 'IIS: Method DELETE requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Delete Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the DELETE method made. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 5381bfc071524f32bb5290379d2e978d
          name: 'IIS: Method GET requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Get Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests made using the GET method. GET requests are generally used for basic file retrievals or image maps, though they can be used with forms. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 414b17c9eb11460cb55d35aeb7b8c071
          name: 'IIS: Method HEAD requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Head Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the HEAD method made. HEAD requests generally indicate a client is querying the state of a document they already have to see if it needs to be refreshed. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: d5b38b5472214d629e832d2709c64b3c
          name: 'IIS: Method ISAPI requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\ISAPI Extension Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of ISAPI Extension requests that are simultaneously being processed by the Web service. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 74fed9efa0ae4301aab2f73d76fd8357
          name: 'IIS: Locked errors per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Locked Errors/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of errors due to requests that couldn''t be satisfied by the server because the requested document was locked. These are generally reported as an HTTP 423 error code to the client. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: errors
        -
          uuid: cdf63d485cd1419385caabc050eb533c
          name: 'IIS: Method LOCK requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Lock Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests made using the LOCK method. Lock requests are used to lock a file for one user so that only that user can modify the file. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: edbe50383897434cb33378b973628061
          name: 'IIS: Method MKCOL requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Mkcol Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the MKCOL method made. Mkcol requests are used to create directories on the server. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 51a74530b894484a9ba101eb1176a982
          name: 'IIS: Method MOVE requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Move Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the MOVE method made. Move requests are used for moving files and directories. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 6dfe3dbde2544c5080c3845d54c83219
          name: 'IIS: NonAnonymous users per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\NonAnonymous Users/sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The number of requests from users over a non-anonymous connection per second. Average per minute.'
          tags:
            -
              tag: component
              value: users
        -
          uuid: 13e65fdff0704e6f87133b8efe34704f
          name: 'IIS: Not Found errors per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Not Found Errors/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of errors due to requests that couldn''t be satisfied by the server because the requested document could not be found. These are generally reported to the client with HTTP error code 404. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: errors
        -
          uuid: dcb0338dc59d4c95b9f712fed84a3aa2
          name: 'IIS: Method OPTIONS requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Options Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the OPTIONS method made. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: eb6a098fef824b2e9abe80b4331190f4
          name: 'IIS: Method Total Other requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Other Request Methods/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'Total Other Request Methods is the number of HTTP requests that are not OPTIONS, GET, HEAD, POST, PUT, DELETE, TRACE, MOVE, COPY, MKCOL, PROPFIND, PROPPATCH, SEARCH, LOCK or UNLOCK methods (since service startup). Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 222bb49332214781bc48a0eb610035c2
          name: 'IIS: Method POST requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Post Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'Rate of HTTP requests using POST method. Generally used for forms or gateway requests. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 011fff85fb0440b78ca7857454577c08
          name: 'IIS: Method PROPFIND requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Propfind Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the PROPFIND method made. Propfind requests retrieve property values on files and directories. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 3b8a1eea86034a268ac37031c08d3740
          name: 'IIS: Method PROPPATCH requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Proppatch Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the PROPPATCH method made. Proppatch requests set property values on files and directories. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: c4615d7155d14f98b76705df1a5778e4
          name: 'IIS: Method PUT requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Put Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the PUT method made. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: a1cfef3952c346ccb39e85038e49ae63
          name: 'IIS: Method MS-SEARCH requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Search Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the MS-SEARCH method made. Search requests are used to query the server to find resources that match a set of conditions provided by the client. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: d53040c921324b2195045dacb3738d6f
          name: 'IIS: Uptime'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Service Uptime"]'
          history: 7d
          value_type: FLOAT
          units: s
          description: 'Service uptime in seconds.'
          tags:
            -
              tag: component
              value: application
          triggers:
            -
              uuid: f68768567f334d369d52797309f95c41
              expression: 'last(/IIS by Zabbix agent active/perf_counter_en["\Web Service(_Total)\Service Uptime"])<10m'
              name: 'IIS: has been restarted'
              event_name: 'IIS: has been restarted (uptime < 10m)'
              priority: INFO
              description: 'Uptime is less than 10 minutes.'
              manual_close: 'YES'
              tags:
                -
                  tag: scope
                  value: notice
        -
          uuid: f181123b522946018d9ac90599693cfe
          name: 'IIS: Total connection attempts'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Total Connection Attempts (all instances)"]'
          history: 7d
          value_type: FLOAT
          description: 'The total number of connections to the Web or FTP service that have been attempted since service startup. The count is the total for all Web sites or FTP sites combined.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: connections
        -
          uuid: ff70ce9edf1c45ba8263d33847992baf
          name: 'IIS: Method Total requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Total Method Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of all HTTP requests received. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: fff9e968d5474adfbfd4ae9e19d836d9
          name: 'IIS: Method TRACE requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Trace Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the TRACE method made. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 0b6b770a6b014b8c857277e1d9cf6ffe
          name: 'IIS: Method TRACE requests per second'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service(_Total)\Unlock Requests/Sec", 60]'
          history: 7d
          value_type: FLOAT
          description: 'The rate of HTTP requests using the UNLOCK method made. Unlock requests are used to remove locks from files. Average per minute.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: requests
        -
          uuid: 5ef9aec68d5b4fe79b17453ab8988b59
          name: 'IIS: Files cache hits percentage'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service Cache\File Cache Hits %"]'
          history: 7d
          value_type: FLOAT
          description: 'The ratio of user-mode file cache hits to total cache requests (since service startup). Note: This value might be low if the Kernel URI cache hits percentage is high.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: cache
        -
          uuid: a041713a95e746f5b4797a7aecaed9a5
          name: 'IIS: File cache misses'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service Cache\File Cache Misses"]'
          history: 7d
          value_type: FLOAT
          description: 'The total number of unsuccessful lookups in the user-mode file cache since service startup.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: cache
        -
          uuid: 5488881cba254b6b8f49ebacae2bc4c4
          name: 'IIS: URIs cache hits percentage'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service Cache\URI Cache Hits %"]'
          history: 7d
          value_type: FLOAT
          description: 'The ratio of user-mode URI Cache Hits to total cache requests (since service startup)'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: cache
        -
          uuid: ffd18aef119f4c7c845c6a3e76fb747d
          name: 'IIS: URI cache misses'
          type: ZABBIX_ACTIVE
          key: 'perf_counter_en["\Web Service Cache\URI Cache Misses"]'
          history: 7d
          value_type: FLOAT
          description: 'The total number of unsuccessful lookups in the user-mode URI cache since service startup.'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: cache
        -
          uuid: 31d4f21ce4c6412b912ca65fe9aee83c
          name: 'IIS: World Wide Web Publishing Service (W3SVC) state'
          type: ZABBIX_ACTIVE
          key: 'service.info[W3SVC]'
          history: 7d
          description: 'The World Wide Web Publishing Service (W3SVC) provides web connectivity and administration of websites through the IIS snap-in. If the World Wide Web Publishing Service stops, the operating system cannot serve any form of web request. This service was dependent on "Windows Process Activation Service".'
          valuemap:
            name: 'Windows service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: application
            -
              tag: component
              value: health
          triggers:
            -
              uuid: ca139b8b27c44f7fb22938fd3419cff5
              expression: 'last(/IIS by Zabbix agent active/service.info[W3SVC])<>0'
              name: 'IIS: The World Wide Web Publishing Service (W3SVC) is not running'
              priority: HIGH
              description: 'The World Wide Web Publishing Service (W3SVC) is not in the running state. IIS cannot start.'
              dependencies:
                -
                  name: 'IIS: Windows process Activation Service (WAS) is not running'
                  expression: 'last(/IIS by Zabbix agent active/service.info[WAS])<>0'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 7f016ce3ab3941b78741dfb72c6d7693
          name: 'IIS: Windows Process Activation Service (WAS) state'
          type: ZABBIX_ACTIVE
          key: 'service.info[WAS]'
          history: 7d
          description: 'Windows Process Activation Service (WAS) is a tool for managing worker processes that contain applications that host Windows Communication Foundation (WCF) services. Worker processes handle requests that are sent to a Web Server for specific application pools. Each application pool sets boundaries for the applications it contains.'
          valuemap:
            name: 'Windows service state'
          preprocessing:
            -
              type: DISCARD_UNCHANGED_HEARTBEAT
              parameters:
                - 10m
          tags:
            -
              tag: component
              value: application
            -
              tag: component
              value: health
          triggers:
            -
              uuid: d7a16291f196424ca9c39af4271ab78f
              expression: 'last(/IIS by Zabbix agent active/service.info[WAS])<>0'
              name: 'IIS: Windows process Activation Service (WAS) is not running'
              priority: HIGH
              description: 'Windows Process Activation Service (WAS) is not in the running state. IIS cannot start.'
              tags:
                -
                  tag: scope
                  value: availability
      discovery_rules:
        -
          uuid: 1dfb7339b81b4237a4e90b29328de297
          name: 'Application pools discovery'
          type: ZABBIX_ACTIVE
          key: 'wmi.getall[root\webAdministration, select Name from ApplicationPool]'
          delay: 1h
          filter:
            evaltype: AND
            conditions:
              -
                macro: '{#APPPOOL}'
                value: '{$IIS.APPPOOL.NOT_MATCHES}'
                operator: NOT_MATCHES_REGEX
                formulaid: A
              -
                macro: '{#APPPOOL}'
                value: '{$IIS.APPPOOL.MATCHES}'
                formulaid: B
          item_prototypes:
            -
              uuid: 82c0636b84d84863a2051d6b708d841b
              name: 'IIS: AppPool {#APPPOOL} state'
              type: ZABBIX_ACTIVE
              key: 'perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"]'
              history: 7d
              description: 'The state of the application pool.'
              valuemap:
                name: 'Application pool state'
              preprocessing:
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
              tags:
                -
                  tag: application-pool
                  value: '{#APPPOOL}'
                -
                  tag: component
                  value: application
              trigger_prototypes:
                -
                  uuid: a7184495eb684293ada387292c812b0f
                  expression: 'last(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"])<>3 and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1'
                  name: 'IIS: Application pool {#APPPOOL} is not in Running state'
                  priority: HIGH
                  dependencies:
                    -
                      name: 'IIS: The World Wide Web Publishing Service (W3SVC) is not running'
                      expression: 'last(/IIS by Zabbix agent active/service.info[W3SVC])<>0'
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: f0a6fe8a4cc44582a3048f1a00442736
              name: 'IIS: {#APPPOOL} Uptime'
              type: ZABBIX_ACTIVE
              key: 'perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool Uptime"]'
              history: 7d
              value_type: FLOAT
              units: s
              description: 'The web application uptime period since the last restart.'
              tags:
                -
                  tag: application-pool
                  value: '{#APPPOOL}'
                -
                  tag: component
                  value: application
              trigger_prototypes:
                -
                  uuid: d2a9854722a44253a39c8eaab67f7677
                  expression: 'last(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool Uptime"])<10m'
                  name: 'IIS: {#APPPOOL} has been restarted'
                  event_name: 'IIS: {#APPPOOL} has been restarted (uptime < 10m)'
                  priority: INFO
                  description: 'Uptime is less than 10 minutes.'
                  manual_close: 'YES'
                  tags:
                    -
                      tag: scope
                      value: notice
            -
              uuid: e2cfc77aebab4b14bf6a690dbdd0c2b1
              name: 'IIS: AppPool {#APPPOOL} recycles'
              type: ZABBIX_ACTIVE
              key: 'perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"]'
              history: 7d
              description: 'The number of times the application pool has been recycled since Windows Process Activation Service (WAS) started.'
              preprocessing:
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
              tags:
                -
                  tag: application-pool
                  value: '{#APPPOOL}'
                -
                  tag: component
                  value: application
              trigger_prototypes:
                -
                  uuid: 27a93967a29849f3aef833db136e1b8e
                  expression: 'last(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"],#1)<>last(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"],#2) and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1'
                  name: 'IIS: Application pool {#APPPOOL} has been recycled'
                  priority: INFO
                  tags:
                    -
                      tag: scope
                      value: notice
            -
              uuid: d525c1c47ee2402d9635ae276a5e58ec
              name: 'IIS: AppPool {#APPPOOL} current queue size'
              type: ZABBIX_ACTIVE
              key: 'perf_counter_en["\HTTP Service Request Queues({#APPPOOL})\CurrentQueueSize"]'
              delay: 30s
              history: 7d
              description: 'The number of requests in the queue.'
              preprocessing:
                -
                  type: DISCARD_UNCHANGED_HEARTBEAT
                  parameters:
                    - 10m
              tags:
                -
                  tag: application-pool
                  value: '{#APPPOOL}'
                -
                  tag: component
                  value: application
              trigger_prototypes:
                -
                  uuid: 68499a4737d24ee6846aaea2a37b7b4f
                  expression: 'min(/IIS by Zabbix agent active/perf_counter_en["\HTTP Service Request Queues({#APPPOOL})\CurrentQueueSize"],{$IIS.QUEUE.MAX.TIME})>{$IIS.QUEUE.MAX.WARN}'
                  name: 'IIS: Request queue of {#APPPOOL} is too large'
                  event_name: 'IIS: Request queue of {#APPPOOL} is too large (over {$IIS.QUEUE.MAX.WARN})'
                  priority: WARNING
                  dependencies:
                    -
                      name: 'IIS: Application pool {#APPPOOL} is not in Running state'
                      expression: 'last(/IIS by Zabbix agent active/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"])<>3 and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1'
                  tags:
                    -
                      tag: scope
                      value: performance
          lld_macro_paths:
            -
              lld_macro: '{#APPPOOL}'
              path: $.Name
      tags:
        -
          tag: class
          value: application
        -
          tag: target
          value: iis
      macros:
        -
          macro: '{$IIS.APPPOOL.MATCHES}'
          value: .+
          description: 'This macro is used in application pools discovery. Can be overridden on the host or linked template level.'
        -
          macro: '{$IIS.APPPOOL.MONITORED}'
          value: '1'
          description: 'Monitoring status for discovered application pools. Use context to avoid trigger firing for specific application pools. "1" - enabled, "0" - disabled.'
        -
          macro: '{$IIS.APPPOOL.NOT_MATCHES}'
          value: '<CHANGE_IF_NEEDED>'
          description: 'This macro is used in application pools discovery. Can be overridden on the host or linked template level.'
        -
          macro: '{$IIS.PORT}'
          value: '80'
          description: 'Listening port.'
        -
          macro: '{$IIS.QUEUE.MAX.TIME}'
          value: 5m
          description: 'The time during which the queue length may exceed the threshold.'
        -
          macro: '{$IIS.QUEUE.MAX.WARN}'
          description: 'Maximum application pool''s request queue length for trigger expression.'
        -
          macro: '{$IIS.SERVICE}'
          value: http
          description: 'The service (http/https/etc) for port check. See "net.tcp.service" documentation page for more information: https://www.zabbix.com/documentation/6.0/manual/config/items/itemtypes/simple_checks'
      valuemaps:
        -
          uuid: 636c6915a8154b6ea1ea5b00f015c149
          name: 'Application pool state'
          mappings:
            -
              value: '1'
              newvalue: Uninitialized
            -
              value: '2'
              newvalue: Initialized
            -
              value: '3'
              newvalue: Running
            -
              value: '4'
              newvalue: Disabling
            -
              value: '5'
              newvalue: Disabled
            -
              value: '6'
              newvalue: 'Shutdown Pending'
            -
              value: '7'
              newvalue: 'Delete Pending'
        -
          uuid: 41be60c561114627b861677603b92acb
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
        -
          uuid: 6dc834d8e50842d3a7337b0f88540b61
          name: 'Windows service state'
          mappings:
            -
              value: '0'
              newvalue: Running
            -
              value: '1'
              newvalue: Paused
            -
              value: '2'
              newvalue: 'Start pending'
            -
              value: '3'
              newvalue: 'Pause pending'
            -
              value: '4'
              newvalue: 'Continue pending'
            -
              value: '5'
              newvalue: 'Stop pending'
            -
              value: '6'
              newvalue: Stopped
            -
              value: '7'
              newvalue: Unknown
            -
              value: '255'
              newvalue: 'No such service'
  graphs:
    -
      uuid: e3b3f8f973204070a37b9eb861e2a079
      name: 'IIS: Cache hits percentage'
      type: STACKED
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service Cache\URI Cache Hits %"]'
        -
          sortorder: '1'
          drawtype: GRADIENT_LINE
          color: 2774A4
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service Cache\File Cache Hits %"]'
    -
      uuid: 2ac5f3ee169b4e79ad6f08e4dffbffeb
      name: 'IIS: Cache misses'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service Cache\URI Cache Misses"]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service Cache\File Cache Misses"]'
    -
      uuid: 4c488d9247ca49ac8b33d655ccbca2b3
      name: 'IIS: Requests rate'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Total Method Requests/Sec", 60]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Other Request Methods/Sec", 60]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Get Requests/Sec", 60]'
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Post Requests/Sec", 60]'
        -
          sortorder: '4'
          color: FC6EA3
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Put Requests/Sec", 60]'
        -
          sortorder: '5'
          color: 6C59DC
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Delete Requests/Sec", 60]'
        -
          sortorder: '6'
          color: AC8C14
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Head Requests/Sec", 60]'
        -
          sortorder: '7'
          color: 611F27
          item:
            host: 'IIS by Zabbix agent active'
            key: 'perf_counter_en["\Web Service(_Total)\Trace Requests/Sec", 60]'