-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add config specs * Fix typoe * Resync after rebase
- Loading branch information
1 parent
587cd69
commit 4288187
Showing
3 changed files
with
154 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
name: IIS | ||
files: | ||
- name: iis.yaml | ||
options: | ||
- template: init_config | ||
options: | ||
- template: init_config/default | ||
- template: instances | ||
options: | ||
- name: sites | ||
required: false | ||
display_priority: 1 | ||
description: | | ||
The `sites` parameter allows you to specify a list of sites you want to | ||
read metrics from. With sites specified, metrics are tagged with the | ||
site name. If you don't define any sites, the check pulls all of the | ||
sites, and tags each one with the site name. | ||
value: | ||
example: | ||
- <WEB_SITE_1> | ||
- <WEB_SITE_2> | ||
type: array | ||
compact_example: false | ||
items: | ||
type: string | ||
- name: app_pools | ||
required: false | ||
display_priority: 1 | ||
description: | | ||
The `app_pools` parameter allows you to specify a list of application pools you want to | ||
read metrics from. With application pools specified, metrics are tagged with the | ||
application pool name. If you don't define any application pools, the check pulls all of the | ||
application pools, and tags each one with the application pool name. | ||
value: | ||
example: | ||
- <APP_POOL_1> | ||
- <APP_POOL_2> | ||
type: array | ||
compact_example: false | ||
items: | ||
type: string | ||
- name: is_2008 | ||
required: false | ||
display_priority: 1 | ||
description: | | ||
Because of a typo in IIS6/7 (typically on W2K8) where perfmon reports TotalBytesTransferred as | ||
TotalBytesTransfered, you may have to enable this to grab the IIS metrics in that environment. | ||
value: | ||
example: false | ||
type: boolean | ||
- template: instances/pdh | ||
overrides: | ||
host.required: true | ||
host.display_priority: 2 | ||
username.display_priority: 2 | ||
password.display_priority: 2 | ||
host.description: | | ||
By default, this check runs against a single instance - the current | ||
machine that the Agent is running on. It checks the PDH (Performance | ||
Data Helper) performance counters for IIS on that machine. | ||
"." means the current host, any other value makes the Agent attempt to connect to a remote host. | ||
Note: Remote access requires additional permissions. | ||
additional_metrics.value.example: | ||
- ['Web Service', none, 'CGI Requests/sec', iis.httpd_request_method.cgi, gauge] | ||
- template: instances/default | ||
- template: logs | ||
example: | ||
- type: file | ||
path: C:\inetpub\logs\LogFiles\W3SVC1\u_ex* | ||
source: iis |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters