-
Notifications
You must be signed in to change notification settings - Fork 1
/
agent.yml
80 lines (72 loc) · 1.31 KB
/
agent.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
---
# Sensu agent configuration
##
# agent overview
##
name: "sensuapp"
namespace: "default"
#subscriptions:
# - example
#labels:
# example_key: "example value"
#annotations:
# example/key: "example value"
##
# agent configuration
##
backend-url:
- "ws://127.0.0.1:8081"
cache-dir: "/var/cache/sensu/sensu-agent"
config-file: "/etc/sensu/agent.yml"
disable-assets: false
log-level: "debug" # available log levels: panic, fatal, error, warn, info, debug
##
# api configuration
##
api-host: "127.0.0.1"
api-port: 3031
disable-api: false
events-burst-limit: 10
events-rate-limit: 10.0
##
# authentication configuration
##
user: "admin"
password: "password"
##
# monitoring configuration
##
deregister: false
deregistration-handler: "example_handler"
keepalive-warning-timeout: 120
keepalive-interval: 20
##
# security configuration
##
insecure-skip-tls-verify: false
redact:
- password
- passwd
- pass
- api_key
- api_token
- access_key
- secret_key
- private_key
- secret
#trusted-ca-file: "/path/to/trusted-certificate-authorities.pem"
##
# socket configuration
##
disable-sockets: false
socket-host: "127.0.0.1"
socket-port: 3030
##
# statsd configuration
##
statsd-disable: false
statsd-event-handlers:
- example_handler
statsd-flush-interval: 10
statsd-metrics-host: "127.0.0.1"
statsd-metrics-port: 8125