Created
February 1, 2019 15:43
-
-
Save Jazun713/ba8703411cd9419c312f568c92a4fdf5 to your computer and use it in GitHub Desktop.
Sensu-Go backend.yml with TLS config
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
--- | |
## | |
# 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 | |
api-url: "https://0.0.0.0:8080" | |
## | |
# ssl configuration | |
## | |
cert-file: "/path/to/config/pki/cert_file.pem" | |
key-file: "/path/to/config/pki/key_file.pem" | |
trusted-ca-file: "/path/to/config/pki/ca_file.pem" | |
insecure-skip-tls-verify: false | |
etcd-cert-file: "/path/to/config/pki/cert_file.pem" | |
etcd-key-file: "/path/to/config/pki/key_file.pem" | |
etcd-trusted-ca-file: "/path/to/config/pki/ca_file.pem" | |
etcd-peer-cert-file: "/path/to/config/pki/cert_file.pem" | |
etcd-peer-key-file: "/path/to/config/pki/key_file.pem" | |
etcd-peer-trusted-ca-file: "/path/to/config/pki/ca_file.pem" | |
etcd-peer-client-cert-auth: true | |
etcd-advertise-client-urls: "https://10.0.0.152:2379" | |
etcd-listen-client-urls: "https://10.0.0.152:2379" | |
etcd-listen-peer-urls: "https://0.0.0.0:2380" | |
etcd-initial-cluster: "sensu00=https://10.0.0.151:2380,sensu01=https://10.0.0.152:2380" | |
etcd-initial-advertise-peer-urls: "https://10.0.0.152:2380" | |
etcd-initial-cluster-state: "new" | |
etcd-initial-cluster-token: "sensu" | |
etcd-name: sensu01 | |
# dashboard configuration | |
## | |
dashboard-host: "[::]" # listen on all IPv4 and IPv6 addresses | |
dashboard-port: 3000 | |
## | |
# other | |
## | |
#cache-dir: "/var/cache/sensu/sensu-backend" | |
#config-file: "" | |
#debug: false | |
#deregistration-handler: "" | |
#log-level: "warn" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment