You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
826 lines
36 KiB
826 lines
36 KiB
zabbix_export:
|
|
version: '7.0'
|
|
template_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
|
|
|
|
Generated by official Zabbix template tool "Templator" 2.0.0
|
|
vendor:
|
|
name: Zabbix
|
|
version: 7.0-0
|
|
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.info[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: 'The service uptime expressed 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.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: cac6bbb13ce84772a976275da0805179
|
|
expression: 'last(/IIS by Zabbix agent/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/service.info[WAS])<>0'
|
|
tags:
|
|
- tag: scope
|
|
value: availability
|
|
- uuid: 38858eb3cc2f4580a0a3c56c11fdeba5
|
|
name: 'IIS: Windows Process Activation Service (WAS) state'
|
|
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: 98fc8e403ac0405e84bf533336c4102c
|
|
expression: 'last(/IIS by Zabbix agent/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: 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.info[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/7.0/manual/config/items/itemtypes/simple_checks'
|
|
dashboards:
|
|
- uuid: 4851a7b0882642e193e73f4ffc3286d5
|
|
name: 'IIS Overview'
|
|
pages:
|
|
- widgets:
|
|
- type: graph
|
|
width: '12'
|
|
height: '5'
|
|
fields:
|
|
- type: GRAPH
|
|
name: graphid
|
|
value:
|
|
host: 'IIS by Zabbix agent'
|
|
name: 'IIS: Requests rate'
|
|
- type: graph
|
|
x: '12'
|
|
width: '12'
|
|
height: '5'
|
|
fields:
|
|
- type: GRAPH
|
|
name: graphid
|
|
value:
|
|
host: 'IIS by Zabbix agent'
|
|
name: 'IIS: Cache hits percentage'
|
|
- type: graph
|
|
'y': '5'
|
|
width: '24'
|
|
height: '5'
|
|
fields:
|
|
- type: GRAPH
|
|
name: graphid
|
|
value:
|
|
host: 'IIS by Zabbix agent'
|
|
name: 'IIS: Cache misses'
|
|
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: 199C0D
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service Cache\URI Cache Hits %"]'
|
|
- sortorder: '1'
|
|
drawtype: GRADIENT_LINE
|
|
color: F63100
|
|
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: 199C0D
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service Cache\URI Cache Misses"]'
|
|
- sortorder: '1'
|
|
color: F63100
|
|
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: 199C0D
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service(_Total)\Total Method Requests/Sec", 60]'
|
|
- sortorder: '1'
|
|
color: F63100
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service(_Total)\Other Request Methods/Sec", 60]'
|
|
- sortorder: '2'
|
|
color: 00611C
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service(_Total)\Get Requests/Sec", 60]'
|
|
- sortorder: '3'
|
|
color: F7941D
|
|
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: C7A72D
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service(_Total)\Head Requests/Sec", 60]'
|
|
- sortorder: '7'
|
|
color: BA2A5D
|
|
item:
|
|
host: 'IIS by Zabbix agent'
|
|
key: 'perf_counter_en["\Web Service(_Total)\Trace Requests/Sec", 60]'
|