[icinga-checkins] icinga.org: icinga-vagrant/master: Revert "icinga2x-graylog2: Make API browser work by listening on all interfaces."

git at icinga.org git at icinga.org
Thu Nov 20 10:47:28 CET 2014


Module: icinga-vagrant
Branch: master
Commit: f83bbf3f63258fe4b0fb29f689165b6432fdd8ff
URL:    https://git.icinga.org/?p=icinga-vagrant.git;a=commit;h=f83bbf3f63258fe4b0fb29f689165b6432fdd8ff

Author: Bernd Ahlers <bernd at torch.sh>
Date:   Wed Nov 19 00:33:53 2014 +0100

Revert "icinga2x-graylog2: Make API browser work by listening on all interfaces."

This reverts commit 56ec83aa324061eb90dcca31137a0e5c93ee86d0.

It caused timeouts in graylog2-web in some network setups.

---

 icinga2x-graylog2/manifests/default.pp |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/icinga2x-graylog2/manifests/default.pp b/icinga2x-graylog2/manifests/default.pp
index c86a248..a3f9098 100644
--- a/icinga2x-graylog2/manifests/default.pp
+++ b/icinga2x-graylog2/manifests/default.pp
@@ -126,8 +126,8 @@ class { 'graylog2::server':
   service_enable	     => true,
   service_ensure	     => true,
   rest_enable_cors           => true,
-  rest_listen_uri            => "http://0.0.0.0:12900/",
-  rest_transport_uri         => "http://0.0.0.0:12900/",
+  rest_listen_uri            => "http://${::ipaddress}:12900/",
+  rest_transport_uri         => "http://${::ipaddress}:12900/",
   elasticsearch_discovery_zen_ping_multicast_enabled => false,
   elasticsearch_discovery_zen_ping_unicast_hosts     => '127.0.0.1:9300',
   elasticsearch_network_host => '127.0.0.1',
@@ -142,7 +142,7 @@ class { 'graylog2::server':
 } ->
 class { 'graylog2::web':
   application_secret => '8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918',
-  graylog2_server_uris => [ "http://127.0.0.1:12900/" ],
+  graylog2_server_uris => [ "http://${::ipaddress}:12900/" ],
   require            => Class['graylog2::server'],
 } ->
 # check-graylog2-stream



More information about the icinga-checkins mailing list