-
Notifications
You must be signed in to change notification settings - Fork 175
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example configurations for staging backend and agents (#1686)
Add example configurations for staging backend and agents Signed-off-by: Nikki Attea <[email protected]>
- Loading branch information
Nikki Attea
authored
Jun 18, 2018
1 parent
17a83c5
commit f059bcd
Showing
5 changed files
with
210 additions
and
0 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
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,53 @@ | ||
--- | ||
## | ||
# agent configuration | ||
## | ||
id: "staging-agent-0" | ||
#organization: "default" | ||
#environment: "default" | ||
subscriptions: "metrics,misc" | ||
# UPDATE BACKEND URL | ||
#backend-url: | ||
# - "ws://127.0.0.1:8081" | ||
|
||
## | ||
# authentication configuration | ||
## | ||
#user: "agent" | ||
#password: "P@ssw0rd!" | ||
|
||
## | ||
# api configuration | ||
## | ||
#api-host: "127.0.0.1" | ||
#api-port: 3031 | ||
#disable-api: false | ||
|
||
## | ||
# socket configuration | ||
## | ||
#disable-sockets: false | ||
#socket-host: "127.0.0.1" | ||
#socket-port: 3030 | ||
|
||
## | ||
# statsd configuration | ||
## | ||
#statsd-disable: false | ||
#statsd-event-handlers: "" | ||
#statsd-flush-interval: 10 | ||
#statsd-metrics-host: "127.0.0.1" | ||
#statsd-metrics-port: 8125 | ||
|
||
## | ||
# other | ||
## | ||
#cache-dir: "/var/cache/sensu/sensu-agent" | ||
#config-file: "" | ||
#deregister: false | ||
#deregistration-handler: "" | ||
#keepalive-timeout: 120 | ||
#keepalive-interval: 20 | ||
#custom-attributes: "" | ||
log-level: "debug" | ||
#redact: "" |
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,53 @@ | ||
--- | ||
## | ||
# agent configuration | ||
## | ||
id: "staging-agent-1" | ||
#organization: "default" | ||
#environment: "default" | ||
subscriptions: "schedules,rbac" | ||
# UPDATE BACKEND URL | ||
#backend-url: | ||
# - "ws://127.0.0.1:8081" | ||
|
||
## | ||
# authentication configuration | ||
## | ||
#user: "agent" | ||
#password: "P@ssw0rd!" | ||
|
||
## | ||
# api configuration | ||
## | ||
#api-host: "127.0.0.1" | ||
#api-port: 3031 | ||
#disable-api: false | ||
|
||
## | ||
# socket configuration | ||
## | ||
#disable-sockets: false | ||
#socket-host: "127.0.0.1" | ||
#socket-port: 3030 | ||
|
||
## | ||
# statsd configuration | ||
## | ||
#statsd-disable: false | ||
#statsd-event-handlers: "" | ||
#statsd-flush-interval: 10 | ||
#statsd-metrics-host: "127.0.0.1" | ||
#statsd-metrics-port: 8125 | ||
|
||
## | ||
# other | ||
## | ||
#cache-dir: "/var/cache/sensu/sensu-agent" | ||
#config-file: "" | ||
#deregister: false | ||
#deregistration-handler: "" | ||
#keepalive-timeout: 120 | ||
#keepalive-interval: 20 | ||
#custom-attributes: "" | ||
log-level: "debug" | ||
#redact: "" |
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,53 @@ | ||
--- | ||
## | ||
# agent configuration | ||
## | ||
id: "staging-agent-2" | ||
organization: "ops" | ||
environment: "dev" | ||
subscriptions: "rbac" | ||
# UPDATE BACKEND URL | ||
#backend-url: | ||
# - "ws://127.0.0.1:8081" | ||
|
||
## | ||
# authentication configuration | ||
## | ||
#user: "agent" | ||
#password: "P@ssw0rd!" | ||
|
||
## | ||
# api configuration | ||
## | ||
#api-host: "127.0.0.1" | ||
#api-port: 3031 | ||
#disable-api: false | ||
|
||
## | ||
# socket configuration | ||
## | ||
#disable-sockets: false | ||
#socket-host: "127.0.0.1" | ||
#socket-port: 3030 | ||
|
||
## | ||
# statsd configuration | ||
## | ||
#statsd-disable: false | ||
#statsd-event-handlers: "" | ||
#statsd-flush-interval: 10 | ||
#statsd-metrics-host: "127.0.0.1" | ||
#statsd-metrics-port: 8125 | ||
|
||
## | ||
# other | ||
## | ||
#cache-dir: "/var/cache/sensu/sensu-agent" | ||
#config-file: "" | ||
#deregister: true | ||
#deregistration-handler: "" | ||
#keepalive-timeout: 120 | ||
#keepalive-interval: 20 | ||
custom-attributes: "{\"ec2_access_key\": \"P@ssw0rd\",\"secret\": \"P@ssw0rd\"}" | ||
log-level: "debug" | ||
redact: "ec2_access_key" |
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,50 @@ | ||
--- | ||
## | ||
# general configuration | ||
## | ||
state-dir: "/var/lib/sensu" | ||
|
||
## | ||
# agent configuration | ||
## | ||
#agent-host: "[::]" # listen on all IPv4 and IPv6 addresses | ||
#agent-port: 8081 | ||
|
||
## | ||
# api configuration | ||
## | ||
#api-host: "[::]" # listen on all IPv4 and IPv6 addresses | ||
#api-port: 8080 | ||
|
||
## | ||
# ssl configuration | ||
## | ||
#cert-file: "/path/to/ssl/cert.pem" | ||
#key-file: "/path/to/ssl/key.pem" | ||
#trusted-ca-file: "/path/to/trusted-certificate-authorities.pem" | ||
#insecure-skip-tls-verify: false | ||
|
||
## | ||
# store configuration | ||
## | ||
#listen-client-urls: "" | ||
#listen-peer-urls: "" | ||
#initial-cluster: "" | ||
#initial-advertise-peer-urls: "" | ||
#initial-cluster-state: "" | ||
#initial-cluster-token: "" | ||
#name: "" | ||
|
||
## | ||
# dashboard configuration | ||
## | ||
#dashboard-host: "[::]" # listen on all IPv4 and IPv6 addresses | ||
#dashboard-port: 3000 | ||
|
||
## | ||
# other | ||
## | ||
#config-file: "" | ||
#debug: false | ||
#deregistration-handler: "" | ||
log-level: "debug" |