Skip to content

Instantly share code, notes, and snippets.

@asachs01
Created February 18, 2019 20:00
Show Gist options
  • Save asachs01/f7dbbef6e405317851aa7918c6be0658 to your computer and use it in GitHub Desktop.
Save asachs01/f7dbbef6e405317851aa7918c6be0658 to your computer and use it in GitHub Desktop.
Http proxy check for Sensu Go
---
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