-
Notifications
You must be signed in to change notification settings - Fork 128
/
Template App IIS by Zabbix agent active.xml
1126 lines (1126 loc) · 56.1 KB
/
Template App IIS by Zabbix agent active.xml
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
<?xml version="1.0" encoding="UTF-8"?>
<zabbix_export>
<version>5.0</version>
<groups>
<group>
<name>Templates/Applications</name>
</group>
</groups>
<templates>
<template>
<template>Template App IIS by Zabbix agent active</template>
<name>Template App IIS by Zabbix agent active</name>
<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.35</description>
<groups>
<group>
<name>Templates/Applications</name>
</group>
</groups>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<items>
<item>
<name>IIS: {$IIS.PORT} port ping</name>
<type>SIMPLE</type>
<key>net.tcp.service[{$IIS.SERVICE},,{$IIS.PORT}]</key>
<history>7d</history>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<valuemap>
<name>Service state</name>
</valuemap>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last()}=0</expression>
<name>IIS: Port {$IIS.PORT} is down</name>
<priority>AVERAGE</priority>
<manual_close>YES</manual_close>
<dependencies>
<dependency>
<name>IIS: The World Wide Web Publishing Service (W3SVC) is not running</name>
<expression>{Template App IIS by Zabbix agent active:service_state[W3SVC].last()}<>0</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>IIS: Anonymous users per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Anonymous Users/sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The number of requests from users over an anonymous connection per second. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
</item>
<item>
<name>IIS: Bytes Received per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Bytes Received/sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>Bps</units>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
</item>
<item>
<name>IIS: Bytes Sent per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Bytes Sent/sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>Bps</units>
<description>The average rate per minute at which data bytes are sent by the service.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
</item>
<item>
<name>IIS: Bytes Total per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Bytes Total/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>Bps</units>
<description>The average rate per minute of total bytes/sec transferred by the Web service (sum of bytes sent/sec and bytes received/sec).</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
</item>
<item>
<name>IIS: Method CGI requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\CGI Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of CGI requests that are simultaneously being processed by the Web service. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Connection attempts per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Connection Attempts/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method COPY requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Copy Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests made using the COPY method. Copy requests are used for copying files and directories. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Current connections</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Current Connections"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The number of active connections.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
</item>
<item>
<name>IIS: Method DELETE requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Delete Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the DELETE method made. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method Method GET requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Get Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method HEAD requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Head Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method ISAPI requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\ISAPI Extension Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of ISAPI Extension requests that are simultaneously being processed by the Web service. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Locked errors per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Locked Errors/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method LOCK requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Lock Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method MKCOL requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Mkcol Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the MKCOL method made. Mkcol requests are used to create directories on the server. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method MOVE requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Move Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the MOVE method made. Move requests are used for moving files and directories. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: NonAnonymous users per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\NonAnonymous Users/sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The number of requests from users over a non-anonymous connection per second. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
</item>
<item>
<name>IIS: Not Found errors per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Not Found Errors/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method OPTIONS requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Options Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the OPTIONS method made. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method Total Other requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Other Request Methods/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method POST requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Post Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>Rate of HTTP requests using POST method. Generally used for forms or gateway requests. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method PROPFIND requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Propfind Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the PROPFIND method made. Propfind requests retrieve property values on files and directories. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method PROPPATCH requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Proppatch Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the PROPPATCH method made. Proppatch requests set property values on files and directories. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method PUT requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Put Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the PUT method made. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method MS-SEARCH requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Search Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Uptime</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Service Uptime"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>s</units>
<description>Service uptime in seconds.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<triggers>
<trigger>
<expression>{last()}<10m</expression>
<name>IIS: has been restarted (uptime < 10m)</name>
<priority>INFO</priority>
<description>Uptime is less than 10 minutes</description>
<manual_close>YES</manual_close>
</trigger>
</triggers>
</item>
<item>
<name>IIS: Total connection attempts</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Total Connection Attempts (all instances)"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method Total requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Total Method Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of all HTTP requests received. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method TRACE requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Trace Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the TRACE method made. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Method TRACE requests per second</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service(_Total)\Unlock Requests/Sec", 60]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The rate of HTTP requests using the UNLOCK method made. Unlock requests are used to remove locks from files. Average per minute.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: Files cache hits percentage</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service Cache\File Cache Hits %"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: File cache misses</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service Cache\File Cache Misses"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The total number of unsuccessful lookups in the user-mode file cache since service startup.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: URIs cache hits percentage</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service Cache\URI Cache Hits %"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The ratio of user-mode URI Cache Hits to total cache requests (since service startup)</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: URI cache misses</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\Web Service Cache\URI Cache Misses"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<description>The total number of unsuccessful lookups in the user-mode URI cache since service startup.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
</item>
<item>
<name>IIS: World Wide Web Publishing Service (W3SVC) state</name>
<type>ZABBIX_ACTIVE</type>
<key>service_state[W3SVC]</key>
<history>7d</history>
<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".</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<valuemap>
<name>Windows service state</name>
</valuemap>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last()}<>0</expression>
<name>IIS: The World Wide Web Publishing Service (W3SVC) is not running</name>
<priority>HIGH</priority>
<description>The World Wide Web Publishing Service (W3SVC) is not in running state. IIS cannot start.</description>
<dependencies>
<dependency>
<name>IIS: Windows process Activation Service (WAS) is not the running</name>
<expression>{Template App IIS by Zabbix agent active:service_state[WAS].last()}<>0</expression>
</dependency>
</dependencies>
</trigger>
</triggers>
</item>
<item>
<name>IIS: Windows Process Activation Service (WAS) state</name>
<type>ZABBIX_ACTIVE</type>
<key>service_state[WAS]</key>
<history>7d</history>
<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.</description>
<applications>
<application>
<name>IIS</name>
</application>
</applications>
<valuemap>
<name>Windows service state</name>
</valuemap>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
<triggers>
<trigger>
<expression>{last()}<>0</expression>
<name>IIS: Windows process Activation Service (WAS) is not the running</name>
<priority>HIGH</priority>
<description>Windows Process Activation Service (WAS) is not in the running state. IIS cannot start.</description>
</trigger>
</triggers>
</item>
</items>
<discovery_rules>
<discovery_rule>
<name>Application pools discovery</name>
<type>ZABBIX_ACTIVE</type>
<key>wmi.getall[root\webAdministration, select Name from ApplicationPool]</key>
<delay>1h</delay>
<filter>
<evaltype>AND</evaltype>
<conditions>
<condition>
<macro>{#APPPOOL}</macro>
<value>{$IIS.APPPOOL.NOT_MATCHES}</value>
<operator>NOT_MATCHES_REGEX</operator>
<formulaid>A</formulaid>
</condition>
<condition>
<macro>{#APPPOOL}</macro>
<value>{$IIS.APPPOOL.MATCHES}</value>
<formulaid>B</formulaid>
</condition>
</conditions>
</filter>
<item_prototypes>
<item_prototype>
<name>IIS: AppPool {#APPPOOL} state</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"]</key>
<history>7d</history>
<description>The state of the application pool.</description>
<application_prototypes>
<application_prototype>
<name>{#APPPOOL}</name>
</application_prototype>
</application_prototypes>
<valuemap>
<name>Application pool state</name>
</valuemap>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}<>3 and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1</expression>
<name>IIS: Application pool {#APPPOOL} is not in Running state</name>
<priority>HIGH</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>IIS: {#APPPOOL} Uptime</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool Uptime"]</key>
<history>7d</history>
<value_type>FLOAT</value_type>
<units>s</units>
<description>The web application uptime period since the last restart.</description>
<application_prototypes>
<application_prototype>
<name>{#APPPOOL}</name>
</application_prototype>
</application_prototypes>
<trigger_prototypes>
<trigger_prototype>
<expression>{last()}<10m</expression>
<name>IIS: {#APPPOOL} has been restarted (uptime < 10m)</name>
<priority>INFO</priority>
<description>Uptime is less than 10 minutes</description>
<manual_close>YES</manual_close>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>IIS: AppPool {#APPPOOL} recycles</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Total Application Pool Recycles"]</key>
<history>7d</history>
<description>The number of times the application pool has been recycled since Windows Process Activation Service (WAS) started.</description>
<application_prototypes>
<application_prototype>
<name>{#APPPOOL}</name>
</application_prototype>
</application_prototypes>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{diff()}=1 and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1</expression>
<name>IIS: Application pool {#APPPOOL} has been recycled</name>
<priority>INFO</priority>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
<item_prototype>
<name>IIS: AppPool {#APPPOOL} current queue size</name>
<type>ZABBIX_ACTIVE</type>
<key>perf_counter_en["\HTTP Service Request Queues({#APPPOOL})\CurrentQueueSize"]</key>
<delay>30s</delay>
<history>7d</history>
<description>The number of requests in the queue.</description>
<application_prototypes>
<application_prototype>
<name>{#APPPOOL}</name>
</application_prototype>
</application_prototypes>
<preprocessing>
<step>
<type>DISCARD_UNCHANGED_HEARTBEAT</type>
<params>10m</params>
</step>
</preprocessing>
<trigger_prototypes>
<trigger_prototype>
<expression>{min({$IIS.QUEUE.MAX.TIME})}>{$IIS.QUEUE.MAX.WARN}</expression>
<name>IIS: Request queue of {#APPPOOL} is too large (over {$IIS.QUEUE.MAX.WARN})</name>
<priority>WARNING</priority>
<dependencies>
<dependency>
<name>IIS: Application pool {#APPPOOL} is not in Running state</name>
<expression>{Template App IIS by Zabbix agent active:perf_counter_en["\APP_POOL_WAS({#APPPOOL})\Current Application Pool State"].last()}<>3 and {$IIS.APPPOOL.MONITORED:"{#APPPOOL}"}=1</expression>
</dependency>
</dependencies>
</trigger_prototype>
</trigger_prototypes>
</item_prototype>
</item_prototypes>
<lld_macro_paths>
<lld_macro_path>
<lld_macro>{#APPPOOL}</lld_macro>
<path>$.Name</path>
</lld_macro_path>
</lld_macro_paths>
</discovery_rule>
</discovery_rules>
<macros>
<macro>
<macro>{$IIS.APPPOOL.MATCHES}</macro>
<value>.+</value>
<description>This macro is used in application pools discovery. Can be overridden on the host or linked template level.</description>
</macro>
<macro>
<macro>{$IIS.APPPOOL.MONITORED}</macro>
<value>1</value>
<description>Monitoring status for discovered application pools. Use context to avoid trigger firing for specific application pools. "1" - enabled, "0" - disabled.</description>
</macro>
<macro>
<macro>{$IIS.APPPOOL.NOT_MATCHES}</macro>
<value><CHANGE_IF_NEEDED></value>
<description>This macro is used in application pools discovery. Can be overridden on the host or linked template level.</description>
</macro>
<macro>
<macro>{$IIS.PORT}</macro>
<value>80</value>
<description>Listening port.</description>
</macro>
<macro>
<macro>{$IIS.QUEUE.MAX.TIME}</macro>
<value>5m</value>
<description>The time during which the queue length may exceed the threshold.</description>
</macro>
<macro>
<macro>{$IIS.QUEUE.MAX.WARN}</macro>
<description>Maximum application pool's request queue length for trigger expression.</description>
</macro>
<macro>
<macro>{$IIS.SERVICE}</macro>
<value>http</value>
<description>The service (http/https/etc) for port check. See "net.tcp.service" documentation page for more information: https://www.zabbix.com/documentation/current/ru/manual/config/items/itemtypes/simple_checks</description>
</macro>
</macros>
</template>
</templates>
<graphs>
<graph>
<name>IIS: Cache hits percentage</name>
<type>STACKED</type>
<graph_items>
<graph_item>
<drawtype>GRADIENT_LINE</drawtype>
<color>1A7C11</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service Cache\URI Cache Hits %"]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<drawtype>GRADIENT_LINE</drawtype>
<color>2774A4</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service Cache\File Cache Hits %"]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>IIS: Cache misses</name>
<graph_items>
<graph_item>
<color>1A7C11</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service Cache\URI Cache Misses"]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>2774A4</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service Cache\File Cache Misses"]</key>
</item>
</graph_item>
</graph_items>
</graph>
<graph>
<name>IIS: Requests rate</name>
<graph_items>
<graph_item>
<color>1A7C11</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service(_Total)\Total Method Requests/Sec", 60]</key>
</item>
</graph_item>
<graph_item>
<sortorder>1</sortorder>
<color>2774A4</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service(_Total)\Other Request Methods/Sec", 60]</key>
</item>
</graph_item>
<graph_item>
<sortorder>2</sortorder>
<color>F63100</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service(_Total)\Get Requests/Sec", 60]</key>
</item>
</graph_item>
<graph_item>
<sortorder>3</sortorder>
<color>A54F10</color>
<item>
<host>Template App IIS by Zabbix agent active</host>
<key>perf_counter_en["\Web Service(_Total)\Post Requests/Sec", 60]</key>
</item>