[cc-commits] [CC SVN] r11373 - nagios/conf.d

webmaster at creativecommons.org webmaster at creativecommons.org
Thu Dec 4 16:45:08 EST 2008


Author: nkinkade
Date: 2008-12-04 21:45:08 +0000 (Thu, 04 Dec 2008)
New Revision: 11373

Modified:
   nagios/conf.d/a8_services.cfg
Log:
Updated a8 service checks to look for certain text in the content body.

Modified: nagios/conf.d/a8_services.cfg
===================================================================
--- nagios/conf.d/a8_services.cfg	2008-12-04 21:14:36 UTC (rev 11372)
+++ nagios/conf.d/a8_services.cfg	2008-12-04 21:45:08 UTC (rev 11373)
@@ -13,7 +13,7 @@
 define service {
     host_name                       a8
     service_description             Web Services a8
-    check_command                   check_http!a8.creativecommons.org!/apache2-default/!200 OK
+    check_command                   check_http!a8.creativecommons.org!/apache2-default/!200 OK!a8.creativecommons.org
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -24,8 +24,8 @@
 #
 define service {
     host_name                       a8
-    service_description             acawiki.creativecommons.org
-    check_command                   check_http!acawiki.creativecommons.org!/Main_Page!200 OK
+    service_description             acawiki.org
+    check_command                   check_http!acawiki.org!/Main_Page!200 OK!Home - AcaWiki
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -37,7 +37,7 @@
 define service {
     host_name                       a8
     service_description             api.creativecommons.org/rest/1.0/
-    check_command                   check_http!api.creativecommons.org!/rest/1.0/!200 OK
+    check_command                   check_http!api.creativecommons.org!/rest/1.0/!200 OK!Creative Commons Public Domain Sampling
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -49,7 +49,7 @@
 define service {
     host_name                       a8
     service_description             api.creativecommons.org/rest/1.5/
-    check_command                   check_http!api.creativecommons.org!/rest/1.5/!200 OK
+    check_command                   check_http!api.creativecommons.org!/rest/1.5/!200 OK!Creative Commons Public Domain Sampling
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -61,7 +61,7 @@
 define service {
     host_name                       a8
     service_description             api.creativecommons.org/rest/dev/
-    check_command                   check_http!api.creativecommons.org!/rest/dev/!200 OK
+    check_command                   check_http!api.creativecommons.org!/rest/dev/!200 OK!Creative Commons Public Domain Sampling
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -73,7 +73,7 @@
 define service {
     host_name                       a8
     service_description             i.creativecommons.org
-    check_command                   check_http!i.creativecommons.org!/l/by/3.0/80x15.png!200 OK
+    check_command                   check_http!i.creativecommons.org!/l/by/3.0/80x15.png!200 OK!PNG
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -85,7 +85,7 @@
 define service {
     host_name                       a8
     service_description             mirrors.creativecommons.org
-    check_command                   check_http!mirrors.creativecommons.org!/!200 OK
+    check_command                   check_http!mirrors.creativecommons.org!/!200 OK!Creative Commons Movies
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -97,7 +97,7 @@
 define service {
     host_name                       a8
     service_description             planet.creativecommons.org
-    check_command                   check_http!planet.creativecommons.org!/!200 OK
+    check_command                   check_http!planet.creativecommons.org!/!200 OK!Planet Creative Commons
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -109,7 +109,7 @@
 define service {
     host_name                       a8
     service_description             search.creativecommons.org
-    check_command                   check_http!search.creativecommons.org!/!200 OK
+    check_command                   check_http!search.creativecommons.org!/!200 OK!Creative Commons Search
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -121,7 +121,7 @@
 define service {
     host_name                       a8
     service_description             validator.creativecommons.org
-    check_command                   check_http!validator.creativecommons.org!/!200 OK
+    check_command                   check_http!validator.creativecommons.org!/!200 OK!CC RDF License Validator
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins,asheesh
@@ -133,19 +133,19 @@
 ##### ---------------------------------------------------------- #####
 
 define serviceescalation {
-	host_name                       a8
+    host_name                       a8
     service_description             Web Services a8, \
-                                    acawiki.creativecommons.org, \
+                                    acawiki.org, \
                                     api.creativecommons.org/rest/1.5/, \
                                     api.creativecommons.org/rest/dev/, \
                                     i.creativecommons.org, \
                                     mirrors.creativecommons.org, \
                                     planet.creativecommons.org, \
                                     search.creativecommons.org
-	first_notification              1
-	last_notification               1
-	escalation_options              c,r,u,w
-	contact_groups                  admins_sms
+    first_notification              1
+    last_notification               1
+    escalation_options              c,r,u,w
+    contact_groups                  admins_sms
 }
 
 
@@ -157,7 +157,7 @@
     host_name                       a8
     service_description             Web Services a8
     dependent_host_name             a8
-    dependent_service_description   acawiki.creativecommons.org, \
+    dependent_service_description   acawiki.org, \
                                     api.creativecommons.org/rest/1.0/, \
                                     api.creativecommons.org/rest/1.5/, \
                                     api.creativecommons.org/rest/dev/, \
@@ -167,5 +167,5 @@
                                     search.creativecommons.org, \
                                     validator.creativecommons.org
     execution_failure_criteria      n
-    notification_failure_criteria	w,u,c
+    notification_failure_criteria   w,u,c
 }




More information about the cc-commits mailing list