[icinga-checkins] icinga.org: icinga-vagrant/master: icinga2x-graylog2: Switch graylog2-server API url back to ipaddress.

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


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

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

icinga2x-graylog2: Switch graylog2-server API url back to ipaddress.

The rest_listen_uri commit got reverted so this is needed again.

---

 icinga2x-graylog2/modules/icinga2/templates/demo.conf.erb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/icinga2x-graylog2/modules/icinga2/templates/demo.conf.erb b/icinga2x-graylog2/modules/icinga2/templates/demo.conf.erb
index 0d11f5f..463cde1 100644
--- a/icinga2x-graylog2/modules/icinga2/templates/demo.conf.erb
+++ b/icinga2x-graylog2/modules/icinga2/templates/demo.conf.erb
@@ -14,7 +14,7 @@ template Service "graylog2-service" {
   enable_notifications = true
 }
 
-const GraylogApiUrl = "http://127.0.0.1:12900"
+const GraylogApiUrl = "http://<%= @ipaddress %>:12900"
 const GraylogStreamApiUrl = "http://127.0.0.1:12900/streams/"
 const GraylogPluginDir = "/usr/lib/nagios/plugins"
 



More information about the icinga-checkins mailing list