Patch by mark. 

diffs (33 lines):

diff -r 36896ddf043e -r 5b814f4971dd nagios/conf.d/config/commands.cfg
--- a/nagios/conf.d/config/commands.cfg Tue May 19 05:51:08 2009 +0000
+++ b/nagios/conf.d/config/commands.cfg Tue May 19 06:07:15 2009 +0000
@@ -63,6 +63,13 @@ define command {
 }
 
 
+# check ddlockd machine to ensure it's listening
+define command {
+    command_name  dw_check_ddlockd
+    command_line  $USER1$/check_tcp -H $HOSTADDRESS$ -p 7002
+}
+
+
 # check gearmand machine to ensure it's listening
 define command {
     command_name  dw_check_gearmand
diff -r 36896ddf043e -r 5b814f4971dd nagios/conf.d/services/jobs.cfg
--- a/nagios/conf.d/services/jobs.cfg   Tue May 19 05:51:08 2009 +0000
+++ b/nagios/conf.d/services/jobs.cfg   Tue May 19 06:07:15 2009 +0000
@@ -21,3 +21,12 @@ define service {
     check_command                   dw_check_gearmand
     use                             generic-service
 }
+
+
+# verify that ddlockd is responding to HTTP
+define service {
+    hostgroup_name                  jobs
+    service_description             ddlockd
+    check_command                   dw_check_ddlockd
+    use                             generic-service
+}
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to