mark: A photo of Mark kneeling on top of the Taal Volcano in the Philippines. It was a long hike. (Default)
Mark Smith ([staff profile] mark) wrote in [site community profile] changelog2009-05-09 10:08 pm

[dw-ops] Add monitoring of the SSL version of /create.

[commit: http://hg.dwscoalition.org/dw-ops/rev/235d8f5c5544]

Add monitoring of the SSL version of /create.

Patch by [staff profile] mark.

Files modified:
  • nagios/conf.d/config/commands.cfg
  • nagios/conf.d/services/lb.cfg
--------------------------------------------------------------------------------
diff -r c5ed4f8dce42 -r 235d8f5c5544 nagios/conf.d/config/commands.cfg
--- a/nagios/conf.d/config/commands.cfg	Fri May 08 04:57:30 2009 +0000
+++ b/nagios/conf.d/config/commands.cfg	Sat May 09 22:08:38 2009 +0000
@@ -61,3 +61,10 @@ define command {
     command_name  dw_check_mogilefsd
     command_line  $USER1$/check_tcp -H $HOSTADDRESS$ -p 7001
 }
+
+
+# determine if our SSL is up
+define command {
+    command_name  dw_check_ssl_create
+    command_line  $USER1$/check_http -H www.dreamwidth.org -I $HOSTADDRESS$ -u /create -S -f critical
+}
diff -r c5ed4f8dce42 -r 235d8f5c5544 nagios/conf.d/services/lb.cfg
--- a/nagios/conf.d/services/lb.cfg	Fri May 08 04:57:30 2009 +0000
+++ b/nagios/conf.d/services/lb.cfg	Sat May 09 22:08:38 2009 +0000
@@ -21,3 +21,12 @@ define service {
     check_command                   check_http
     use                             generic-service
 }
+
+
+# make sure we can get to the SSL page
+define service {
+    hostgroup_name                  lb
+    service_description             SSL Create Account
+    check_command                   dw_check_ssl_create
+    use                             generic-service
+}
--------------------------------------------------------------------------------