From 9f721774ba69344bfca3f5df4c2e4fa0447e6400 Mon Sep 17 00:00:00 2001 From: Johannes Grassler Date: Tue, 28 Mar 2017 15:07:25 +0200 Subject: [PATCH] Use neutral IPs/hostnames in example configuration This commit sets any configuration fields in the example notification.yaml containing IP addresses or host names to 127.0.0.1 or invalid host names in order to avoid overlap with any existing host names or IP addresses. Change-Id: I72ebe453d51cc4df0c9b762a83419305ecfcf6bf --- notification.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/notification.yaml b/notification.yaml index b76ec6f..1767ef7 100644 --- a/notification.yaml +++ b/notification.yaml @@ -1,5 +1,5 @@ kafka: - url: 192.168.10.4:9092 # or comma seperated list of multiple hosts + url: 127.0.0.1:9092 # or comma seperated list of multiple hosts group: monasca-notification alarm_topic: alarm-state-transitions notification_topic: alarm-notifications @@ -17,7 +17,7 @@ database: url: 'postgres://notification:password@127.0.0.1:5432/mon' mysql: - host: 192.168.10.4 + host: 127.0.0.1 port: 3306 user: notification passwd: password @@ -38,12 +38,12 @@ notification_types: - monasca_notification.plugins.slack_notifier:SlackNotifier email: - server: 192.168.10.4 + server: 127.0.0.1 port: 25 user: password: timeout: 60 - from_addr: hpcs.mon@hp.com + from_addr: monasca-notification@none.invalid webhook: timeout: 5 @@ -56,13 +56,13 @@ notification_types: timeout: 5 ca_certs: "/etc/ssl/certs/ca-certificates.crt" insecure: False - proxy: https://myproxy.corp.com:8080 + proxy: https://myproxy.corp.invalid:8080 slack: timeout: 5 ca_certs: "/etc/ssl/certs/ca-certificates.crt" insecure: False - proxy: https://myproxy.corp.com:8080 + proxy: https://myproxy.corp.invalid:8080 processors: alarm: @@ -82,7 +82,7 @@ queues: sent_notifications_size: 50 # limiting this size reduces potential # of re-sent notifications after a failure zookeeper: - url: 192.168.10.4:2181 # or comma seperated list of multiple hosts + url: 127.0.0.1:2181 # or comma seperated list of multiple hosts notification_path: /notification/alarms notification_retry_path: /notification/retry periodic_path: