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

webmaster at creativecommons.org webmaster at creativecommons.org
Thu Dec 4 11:44:34 EST 2008


Author: nkinkade
Date: 2008-12-04 16:44:33 +0000 (Thu, 04 Dec 2008)
New Revision: 11368

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

Modified: nagios/conf.d/a7_services.cfg
===================================================================
--- nagios/conf.d/a7_services.cfg	2008-12-03 20:08:04 UTC (rev 11367)
+++ nagios/conf.d/a7_services.cfg	2008-12-04 16:44:33 UTC (rev 11368)
@@ -13,7 +13,7 @@
 define service {
     host_name                       a7
     service_description             Web Services a7
-    check_command                   check_http!a7.creativecommons.org!/apache2-default/!200 OK
+    check_command                   check_http!a7.creativecommons.org!/apache2-default/!200 OK!a7.creativecommons.org
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -25,7 +25,7 @@
 define service {
     host_name                       a7
     service_description             code.creativecommons.org/viewsvn/
-    check_command                   check_http!code.creativecommons.org!/viewsvn/!200 OK
+    check_command                   check_http!code.creativecommons.org!/viewsvn/!200 OK![svnroot] Index of /
     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                       a7
     service_description             code.creativecommons.org/viewgit/
-    check_command                   check_http!code.creativecommons.org!/viewgit/!200 OK
+    check_command                   check_http!code.creativecommons.org!/viewgit/!200 OK!code.creativecommons.org Git
     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                       a7
     service_description             forum.creativecommons.org
-    check_command                   check_http!forum.creativecommons.org!/!200 OK
+    check_command                   check_http!forum.creativecommons.org!/!200 OK!Creative Commons - Forums
     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                       a7
     service_description             labs.creativecommons.org
-    check_command                   check_http!labs.creativecommons.org!/!200 OK
+    check_command                   check_http!labs.creativecommons.org!/!200 OK!Creative Commons
     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                       a7
     service_description             labs.creativecommons.org/apps/scrape
-    check_command                   check_http!labs.creativecommons.org!/apps/scrape?url=http://creativecommons.org/!200 OK
+    check_command                   check_http!labs.creativecommons.org!/apps/scrape?url=http://creativecommons.org/!200 OK!morePermissionsAgent
     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                       a7
     service_description             labs.creativecommons.org/license/zero/
-    check_command                   check_http!labs.creativecommons.org!/license/zero/!200 OK
+    check_command                   check_http!labs.creativecommons.org!/license/zero/!200 OK!CC0
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -97,19 +97,31 @@
 define service {
     host_name                       a7
     service_description             rdfa.info
-    check_command                   check_http!rdfa.info!/wiki/RDFa_Wiki!200 OK
+    check_command                   check_http!rdfa.info!/!200 OK!RDFa
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
 }
 
 #
+# rdfa.info/wiki
+#
+define service {
+    host_name                       a7
+    service_description             rdfa.info/wiki
+    check_command                   check_http!rdfa.info!/wiki/RDFa_Wiki!200 OK!RDFa Wiki - RDFaWiki
+    use                             generic-service
+    notification_interval           15 ; set > 0 if you want to be renotified
+    contact_groups                  admins
+}
+
+#
 # staging.creativecommons.org
 #
 define service {
     host_name                       a7
     service_description             staging.creativecommons.org
-    check_command                   check_http!staging.creativecommons.org!/!200 OK
+    check_command                   check_http!staging.creativecommons.org!/!200 OK!Creative Commons
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -121,7 +133,7 @@
 define service {
     host_name                       a7
     service_description             staging.creativecommons.org/apps/triples
-    check_command                   check_http!staging.creativecommons.org!/apps/triples?url=http://creativecommons.org/!200 OK
+    check_command                   check_http!staging.creativecommons.org!/apps/triples?url=http://creativecommons.org/!200 OK!subjects
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -133,7 +145,7 @@
 define service {
     host_name                       a7
     service_description             staging.creativecommons.org/license/
-    check_command                   check_http!staging.creativecommons.org!/license/!200 OK
+    check_command                   check_http!staging.creativecommons.org!/license/!200 OK!Choose a License
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -145,7 +157,7 @@
 define service {
     host_name                       a7
     service_description             teamspace.creativecommons.org
-    check_command                   check_http!teamspace.creativecommons.org!/!302 Found
+    check_command                   check_http!teamspace.creativecommons.org!/!302 Found!Log in / create account - Teamspace
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -157,7 +169,7 @@
 define service {
     host_name                       a7
     service_description             translate.creativecommons.org
-    check_command                   check_http!translate.creativecommons.org!/!200 OK
+    check_command                   check_http!translate.creativecommons.org!/!200 OK!CC Pootle
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -169,7 +181,7 @@
 define service {
     host_name                       a7
     service_description             wiki.creativecommons.org
-    check_command                   check_http!wiki.creativecommons.org!/Main_Page!200 OK
+    check_command                   check_http!wiki.creativecommons.org!/Main_Page!200 OK!Main Page - CC Wiki
     use                             generic-service
     notification_interval           15 ; set > 0 if you want to be renotified
     contact_groups                  admins
@@ -181,7 +193,7 @@
 ##### ---------------------------------------------------------- #####
 
 define serviceescalation {
-	host_name                       a7
+    host_name                       a7
     service_description             Web Services a7, \
                                     code.creativecommons.org/viewsvn/, \
                                     code.creativecommons.org/viewgit/, \
@@ -192,10 +204,10 @@
                                     teamspace.creativecommons.org, \
                                     translate.creativecommons.org, \
                                     wiki.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
 }
 
 
@@ -207,7 +219,7 @@
     host_name                       a7
     service_description             Web Services a7
     dependent_host_name             a7
-    dependent_service_description	code.creativecommons.org/viewsvn/, \
+    dependent_service_description   code.creativecommons.org/viewsvn/, \
                                     code.creativecommons.org/viewgit/, \
                                     forum.creativecommons.org, \
                                     labs.creativecommons.org, \
@@ -221,5 +233,5 @@
                                     translate.creativecommons.org, \
                                     wiki.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