paulbsd-salt/states/sensu/defaults.yaml

28 lines
1007 B
YAML
Raw Normal View History

2020-07-10 00:58:55 +02:00
---
sensu:
fetch_url: https://paulbsd-pub.s3.fr-par.scw.cloud/sensu-agent
backend:
enabled: false
config:
url: https://sensu.paulbsd.com
user: "admin"
password: "P@ssw0rd!"
agent:
enabled: false
config:
backend-url: []
name: {{ salt['grains.get']('fqdn') }}
subscriptions:
- {{ salt['grains.get']('type') }}
- {{ salt['grains.get']('country') }}
- {{ salt['grains.get']('location') }}
- {% filter lower %}{{ salt['grains.get']('os') }}{% endfilter %}
user: "admin"
password: "P@ssw0rd!"
labels:
arch: {% filter lower %}{{ salt['grains.get']('osarch') }}{% endfilter %}
check_load_warning: "3,2,1"
check_load_critical: "5,3,2"
goarch: {% filter lower %}{{ salt['grains.get']('osarch') }}{% endfilter %}
goos: {% filter lower %}{{ salt['grains.get']('kernel') }}{% endfilter %}
kernel: {% filter lower %}{{ salt['grains.get']('kernel') }}{% endfilter %}