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

template_app_iis_agent.yaml « iis_agent « app « templates - github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec66f87e7fa02b0efd7f256c100e06855a40f80d (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
zabbix_export:
  version: '6.2'
  date: '2022-04-06T19:54:41Z'
  groups:
    -
      uuid: a571c0d144b14fd4a87a9d9b2aa9fcd6
      name: Templates/Applications
  templates:
    -
      uuid: c7c7e5dc319b4801982e719beb1c5191
      template: 'IIS by Zabbix agent'
      name: 'IIS by Zabbix agent'
      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: 96f2dd86997d4e259875b2fa9b1a3169
          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: da7d9c749f884c179a105b0c9475e6bd
              expression: 'last(/IIS by Zabbix agent/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/service_state[W3SVC])<>0'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 50d8f5a08bbc494b8525f26eedbee781
          name: 'IIS: Anonymous users per second'
          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: ac80660edbb74c1fb4739368806900d5
          name: 'IIS: Bytes Received per second'
          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: 5a0648316a164446bbf605930469d4c4
          name: 'IIS: Bytes Sent per second'
          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: f086d17b51254e16bd43b57b39dc000e
          name: 'IIS: Bytes Total per second'
          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: b94dc0df81234c7d97197fe30875d5e9
          name: 'IIS: Method CGI requests per second'
          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: 1e8244ebb5524c72af1d506df7bb2982
          name: 'IIS: Connection attempts per second'
          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: 2b4cb17b486643eda9a560b43af70d74
          name: 'IIS: Method COPY requests per second'
          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: 1baed2823f1a4d2ca618cac5ab8bbcbb
          name: 'IIS: Current connections'
          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: 350a6c7fac354570bbba04aa2fd6c98a
          name: 'IIS: Method DELETE requests per second'
          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: 6ae641f632ae4422a6f71898078dc2ee
          name: 'IIS: Method GET requests per second'
          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: 5e37ff2d4d1b4bf6bad855a3d09ec6c7
          name: 'IIS: Method HEAD requests per second'
          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: 18217a40ddbc421fb2db1b19d1fb7d59
          name: 'IIS: Method ISAPI requests per second'
          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: b7634ae2a9d5454bbac631b55e896277
          name: 'IIS: Locked errors per second'
          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: 069548a7c9e840bb8975f9b02b582c51
          name: 'IIS: Method LOCK requests per second'
          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: 02c1fe0d15d94744959e4b53b21309fe
          name: 'IIS: Method MKCOL requests per second'
          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: 6395e8edb1394396bd7602f621cf4b00
          name: 'IIS: Method MOVE requests per second'
          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: d67523ef47464f8c9735d0a0359b5c77
          name: 'IIS: NonAnonymous users per second'
          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: 11d9995d25114e4fad666a1b75734c01
          name: 'IIS: Not Found errors per second'
          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: 22ececa2db2d488587b1194883723ea6
          name: 'IIS: Method OPTIONS requests per second'
          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: 1653ca4c0c6743f39d9b1e764022da7c
          name: 'IIS: Method Total Other requests per second'
          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: 5f1210173665453e84f8f330a8c15eea
          name: 'IIS: Method POST requests per second'
          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: f197e93e03d04025bc855d4d77c35010
          name: 'IIS: Method PROPFIND requests per second'
          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: 55c71bab45b04a2ca2afb526bf7c3e7f
          name: 'IIS: Method PROPPATCH requests per second'
          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: d1d19cf6c920465184aa2b2a8b4439c9
          name: 'IIS: Method PUT requests per second'
          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: 20ae8a67912045dc9b69c83d68e5e8ea
          name: 'IIS: Method MS-SEARCH requests per second'
          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: 4aa9419482eb484a8fc1773bee8b2993
          name: 'IIS: Uptime'
          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: 7bbf8a836c66422abd4469d28afbcc00
              expression: 'last(/IIS by Zabbix agent/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: 805f7dca2ac74f5bbfb81c5e7bfa6e09
          name: 'IIS: Total connection attempts'
          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: 90eb19d7d37f439da2c78c44d85784ef
          name: 'IIS: Method Total requests per second'
          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: c2ddd72243ba4a499a7a1e9ba6e4046c
          name: 'IIS: Method TRACE requests per second'
          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: 05a19416695b436daf701d9750b015a8
          name: 'IIS: Method TRACE requests per second'
          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: 1e4b39ec2cca49fb9fb5a306c2724568
          name: 'IIS: Files cache hits percentage'
          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: d9c46d370afc496ba0a0ad0c141b4490
          name: 'IIS: File cache misses'
          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: 566f0bea097e4b0bb7042e4f0302ff26
          name: 'IIS: URIs cache hits percentage'
          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: ab1884be28b54ea7bb187bbe843bb6a7
          name: 'IIS: URI cache misses'
          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: 7d76ec3d35f6446c842595c4831fabf4
          name: 'IIS: World Wide Web Publishing Service (W3SVC) state'
          key: 'service_state[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: cac6bbb13ce84772a976275da0805179
              expression: 'last(/IIS by Zabbix agent/service_state[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 running state. IIS cannot start.'
              dependencies:
                -
                  name: 'IIS: Windows process Activation Service (WAS) is not the running'
                  expression: 'last(/IIS by Zabbix agent/service_state[WAS])<>0'
              tags:
                -
                  tag: scope
                  value: availability
        -
          uuid: 38858eb3cc2f4580a0a3c56c11fdeba5
          name: 'IIS: Windows Process Activation Service (WAS) state'
          key: 'service_state[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: 98fc8e403ac0405e84bf533336c4102c
              expression: 'last(/IIS by Zabbix agent/service_state[WAS])<>0'
              name: 'IIS: Windows process Activation Service (WAS) is not the 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: 6148952d54d54982af404c6c845ccbf2
          name: 'Application pools discovery'
          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: 270068fe6e6844ae9bbf993509eda7e0
              name: 'IIS: AppPool {#APPPOOL} state'
              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: 56c6df39f3d1419ca4ce67c70f464ab7
                  expression: 'last(/IIS by Zabbix agent/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/service_state[W3SVC])<>0'
                  tags:
                    -
                      tag: scope
                      value: availability
            -
              uuid: f039a53351d54132ab9ad046282389d8
              name: 'IIS: {#APPPOOL} Uptime'
              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: 53afe8614ac542feaed1d656152bafd2
                  expression: 'last(/IIS by Zabbix agent/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: 4700b5729ca440869de976ae347598cf
              name: 'IIS: AppPool {#APPPOOL} recycles'
              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: 665d5fbd0b9247e890a9cfa1b39fa415
                  expression: 'last(/IIS by Zabbix agent/perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"],#1)<>last(/IIS by Zabbix agent/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: 193642cad7214206a00db4f710bfbef8
              name: 'IIS: AppPool {#APPPOOL} current queue size'
              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: 8cebd49164154999903dab2c03fd4be9
                  expression: 'min(/IIS by Zabbix agent/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/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: 63d1ad6b4cf643da870b14c53da6c52f
          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: 5f3f78a3470c48b69442d942f21d11d0
          name: 'Service state'
          mappings:
            -
              value: '0'
              newvalue: Down
            -
              value: '1'
              newvalue: Up
        -
          uuid: d65f1af3c1e24a338983c52c5aa07d27
          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: 3a0454724c9a444cbeb3ad0da2a3a560
      name: 'IIS: Cache hits percentage'
      type: STACKED
      graph_items:
        -
          drawtype: GRADIENT_LINE
          color: 1A7C11
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service Cache\URI Cache Hits %"]'
        -
          sortorder: '1'
          drawtype: GRADIENT_LINE
          color: 2774A4
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service Cache\File Cache Hits %"]'
    -
      uuid: 4a0a6a0b83f34a88aa753206227304da
      name: 'IIS: Cache misses'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service Cache\URI Cache Misses"]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service Cache\File Cache Misses"]'
    -
      uuid: 16cfe68447114012bd93fef6dac80be9
      name: 'IIS: Requests rate'
      graph_items:
        -
          color: 1A7C11
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Total Method Requests/Sec", 60]'
        -
          sortorder: '1'
          color: 2774A4
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Other Request Methods/Sec", 60]'
        -
          sortorder: '2'
          color: F63100
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Get Requests/Sec", 60]'
        -
          sortorder: '3'
          color: A54F10
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Post Requests/Sec", 60]'
        -
          sortorder: '4'
          color: FC6EA3
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Put Requests/Sec", 60]'
        -
          sortorder: '5'
          color: 6C59DC
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Delete Requests/Sec", 60]'
        -
          sortorder: '6'
          color: AC8C14
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Head Requests/Sec", 60]'
        -
          sortorder: '7'
          color: 611F27
          item:
            host: 'IIS by Zabbix agent'
            key: 'perf_counter_en["\Web Service(_Total)\Trace Requests/Sec", 60]'