mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Add support for Sensu Go notification channel Similar to current support for the older "Core" version of Sensu, this commit add support for the newer version. Closes #19908 Signed-off-by: Todd Campbell <todd@sensu.io> * fix linter errors Signed-off-by: Todd Campbell <todd@sensu.io> * Apply suggestions from code review PR review suggestions Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> * Fix no new variables error * Replace convey testing with testify Signed-off-by: Todd Campbell <todd@sensu.io> * Wording suggestions Signed-off-by: Todd Campbell <todd@sensu.io> * Add docker compose environment for testing/maintenance Signed-off-by: Todd Campbell <todd@sensu.io> * Renamed and fixed docker-compose.yaml to work in devenv Signed-off-by: Todd Campbell <todd@sensu.io> * Change sensugo web UI port to 3080 so as not to conflict with grafana Signed-off-by: Todd Campbell <todd@sensu.io> * Apply suggestions from code review Set the API key as a secure value. Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com> * Add Sensu Go information to notifications doc Signed-off-by: Todd Campbell <todd@sensu.io> * Update pkg/services/alerting/notifiers/sensugo.go Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com> * change assert to require for Error/NoError tests Signed-off-by: Todd Campbell <todd@sensu.io> Co-authored-by: Arve Knudsen <arve.knudsen@gmail.com> Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com>
64 lines
1.7 KiB
YAML
64 lines
1.7 KiB
YAML
---
|
|
# Sensu backend configuration
|
|
|
|
##
|
|
# backend configuration
|
|
##
|
|
state-dir: "/var/lib/sensu/sensu-backend"
|
|
#cache-dir: "/var/cache/sensu/sensu-backend"
|
|
#config-file: "/etc/sensu/backend.yml"
|
|
#debug: false
|
|
#deregistration-handler: "example_handler"
|
|
#log-level: "warn" # available log levels: panic, fatal, error, warn, info, debug
|
|
|
|
##
|
|
# agent configuration
|
|
##
|
|
#agent-host: "[::]" # listen on all IPv4 and IPv6 addresses
|
|
#agent-port: 8081
|
|
|
|
##
|
|
# api configuration
|
|
##
|
|
#api-listen-address: "[::]:8080" # listen on all IPv4 and IPv6 addresses
|
|
#api-url: "http://localhost:8080"
|
|
|
|
##
|
|
# dashboard configuration
|
|
##
|
|
#dashboard-cert-file: "/path/to/ssl/cert.pem"
|
|
#dashboard-key-file: "/path/to/ssl/key.pem"
|
|
#dashboard-host: "[::]" # listen on all IPv4 and IPv6 addresses
|
|
#dashboard-port: 3000
|
|
|
|
##
|
|
# 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
|
|
##
|
|
#etcd-advertise-client-urls: "http://localhost:2379"
|
|
#etcd-cert-file: "/path/to/ssl/cert.pem"
|
|
#etcd-client-cert-auth: false
|
|
#etcd-initial-advertise-peer-urls: "http://127.0.0.1:2380"
|
|
#etcd-initial-cluster: "default=http://127.0.0.1:2380"
|
|
#etcd-initial-cluster-state: "new" # new or existing
|
|
#etcd-initial-cluster-token: "sensu"
|
|
#etcd-key-file: "/path/to/ssl/key.pem"
|
|
#etcd-listen-client-urls: "http://127.0.0.1:2379"
|
|
#etcd-listen-peer-urls: "http://127.0.0.1:2380"
|
|
#etcd-name: "default"
|
|
#etcd-peer-cert-file: "/path/to/ssl/cert.pem"
|
|
#etcd-peer-client-cert-auth: false
|
|
#etcd-peer-key-file: "/path/to/ssl/key.pem"
|
|
#etcd-peer-trusted-ca-file: "/path/to/ssl/key.pem"
|
|
#etcd-trusted-ca-file: "/path/to/ssl/key.pem"
|
|
#no-embed-etcd: false
|
|
#etcd-cipher-suits
|
|
# - TLS_EXAMPLE
|