Created
February 18, 2019 20:00
-
-
Save asachs01/f7dbbef6e405317851aa7918c6be0658 to your computer and use it in GitHub Desktop.
Http proxy check for Sensu Go
This file contains hidden or 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
| --- | |
| api_version: core/v2 | |
| type: CheckConfig | |
| metadata: | |
| namespace: demo | |
| name: check-http-proxy | |
| spec: | |
| runtime_assets: | |
| - check-plugins | |
| command: check-http -u {{ .labels.url }} -r true | |
| subscriptions: | |
| - proxy | |
| publish: true | |
| interval: 10 | |
| proxy_requests: | |
| entity_attributes: | |
| - entity.entity_class == 'proxy' | |
| - entity.labels.proxy_type == 'website' | |
| splay: true | |
| splay_coverage: 90 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment