[icinga-checkins] icinga.org: icinga-vagrant/master: icinga2x-elastic: Fix Icinga 2 checks

git at icinga.org git at icinga.org
Mon Nov 28 20:02:45 CET 2016


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

Author: Michael Friedrich <michael.friedrich at icinga.com>
Date:   Mon Nov 28 17:37:26 2016 +0100

icinga2x-elastic: Fix Icinga 2 checks

---

 .../files/etc/icinga2/conf.d/hosts.conf            |   46 +++++++++++---------
 1 file changed, 26 insertions(+), 20 deletions(-)

diff --git a/icinga2x-elastic/files/etc/icinga2/conf.d/hosts.conf b/icinga2x-elastic/files/etc/icinga2/conf.d/hosts.conf
index c2b7588..b147ecb 100644
--- a/icinga2x-elastic/files/etc/icinga2/conf.d/hosts.conf
+++ b/icinga2x-elastic/files/etc/icinga2/conf.d/hosts.conf
@@ -32,10 +32,10 @@ object Host NodeName {
   }
 
   /* dns checks */
-  vars.dns_checks["dns icinga.org"] = {
-    dns_lookup = "icinga.org"
+  vars.dns_checks["dns icinga.com"] = {
+    dns_lookup = "icinga.com"
     dns_server = "ns1.netways.de"
-    dns_expected_answers = "185.11.254.83"
+    dns_expected_answers = "185.11.254.90"
   }
   vars.dns_checks["dns netways.org"] = {
     dns_lookup = "netways.org"
@@ -48,32 +48,28 @@ object Host NodeName {
     http_uri = "/icingaweb2"
   }
   vars.http_vhosts["http Icinga Website"] = {
-    http_address = "web.icinga.org"
-    http_vhost = "www.icinga.org"
+    http_address = "www.icinga.com"
+    http_vhost = "www.icinga.com"
   }
-  vars.http_vhosts["http Icinga Wiki"] = {
-    http_address = "web.icinga.org"
-    http_vhost = "wiki.icinga.org"
+  vars.http_vhosts["http Icinga RT"] = {
+    http_address = "rt.icinga.com"
+    http_vhost = "rt.icinga.com"
   }
   vars.http_vhosts["http Icinga Docs"] = {
-    http_address = "web.icinga.org"
-    http_vhost = "docs.icinga.org"
+    http_address = "docs.icinga.com"
+    http_vhost = "docs.icinga.com"
   }
   vars.http_vhosts["http Icinga Dev Tracker"] = {
-    http_address = "web.icinga.org"
-    http_vhost = "dev.icinga.org"
+    http_address = "dev.icinga.com"
+    http_vhost = "dev.icinga.com"
   }
   vars.http_vhosts["http Icinga Git"] = {
-    http_address = "tool.icinga.org"
-    http_vhost = "git.icinga.org"
+    http_address = "git.icinga.com"
+    http_vhost = "git.icinga.com"
   }
   vars.http_vhosts["http Icinga Exchange"] = {
-    http_address = "exchange.icinga.org"
-    http_vhost = "exchange.icinga.org"
-  }
-  vars.http_vhosts["http Icinga Demo"] = {
-    http_address = "demo.icinga.org"
-    http_vhost = "demo.icinga.org"
+    http_address = "exchange.icinga.com"
+    http_vhost = "exchange.icinga.com"
   }
   vars.http_vhosts["http Icinga GitHub"] = {
     http_address = "github.com"
@@ -86,6 +82,16 @@ object Host NodeName {
     http_uri = "/repos/icinga/"
   }
 
+  /* database checks */
+  vars.databases["icinga"] = {
+    mysql_health_warning = 4096 //MB
+    mysql_health_critical = 8192 //MB
+  }
+  vars.databases["icingaweb2"] = {
+    mysql_health_warning = 4096 //MB
+    mysql_health_critical = 8192 //MB
+  }
+
   /* random checks */
   vars.random = [ 1, 2, 3, 4, 5 ]
 



More information about the icinga-checkins mailing list